3781: Fix test that assumes only one empty collection is readable.
[arvados.git] / apps / workbench / test / integration / collection_upload_test.rb
index 1a3449ff37e7627fa623bc8b039265ac110b2f53..9a2637365cedc66ce3d20715d4c301c1cd2850a4 100644 (file)
@@ -61,7 +61,9 @@ class CollectionUploadTest < ActionDispatch::IntegrationTest
     assert_selector 'button:not([disabled])', text: 'Start'
     click_button 'Start'
     if "test environment does not have a keepproxy yet, see #4534"
-      assert_text :visible, 'error'
+      using_wait_time 20 do
+        assert_text :visible, 'error'
+      end
     else
       assert_text :visible, 'Done!'
       visit sandbox_path+'.json'