Skip to content
Snippets Groups Projects
Unverified Commit 5165eec2 authored by Nicolò Pretto's avatar Nicolò Pretto Committed by GitHub
Browse files

should make test pass in release when we have a specific version in t… (#38655)

* should make test pass in release when we have a specific version in the url

* fix eslint error
parent 26779d30
Branches
Tags
No related merge requests found
......@@ -368,12 +368,13 @@ describe("scenarios > setup", () => {
.findByText("Get started with Embedding Metabase in your app")
.should("exist");
main().findByRole("link", { name: "Learn more" }).should(
"have.attr",
"href",
// eslint-disable-next-line no-unconditional-metabase-links-render -- this is a test file
"https://www.metabase.com/docs/latest/embedding/start.html?utm_media=embed-minimal-homepage",
);
main()
.findByRole("link", { name: "Learn more" })
.should("have.attr", "href")
.and(
"match",
/https:\/\/www.metabase.com\/docs\/[^\/]*\/embedding\/start\.html\?utm_media=embed-minimal-homepage/,
);
cy.icon("close").click();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment