From 5838e2c51f02d2d5773be2617a93e5e82509b3bb Mon Sep 17 00:00:00 2001 From: Yanick Minder Date: Fri, 8 Nov 2024 13:14:13 +0100 Subject: [PATCH] format --- frontend/cypress/e2e/objective.cy.ts | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) 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'); + }); }); });