X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/d446d49dd75f14f3b454fa89190068b4e475c946..e4e38ac6a304e7f81c27975a8b26acf774bceace:/apps/workbench/test/performance/browsing_test.rb diff --git a/apps/workbench/test/performance/browsing_test.rb b/apps/workbench/test/performance/browsing_test.rb index 843aa3aed4..71e4c5c1e9 100644 --- a/apps/workbench/test/performance/browsing_test.rb +++ b/apps/workbench/test/performance/browsing_test.rb @@ -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 @@ -29,11 +33,13 @@ class BrowsingTest < WorkbenchPerformanceTest assert_selector '.navbar-fixed-top' assert_triggers_dom_event 'shown.bs.modal' do within '.navbar-fixed-top' do - find_field('search').set 'hash' + find_field('search this site').set 'hash' find('.glyphicon-search').click 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'