diff --git a/cypress/e2e/authenticated.cy.js b/cypress/e2e/authenticated.cy.js index 371c9d8..2852a66 100644 --- a/cypress/e2e/authenticated.cy.js +++ b/cypress/e2e/authenticated.cy.js @@ -18,13 +18,7 @@ describe('Scenarios where authentication is a pre-condition', () => { it('logs out', { tags: '@desktop-and-tablet' }, () => { cy.visit('/') - cy.wait('@getNotes') - - if (Cypress.config('viewportWidth') < Cypress.env('viewportWidthBreakpoint')) { - cy.get('.navbar-toggle.collapsed') - .should('be.visible') - .click() - } + cy.wait(2000) cy.contains('.nav a', 'Logout').click()