Skip to content

Commit ff41b7b

Browse files
authored
Change test IDs to match Dashboard
1 parent 35786af commit ff41b7b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

e2e/test/compatibility.cy.spec.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,12 @@ const TIMEOUT_MS = 40000;
4141
});
4242

4343
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");
44+
cy.findByTestId("dashboard", {timeout: TIMEOUT_MS}).within(() => {
45+
cy.findByTestId("dashboard-name-heading").should("exist");
4646

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

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

5151
cy.findByTestId("dashboard-grid").should("exist");
5252
});
@@ -58,12 +58,12 @@ const TIMEOUT_MS = 40000;
5858
});
5959

6060
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");
61+
cy.findByTestId("dashboard", {timeout: TIMEOUT_MS}).within(() => {
62+
cy.findByTestId("dashboard-name-heading").should("exist");
6363

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

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

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

0 commit comments

Comments
 (0)