X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/5a80356ddc3798f6530e306901d7ea5e19cfe3f9..9bf790498c20c9f8ab9bffbf9c8e5311864bd91e:/apps/workbench/test/integration/logins_test.rb diff --git a/apps/workbench/test/integration/logins_test.rb b/apps/workbench/test/integration/logins_test.rb index 0317f162ad..0d6514d75d 100644 --- a/apps/workbench/test/integration/logins_test.rb +++ b/apps/workbench/test/integration/logins_test.rb @@ -2,12 +2,12 @@ require 'integration_helper' class LoginsTest < ActionDispatch::IntegrationTest setup do - Capybara.current_driver = Capybara.javascript_driver + need_javascript end test "login with api_token works after redirect" do visit page_with_token('active_trustedclient') - assert page.has_text?('Recent jobs'), "Missing 'Recent jobs' from page" + assert page.has_text?('Recent pipelines and processes'), "Missing 'Recent pipelines and processes' from page" assert_no_match(/\bapi_token=/, current_path) end