Skip to content

Commit 5f2b99f

Browse files
committed
Workaround for random failing system test
1 parent 318ca27 commit 5f2b99f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/system/fieldset_test.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ class FieldsetTest < ApplicationSystemTestCase
4242

4343
# issue edit
4444
page.first(:link, 'Edit').click
45+
page.find('#issue_notes:focus')
46+
sleep 0.1
4547
within('div#update div.attributes') do
4648
assert page.has_content?('Group 1')
4749
# default expanded
@@ -89,6 +91,8 @@ class FieldsetTest < ApplicationSystemTestCase
8991

9092
# issue edit
9193
page.first(:link, 'Edit').click
94+
page.find('#issue_notes:focus')
95+
sleep 0.1
9296
within('div#update div.attributes') do
9397
assert page.has_content?('Group 1')
9498
# default collapsed

0 commit comments

Comments
 (0)