Skip to content
Snippets Groups Projects
Commit 8dee9942 authored by Kamil Mielnik's avatar Kamil Mielnik
Browse files

Use getDashboardCard

parent 305e8644
No related branches found
No related tags found
No related merge requests found
......@@ -746,10 +746,6 @@ describe("issue 31274", () => {
return cy.findAllByTestId("dashboardcard-actions-panel").filter(":visible");
}
function secondTextCard() {
return cy.findAllByTestId("editing-dashboard-text-preview").eq(1).parent();
}
beforeEach(() => {
restore();
cy.signInAsAdmin();
......@@ -766,7 +762,7 @@ describe("issue 31274", () => {
visitDashboard(dashboard.id);
editDashboard(dashboard.id);
secondTextCard().realHover();
getDashboardCard(1).realHover();
cy.log(
"Make sure cypress can click the element, which means it is not covered by another",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment