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

Fix flake

parent 2a23f621
No related branches found
No related tags found
No related merge requests found
......@@ -12,6 +12,7 @@ import {
appBar,
assertDatasetReqIsSandboxed,
assertQueryBuilderRowCount,
assertTabSelected,
cartesianChartCircle,
closeDashboardInfoSidebar,
closeDashboardSettingsSidebar,
......@@ -762,7 +763,11 @@ describe("issue 31274", () => {
visitDashboard(dashboard.id);
editDashboard(dashboard.id);
getDashboardCard(1).realHover();
assertTabSelected("Tab 1");
getDashboardCard(1).realHover({
scrollBehavior: "top", // prevents flaky tests
});
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