X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/94972ae20fa5d9dde7dc814695a970e9d5bad4a7..ee5443faad325b16047b9ad4cd588baf51e231fa:/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 c414f8a7ad..e47f1ae2e9 100644 --- a/apps/workbench/test/integration/anonymous_access_test.rb +++ b/apps/workbench/test/integration/anonymous_access_test.rb @@ -5,8 +5,6 @@ require 'integration_helper' class AnonymousAccessTest < ActionDispatch::IntegrationTest - include KeepWebConfig - # These tests don't do state-changing API calls. Save some time by # skipping the database reset. reset_api_fixtures :after_each_test, false @@ -119,8 +117,7 @@ class AnonymousAccessTest < ActionDispatch::IntegrationTest end test 'view file' do - use_keep_web_config - + 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) @@ -200,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