Merge branch '8784-dir-listings'
[arvados.git] / apps / workbench / test / performance / browsing_test.rb
index 843aa3aed4727e79e30e420a602bb80a46306587..ab1ace6f0de04c5f235d055444a4e44b69c5d826 100644 (file)
@@ -1,3 +1,7 @@
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: AGPL-3.0
+
 # http://guides.rubyonrails.org/v3.2.13/performance_testing.html
 
 require 'test_helper'
@@ -19,7 +23,7 @@ class BrowsingTest < WorkbenchPerformanceTest
   test "home page" do
     visit_page_with_token
     assert_text 'Dashboard'
-    assert_selector 'a', text: 'Run a pipeline'
+    assert_selector 'a', text: 'Run a process'
   end
 
   test "search for hash" do
@@ -34,6 +38,8 @@ class BrowsingTest < WorkbenchPerformanceTest
       end
     end
 
+    sleep(50)
+
     # In the search dialog now. Expect at least one item in the result display.
     within '.modal-content' do
       assert_text 'All projects'