Skip to content

Commit

Permalink
Add check if objective was duplicated successfully before navigating …
Browse files Browse the repository at this point in the history
…in duplicated scoring tests
  • Loading branch information
RandomTannenbaum committed Nov 19, 2024
1 parent bac9b3e commit e90e7ec
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions frontend/cypress/e2e/duplicated-scoring.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ describe('e2e test for scoring adjustment on objective duplicate', () => {
.fillObjectiveTitle('A duplicated Objective for this tool')
.selectQuarter('3')
.submit();

op.checkForToaster('Das Objective wurde erfolgreich erstellt.', 'success');

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

op.getKeyResultByName('stretch keyresult for testing')
Expand Down

0 comments on commit e90e7ec

Please sign in to comment.