Skip to content

Commit

Permalink
Fix cy tests
Browse files Browse the repository at this point in the history
  • Loading branch information
MiraGeowerkstatt committed Mar 20, 2024
1 parent 749d0d9 commit 91c0031
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/client/cypress/e2e/editor/completion.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -451,13 +451,13 @@ describe("completion crud tests", () => {
setSelect("materialId", 1);

addCompletion();
handlePrompt("Backfill: Unsaved changes", "Cancel");
handlePrompt("Sealing/Backfilling: Unsaved changes", "Cancel");
isHeaderTabSelected(0);
isContentTabSelected("backfill");

// reset content changes when switching header tabs
addCompletion();
handlePrompt("Backfill: Unsaved changes", "Reset");
handlePrompt("Sealing/Backfilling: Unsaved changes", "Reset");
isHeaderTabSelected(1);
cancelEditing();
setContentTab("backfill");
Expand All @@ -473,7 +473,7 @@ describe("completion crud tests", () => {
setSelect("kindId", 1);
setSelect("materialId", 1);
addCompletion();
handlePrompt("Backfill: Unsaved changes", "Save");
handlePrompt("Sealing/Backfilling: Unsaved changes", "Save");
isHeaderTabSelected(1);
cancelEditing();
setContentTab("backfill");
Expand Down

0 comments on commit 91c0031

Please sign in to comment.