Skip to content

Commit

Permalink
fix objective tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kcinay055679 committed Nov 8, 2024
1 parent d588d61 commit a28ff5a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions frontend/cypress/e2e/objective.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,15 +143,15 @@ describe('OKR Objective e2e tests', () => {
cy.contains('Search after this objective').should('not.exist');
});

it(`Create Objective in other quarter`, () => {
it.only(`Create Objective in other quarter`, () => {
cy.getByTestId('add-objective').first().click();
cy.fillOutObjective('Objective in quarter 2', 'safe', '2', '', false);
cy.fillOutObjective('Objective in quarter 3', 'safe', '3', '', false);

cy.contains('Objective in quarter 2').should('not.exist');
cy.contains('Objective in quarter 3').should('not.exist');

cy.visit('/?quarter=2');
cy.visit('/?quarter=3');

cy.contains('Objective in quarter 2');
cy.contains('Objective in quarter 3');
});

it(`Edit Objective and move to other quarter`, () => {
Expand Down

0 comments on commit a28ff5a

Please sign in to comment.