diff --git a/services/core-web/cypress/e2e/majorprojects.cy.ts b/services/core-web/cypress/e2e/majorprojects.cy.ts index acc780a53c..98a4be2b82 100644 --- a/services/core-web/cypress/e2e/majorprojects.cy.ts +++ b/services/core-web/cypress/e2e/majorprojects.cy.ts @@ -116,11 +116,10 @@ describe("Major Projects", () => { .find("div") .click({ force: true }); - cy.get('@windowOpen').should('be.called'); // Make sure PDF is opened in new window. + cy.url().should('include', 'documents?token=ec851412-9c91-48cd-8917-dd58f0934b16') }); - }); });