X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/f2756832f844d78d782ff35e46b650c5501b0c47..832486e363889d47adecf8ad898ab9d21384dca3:/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 9daf831810..2e2de70318 100644 --- a/apps/workbench/test/integration/logins_test.rb +++ b/apps/workbench/test/integration/logins_test.rb @@ -1,9 +1,13 @@ require 'integration_helper' class LoginsTest < ActionDispatch::IntegrationTest + setup do + 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?('Active pipelines'), "Missing 'Active pipelines' from page" assert_no_match(/\bapi_token=/, current_path) end