diff --git a/frontend/cypress/e2e/objective.cy.ts b/frontend/cypress/e2e/objective.cy.ts index 230c3269b5..25e1abc2f8 100644 --- a/frontend/cypress/e2e/objective.cy.ts +++ b/frontend/cypress/e2e/objective.cy.ts @@ -191,18 +191,12 @@ describe('OKR Objective e2e tests', () => { }); }); }); -}); - -describe('tests via keyboard', () => { - beforeEach(() => { - cy.loginAsUser(users.gl); - cy.visit('/?quarter=2'); - onlyOn('chrome'); - }); - it(`Open objective aside via enter`, () => { - cy.getByTestId('objective').first().find('[tabindex]').first().focus(); - cy.realPress('Enter'); - cy.url().should('include', 'objective'); + describe('tests via keyboard', () => { + it(`Open objective aside via enter`, () => { + cy.getByTestId('objective').first().find('[tabindex]').first().focus(); + cy.realPress('Enter'); + cy.url().should('include', 'objective'); + }); }); });