4592: add test where a collection with no name is selected as input to a pipeline...
[arvados.git] / apps / workbench / test / integration / logins_test.rb
index efa5a462149e40bff59793bcba19c558fb78596c..9d4e04bfee5f4cee67638c607f2cc1ddcd7d902a 100644 (file)
@@ -2,14 +2,12 @@ require 'integration_helper'
 
 class LoginsTest < ActionDispatch::IntegrationTest
   setup do
-    headless = Headless.new
-    headless.start
-    Capybara.current_driver = :selenium
+    Capybara.current_driver = Capybara.javascript_driver
   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