From c5bc4cac5c2c7690884c687750c2c30694c1e9a4 Mon Sep 17 00:00:00 2001 From: Simen Fivelstad Smaaberg <66635118+simensma-fresh@users.noreply.github.com> Date: Fri, 8 Mar 2024 00:07:04 +0000 Subject: [PATCH] Fixed api call --- services/core-web/cypress/e2e/majorprojects.cy.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/core-web/cypress/e2e/majorprojects.cy.ts b/services/core-web/cypress/e2e/majorprojects.cy.ts index d70b099fa1..95d1dbba51 100644 --- a/services/core-web/cypress/e2e/majorprojects.cy.ts +++ b/services/core-web/cypress/e2e/majorprojects.cy.ts @@ -46,7 +46,7 @@ describe("Major Projects", () => { cy.intercept( "PATCH", - /.*\/(api\/)?document-manager\/documents\/332d6f13-cd09-4b55-93d7-52bd7e557fa4\/complete-upload$/, + /.*\/(api\/)?(document-manager\/)?documents\/332d6f13-cd09-4b55-93d7-52bd7e557fa4\/complete-upload$/, { statusCode: 204, }