[ARVADOS-WORKBENCH2] updated: 2.1.0-43-g5a835b3b

Git user git at public.arvados.org
Thu Nov 5 22:17:09 UTC 2020


Summary of changes:
 cypress/integration/login.spec.js | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

       via  5a835b3ba8d8db2cd1893f0e8278b31b670c3735 (commit)
      from  df575b1d4e26282571b25c1b362501cae62168ff (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 5a835b3ba8d8db2cd1893f0e8278b31b670c3735
Author: Lucas Di Pentima <lucas at di-pentima.com.ar>
Date:   Thu Nov 5 19:16:33 2020 -0300

    16719: Don't try to click something to force logout, just reload the page.
    
    Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas at di-pentima.com.ar>

diff --git a/cypress/integration/login.spec.js b/cypress/integration/login.spec.js
index 8f976655..25c8cd4b 100644
--- a/cypress/integration/login.spec.js
+++ b/cypress/integration/login.spec.js
@@ -84,7 +84,6 @@ describe('Login tests', function() {
         cy.url().should('contain', '/projects/');
         cy.get('div#root').should('contain', 'Arvados Workbench (zzzzz)');
         cy.get('div#root').should('not.contain', 'Your account is inactive');
-        cy.get('[data-cy=breadcrumb-first]');
         // Invalidate own token.
         const tokenUuid = activeUser.token.split('/')[1];
         cy.doRequest('PUT', `/arvados/v1/api_client_authorizations/${tokenUuid}`, {
@@ -94,7 +93,7 @@ describe('Login tests', function() {
             })
         }, null, activeUser.token, true);
         // Should log the user out.
-        cy.get('[data-cy=breadcrumb-first]').click();
+        cy.visit('/');
         cy.get('div#root').should('contain', 'Please log in');
     })
 

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list