From f9c56e6bea694d2a259bcdbcf93f3d0001f02426 Mon Sep 17 00:00:00 2001 From: Jeff Ohrstrom Date: Tue, 9 Apr 2024 10:33:40 -0400 Subject: [PATCH] try again to fix flaky tests (#3490) --- apps/dashboard/test/system/batch_connect_test.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/dashboard/test/system/batch_connect_test.rb b/apps/dashboard/test/system/batch_connect_test.rb index 61477056ee..6c16b2f03f 100644 --- a/apps/dashboard/test/system/batch_connect_test.rb +++ b/apps/dashboard/test/system/batch_connect_test.rb @@ -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) @@ -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) @@ -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