X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/a93774da6449567a2759672cf329be6ec96f91e3..42c20b25e1325124b88e3b9b285544dc41122b56:/apps/workbench/test/integration/anonymous_access_test.rb diff --git a/apps/workbench/test/integration/anonymous_access_test.rb b/apps/workbench/test/integration/anonymous_access_test.rb index 0842635f60..e47f1ae2e9 100644 --- a/apps/workbench/test/integration/anonymous_access_test.rb +++ b/apps/workbench/test/integration/anonymous_access_test.rb @@ -117,6 +117,7 @@ class AnonymousAccessTest < ActionDispatch::IntegrationTest end test 'view file' do + need_selenium "phantomjs does not follow redirects reliably, maybe https://github.com/ariya/phantomjs/issues/10389" magic = rand(2**512).to_s 36 owner = api_fixture('groups')['anonymously_accessible_project']['uuid'] col = upload_data_and_get_collection(magic, 'admin', "Hello\\040world.txt", owner) @@ -196,7 +197,7 @@ class AnonymousAccessTest < ActionDispatch::IntegrationTest assert_text 'script version' assert_no_selector 'a', text: 'Run this pipeline' else - within first('tr[data-kind="arvados#workflow"]') do + within 'tr[data-kind="arvados#workflow"]', text: "Workflow with default input specifications" do click_link 'Show' end