Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
kcinay055679 committed Nov 8, 2024
1 parent f236152 commit 5838e2c
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions frontend/cypress/e2e/objective.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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');
});
});
});

0 comments on commit 5838e2c

Please sign in to comment.