projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
16392: Update tests.
[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 0317f162ad888720a77cff2b8917fe783edb516c..f079fbb8f1ce39eb4d88e33f232c3f8796dce89c 100644
(file)
--- a/
apps/workbench/test/integration/logins_test.rb
+++ b/
apps/workbench/test/integration/logins_test.rb
@@
-1,13
+1,17
@@
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: AGPL-3.0
+
require 'integration_helper'
class LoginsTest < ActionDispatch::IntegrationTest
setup do
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')
end
test "login with api_token works after redirect" do
visit page_with_token('active_trustedclient')
- assert page.has_text?('Recent
jobs'), "Missing 'Recent job
s' from page"
+ assert page.has_text?('Recent
processes'), "Missing 'Recent processe
s' from page"
assert_no_match(/\bapi_token=/, current_path)
end
assert_no_match(/\bapi_token=/, current_path)
end