Skip to content

Commit

Permalink
chore: fix permalink cy test
Browse files Browse the repository at this point in the history
  • Loading branch information
danji90 committed Feb 7, 2025
1 parent acbbf87 commit 2146a66
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cypress/e2e/permalink.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@ describe("permalink", () => {
),
);
cy.url().should("match", /lang=de/);
cy.url().should("match", /layers=&/);
cy.url().should("match", /[?&]layers=(&|$)/);
// cy.url().then((url) => console.log(url));

// eslint-disable-next-line prefer-regex-literals
cy.url().should("match", new RegExp("x=928460&y=5908948&z=8.5"));
});
Expand Down

0 comments on commit 2146a66

Please sign in to comment.