Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

Unskip About page e2e test (#63538)

Fraser41db01c5e270
diff --git a/e2e/test/scenarios/onboarding/about.cy.spec.js b/e2e/test/scenarios/onboarding/about.cy.spec.js
index 65c4a46eab9..8e326b5244c 100644
--- a/e2e/test/scenarios/onboarding/about.cy.spec.js
+++ b/e2e/test/scenarios/onboarding/about.cy.spec.js
@@ -4,26 +4,17 @@ describe("scenarios > about Metabase", () => {
beforeEach(() => {
H.restore();
cy.signInAsAdmin();
-
cy.visit("/");
cy.icon("gear").click();
- // eslint-disable-next-line no-unscoped-text-selectors -- deprecated usage
- cy.findByText("About Metabase").click();
+ H.popover().findByText("About Metabase").click();
});
- it(
- "should display correct Metabase version (metabase#15656)",
- { tags: "@skip" },
- () => {
- // eslint-disable-next-line no-unscoped-text-selectors -- deprecated usage
+ it("should display correct Metabase version (metabase#15656)", () => {
+ H.modal().within(() => {
cy.findByText(/You're on version v[01](\.\d+){2,3}(-[\w\d]+)?/i);
- // eslint-disable-next-line no-unscoped-text-selectors -- deprecated usage
cy.findByText(/Built on \d{4}-\d{2}-\d{2}/);
-
- // eslint-disable-next-line no-unscoped-text-selectors -- deprecated usage
cy.findByText("Branch: ?").should("not.exist");
- // eslint-disable-next-line no-unscoped-text-selectors -- deprecated usage
cy.findByText("Hash: ?").should("not.exist");
- },
- );
+ });
+ });
});