Skip to content

Commit

Permalink
fix cypress tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mgoworko committed Nov 20, 2024
1 parent d0f6dcf commit 237f3b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions designer/client/cypress/e2e/connectionError.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,13 @@ describe("Connection error", () => {
cy.get("[model-id='filter']").dblclick();
cy.wait("@validation");

cy.intercept("/api/notifications/*", { statusCode: 502 });
cy.intercept("/api/notifications", { statusCode: 502 });
cy.contains(/Backend connection issue/).should("be.visible");
cy.get("body").matchImage({
screenshotConfig,
});

cy.intercept("/api/notifications/*", (req) => {
cy.intercept("/api/notifications", (req) => {
req.continue();
});

Expand Down

0 comments on commit 237f3b7

Please sign in to comment.