Skip to content
Snippets Groups Projects
Unverified Commit 382e0743 authored by Ariya Hidayat's avatar Ariya Hidayat Committed by GitHub
Browse files

Binning time-series: wait for @dataset to reduce potential flakiness (#18399)

parent 57506cc0
No related branches found
No related tags found
No related merge requests found
......@@ -105,6 +105,8 @@ describe("scenarios > binning > correctness > time series", () => {
restore();
cy.signInAsAdmin();
cy.intercept("POST", "/api/dataset").as("dataset");
openOrdersTable();
cy.findByText("Summarize").click();
openPopoverFromDefaultBucketSize("Created At", "by month");
......@@ -121,6 +123,7 @@ describe("scenarios > binning > correctness > time series", () => {
it(`should return correct values for ${bucketSize}`, () => {
popover().within(() => {
cy.findByText(bucketSize).click();
cy.wait("@dataset");
});
cy.get(".List-item--selected")
......
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