diff --git a/cypress/e2e/Landing.cy.js b/cypress/e2e/Landing.cy.js index 27d69fb4..60c650f0 100644 --- a/cypress/e2e/Landing.cy.js +++ b/cypress/e2e/Landing.cy.js @@ -37,7 +37,7 @@ describe("Landing Page Tests", () => { cy.getTestData("subscribe-button").invoke("removeAttr", "target").click(); cy.origin("https://www.asyncapi.com/newsletter", () => { - cy.url().should("eq", "https://www.asyncapi.com/newsletter"); + cy.url().should("match", /https:\/\/www\.asyncapi\.com\/[a-z]{2}\/newsletter/); }); }); });