Skip to content
Snippets Groups Projects
Unverified Commit 721c822e authored by Ryan Laurie's avatar Ryan Laurie Committed by GitHub
Browse files

wait for recent views req (#31967)

parent 89cbcea7
Branches
Tags
No related merge requests found
......@@ -745,6 +745,7 @@ describe("scenarios > dashboard", () => {
describeWithSnowplow("scenarios > dashboard", () => {
beforeEach(() => {
cy.intercept("GET", "/api/activity/recent_views").as("recentViews");
resetSnowplow();
restore();
cy.signInAsAdmin();
......@@ -760,6 +761,7 @@ describeWithSnowplow("scenarios > dashboard", () => {
editDashboard();
cy.findByTestId("dashboard-header").icon("link").click();
cy.wait("@recentViews");
cy.findByTestId("custom-edit-text-link").click().type("Orders");
saveDashboard();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment