From 237f3b7dd8313741205047c9526c8396071336fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Goworko?= Date: Wed, 20 Nov 2024 17:07:47 +0100 Subject: [PATCH] fix cypress tests --- designer/client/cypress/e2e/connectionError.cy.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/designer/client/cypress/e2e/connectionError.cy.ts b/designer/client/cypress/e2e/connectionError.cy.ts index 8349671464a..5e0aef6aca9 100644 --- a/designer/client/cypress/e2e/connectionError.cy.ts +++ b/designer/client/cypress/e2e/connectionError.cy.ts @@ -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(); });