[ARVADOS] updated: 2.1.0-980-gb6d8769fd

Git user git at public.arvados.org
Thu Jun 24 17:17:16 UTC 2021


Summary of changes:
 apps/workbench/test/integration/logins_test.rb | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

       via  b6d8769fd0b2c228861fff1343c51e3b376b58c9 (commit)
      from  5fae618b1332cb654f0df026fb02f76b17f90225 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit b6d8769fd0b2c228861fff1343c51e3b376b58c9
Author: Peter Amstutz <peter.amstutz at curii.com>
Date:   Thu Jun 24 13:17:06 2021 -0400

    17829: Fix test
    
    Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz at curii.com>

diff --git a/apps/workbench/test/integration/logins_test.rb b/apps/workbench/test/integration/logins_test.rb
index f079fbb8f..3c6ab7c74 100644
--- a/apps/workbench/test/integration/logins_test.rb
+++ b/apps/workbench/test/integration/logins_test.rb
@@ -17,10 +17,7 @@ class LoginsTest < ActionDispatch::IntegrationTest
 
   test "trying to use expired token redirects to login page" do
     visit page_with_token('expired_trustedclient')
-    buttons = all("a.btn", text: /Log in/)
+    buttons = all("button.btn", text: /Log in/)
     assert_equal(1, buttons.size, "Failed to find one login button")
-    login_link = buttons.first[:href]
-    assert_match(%r{//[^/]+/login}, login_link)
-    assert_no_match(/\bapi_token=/, login_link)
   end
 end

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list