Skip to content
Snippets Groups Projects
Commit 5504a53a authored by Atte Keinänen's avatar Atte Keinänen
Browse files

Fix new question flow test transient failure

parent 5fc0f142
No related branches found
No related tags found
No related merge requests found
......@@ -28,6 +28,7 @@ import {
} from "metabase/redux/metadata"
import NativeQuery from "metabase-lib/lib/queries/NativeQuery";
import { delay } from 'metabase/lib/promise'
import * as Urls from "metabase/lib/urls";
import {
......@@ -151,6 +152,8 @@ describe("new question flow", async () => {
click(metricSearchResult.childAt(0))
await store.waitForActions([INITIALIZE_QB, QUERY_COMPLETED]);
await delay(100); // Trying to address random CI failures with a small delay
expect(
app.find(AggregationWidget).find(".View-section-aggregation").text()
).toBe("A Metric")
......
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