File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
< h1 > Message #<%= @message . id %> </ h1 >
2
2
3
- <%= turbo_stream_from @message %>
3
+ <%= turbo_stream_from @message , style : "display: none" %>
4
4
5
5
< div id ="<%= dom_id @message %> ">
6
6
<%= render @message %>
Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ class BroadcastsTest < ApplicationSystemTestCase
123
123
private
124
124
125
125
def reconnect_cable_stream_source ( from :, to :)
126
- cable_stream_source = find ( "turbo-cable-stream-source[signed-stream-name=#{ signed_stream_name ( from ) } ]" )
126
+ cable_stream_source = find ( "turbo-cable-stream-source[signed-stream-name=#{ signed_stream_name ( from ) } ]" , visible : :all )
127
127
128
128
cable_stream_source . execute_script <<~JS , signed_stream_name ( to )
129
129
this.setAttribute("signed-stream-name", arguments[0])
You can’t perform that action at this time.
0 commit comments