Skip to content
Snippets Groups Projects
Commit d30f7379 authored by Atte Keinänen's avatar Atte Keinänen Committed by GitHub
Browse files

Merge pull request #6073 from metabase/fix-nqf-test-transient-failure

Fix new question flow test transient failure
parents 5fc0f142 5504a53a
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