Skip to content

Commit eec7aa4

Browse files
committed
Add a short sleep to clicking during JS test
The request gets aborted if it happens too quickly, which fails the test on CI.
1 parent 7ee622f commit eec7aa4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

spec/features/patient_sorting_filtering_spec.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ def when_i_visit_the_consents_page
7979

8080
def when_i_click_on_the_name_header
8181
click_link "Full name"
82+
sleep 0.1
8283
end
8384

8485
def when_i_click_on_the_dob_header

0 commit comments

Comments
 (0)