Skip to content

Commit

Permalink
Adds sleep to test
Browse files Browse the repository at this point in the history
  • Loading branch information
HazelGrant committed Dec 18, 2024
1 parent 1de16b0 commit c0bb741
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apps/dashboard/test/system/remote_files_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,9 @@ def setup
find('tbody a', exact_text: File.basename(src_file), wait: MAX_WAIT)

find('tbody a', exact_text: 'foo').click

# Need to wait until we're in the new directory before clicking upload
sleep 1
assert_no_selector 'tbody a', exact_text: 'foo', wait: MAX_WAIT

find('#upload-btn').click
Expand Down

0 comments on commit c0bb741

Please sign in to comment.