X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/df575b1d4e26282571b25c1b362501cae62168ff..5a835b3ba8d8db2cd1893f0e8278b31b670c3735:/cypress/integration/login.spec.js 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'); })