projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch '11308-python3'
[arvados.git]
/
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 9d4e04bfee5f4cee67638c607f2cc1ddcd7d902a..0d6514d75d75901b5f3a9b78a1fffaeb057a2b77 100644
(file)
--- 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
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')
end
test "login with api_token works after redirect" do
visit page_with_token('active_trustedclient')
- assert page.has_text?('
Active pipelines'), "Missing 'Active pipelin
es' from page"
+ assert page.has_text?('
Recent pipelines and processes'), "Missing 'Recent pipelines and process
es' from page"
assert_no_match(/\bapi_token=/, current_path)
end
assert_no_match(/\bapi_token=/, current_path)
end