Skip to content

Commit

Permalink
try again to fix flaky tests (#3490)
Browse files Browse the repository at this point in the history
  • Loading branch information
johrstrom authored Apr 9, 2024
1 parent bee9186 commit f9c56e6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions apps/dashboard/test/system/batch_connect_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1361,6 +1361,7 @@ def make_bc_app(dir, form)
click_on('Select Path')

# shows the OodFilesApp.candidate_favorite_paths favorites
sleep 3
favorites = all('#favorites li', wait: 30)
assert_equal(2, favorites.size)
assert_equal('/tmp', favorites[0].text.strip)
Expand Down Expand Up @@ -1396,6 +1397,7 @@ def make_bc_app(dir, form)
click_on('Select Path')

# favorites that have been configured in yml
sleep 3
favorites = all('#favorites li', wait: 30)
assert_equal(2, favorites.size)
assert_equal('/fs/ess', favorites[0].text.strip)
Expand Down Expand Up @@ -1433,6 +1435,7 @@ def make_bc_app(dir, form)
click_on('Select Path')

# no favorites show up
sleep 3
favorites = all('#favorites li', wait: 30)
assert_equal(0, favorites.size)
end
Expand Down

0 comments on commit f9c56e6

Please sign in to comment.