X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/7653054635e3f4f84da3f2b6862cd2c02fbe3fd4..bdeca9098f356a4b2b088a3cf4c9276bb6cd5bdb:/apps/workbench/test/integration/anonymous_access_test.rb?ds=sidebyside 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