Skip to content

Commit 6ef4d1d

Browse files
committed
Revert "Change test IDs to match Dashboard"
1 parent 24a1b16 commit 6ef4d1d

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

e2e/test/compatibility.cy.spec.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,13 @@ const TIMEOUT_MS = 40000;
4040
url: "/static-dashboard",
4141
});
4242

43-
expect(cy.findByTestId("dashboard", {timeout: TIMEOUT_MS}).should("exist"));
44-
cy.findByTestId("dashboard", {timeout: TIMEOUT_MS}).within(() => {
45-
cy.findByTestId("dashboard-name-heading").should("exist");
43+
expect(cy.findByTestId("embed-frame", {timeout: TIMEOUT_MS}).should("exist"));
44+
cy.findByTestId("embed-frame", {timeout: TIMEOUT_MS}).within(() => {
45+
cy.findByTestId("embed-frame-header").should("exist");
4646

4747
cy.findByText("E-commerce Insights").should("exist");
4848

49-
cy.findByTestId("dashboard-parameters-widget-container").should("exist");
49+
cy.findByTestId("fixed-width-filters").should("exist");
5050

5151
cy.findByTestId("dashboard-grid").should("exist");
5252
});
@@ -57,13 +57,13 @@ const TIMEOUT_MS = 40000;
5757
url: "/interactive-dashboard",
5858
});
5959

60-
expect(cy.findByTestId("dashboard", {timeout: TIMEOUT_MS}).should("exist"));
61-
cy.findByTestId("dashboard", {timeout: TIMEOUT_MS}).within(() => {
62-
cy.findByTestId("dashboard-name-heading").should("exist");
60+
expect(cy.findByTestId("embed-frame", {timeout: TIMEOUT_MS}).should("exist"));
61+
cy.findByTestId("embed-frame", {timeout: TIMEOUT_MS}).within(() => {
62+
cy.findByTestId("embed-frame-header").should("exist");
6363

6464
cy.findByText("E-commerce Insights").should("exist");
6565

66-
cy.findByTestId("dashboard-parameters-widget-container").should("exist");
66+
cy.findByTestId("fixed-width-filters").should("exist");
6767

6868
cy.findByTestId("dashboard-grid").should("exist");
6969
});

0 commit comments

Comments
 (0)