File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,17 @@ class ActionCableSubscriptionsTest < ApplicationSystemTestCase
48
48
using_wait_time 30 do
49
49
# Make 3 subscriptions to the same payload
50
50
click_on ( "Subscribe with fingerprint 1" )
51
- assert_selector "#fingerprint-updates-1-connected-1"
51
+
52
+ # Sadly this fails sometimes, and I don't understand why. The other one never fails.
53
+ # Hopefully this will help debug on CI. (I can't get it to fail locally.)
54
+ begin
55
+ assert_selector "#fingerprint-updates-1-connected-1"
56
+ rescue StandardError => err
57
+ puts "#{ err . class } - #{ err . message } "
58
+ puts page . html
59
+ raise
60
+ end
61
+
52
62
click_on ( "Subscribe with fingerprint 1" )
53
63
assert_selector "#fingerprint-updates-1-connected-2"
54
64
click_on ( "Subscribe with fingerprint 1" )
You can’t perform that action at this time.
0 commit comments