diff --git a/e2e/test/scenarios/dashboard/dashboard.cy.spec.js b/e2e/test/scenarios/dashboard/dashboard.cy.spec.js index 9898608afb34fa3010f5f30916de817d4e2e4334..2519c72bc224a97d37b49eb999e45fb8da93d4ad 100644 --- a/e2e/test/scenarios/dashboard/dashboard.cy.spec.js +++ b/e2e/test/scenarios/dashboard/dashboard.cy.spec.js @@ -650,8 +650,8 @@ describe("scenarios > dashboard", () => { visitDashboard(dashboard_id); }); - getDashboardCards().eq(0).contains("top"); - getDashboardCards().eq(1).contains("bottom"); + getDashboardCard(0).contains("top"); + getDashboardCard(1).contains("bottom"); }, ); }); @@ -1212,7 +1212,7 @@ describeWithSnowplow("scenarios > dashboard", () => { addIFrameWhileEditing("https://example.com"); cy.findByTestId("dashboardcard-actions-panel").should("not.exist"); cy.button("Done").click(); - getDashboardCards().eq(0).realHover(); + getDashboardCard(0).realHover(); cy.findByTestId("dashboardcard-actions-panel").should("be.visible"); validateIFrame("https://example.com"); saveDashboard();