Skip to content
Snippets Groups Projects
Unverified Commit 0f17ffb5 authored by Nemanja Glumac's avatar Nemanja Glumac Committed by GitHub
Browse files

[E2E] Fix recent-views flake(s) (#35848)

* Fix recent-views flake(s)

* Remove the `@flaky` tag
parent 6372597d
Branches
Tags
No related merge requests found
......@@ -30,16 +30,16 @@ describe("search > recently viewed", () => {
// inside the "Orders in a dashboard" dashboard, the order is queried again,
// which elicits a ViewLog entry
cy.intercept(`/api/activity/recent_views`).as("recent");
cy.visit("/");
cy.wait("@recent");
cy.intercept(`/api/activity/recent_views`).as("recent");
cy.findByPlaceholderText("Search…").click();
cy.wait("@recent");
cy.findByTestId("loading-spinner").should("not.exist");
});
it("shows list of recently viewed items", { tags: "@flaky" }, () => {
it("shows list of recently viewed items", () => {
assertRecentlyViewedItem(0, "Orders in a dashboard", "Dashboard");
assertRecentlyViewedItem(1, "Orders", "Question");
assertRecentlyViewedItem(2, "People", "Table");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment