X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/f2060a005a084ff544d9479ea50bb8a02fe6a31d..d4fb5ff8307f22f49a78f8a1a804e3bf534c6173:/apps/workbench/test/integration/search_box_test.rb diff --git a/apps/workbench/test/integration/search_box_test.rb b/apps/workbench/test/integration/search_box_test.rb index 1eed15882a..51d615fe2d 100644 --- a/apps/workbench/test/integration/search_box_test.rb +++ b/apps/workbench/test/integration/search_box_test.rb @@ -74,7 +74,7 @@ class SearchBoxTest < ActionDispatch::IntegrationTest assert page.has_text?('Search'), 'No text - Search' assert page.has_text?('Cancel'), 'No text - Cancel' assert_selector('div', text: publicly_accessible_project['name']) - find(:xpath, '//div[./span[contains(.,publicly_accessible_project["uuid"])]]').click + find("div[data-object-uuid=#{publicly_accessible_project["uuid"]}]").click click_button 'Show' end