Skip to content

Commit

Permalink
fix: cypress test fix (#487)
Browse files Browse the repository at this point in the history
* updated link

* fix: cypress test

* remove

Merging this as an urgent fix.
  • Loading branch information
TenzDelek authored Nov 30, 2024
1 parent 0e0d5d3 commit 2275e48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cypress/e2e/Landing.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -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/);
});
});
});

0 comments on commit 2275e48

Please sign in to comment.