Skip to content

Commit

Permalink
Adjust testdata after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
lkleisa committed May 31, 2024
1 parent aa0426d commit b782e28
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions frontend/cypress/e2e/diagram.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,16 @@ describe('OKR diagram e2e tests', () => {
cy.getByTestId('diagramTab').first().click();

cy.contains('Kein Alignment vorhanden');
cy.get('h1:contains(Puzzle ITC)').should('have.length', 0);
cy.get('h1:visible:contains(Puzzle ITC)').should('have.length', 0);
cy.get('mat-chip:visible:contains("Puzzle ITC")').should('have.length', 1);
cy.getByTestId('objective').should('have.length', 0);
cy.getByTestId('objective').should('not.be.visible');

cy.getByTestId('overviewTab').first().click();

cy.get('h1:contains(Puzzle ITC)').should('have.length', 1);
cy.get('mat-chip:visible:contains("Puzzle ITC")').should('have.length', 1);
cy.contains('An Objective for Testing');
cy.getByTestId('objective').should('be.visible');
});

it('Can switch to diagram and the filter stay the same', () => {
Expand Down

0 comments on commit b782e28

Please sign in to comment.