From c9bedc30521232d481163820128e54699fc2f23f Mon Sep 17 00:00:00 2001 From: sgiehl Date: Mon, 24 Jul 2023 15:43:19 +0200 Subject: [PATCH] add some wait time to ui test --- tests/UI/specs/EmptySite_CloudflareOverGTM_spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/UI/specs/EmptySite_CloudflareOverGTM_spec.js b/tests/UI/specs/EmptySite_CloudflareOverGTM_spec.js index f2a50c42badf..74960cb07280 100644 --- a/tests/UI/specs/EmptySite_CloudflareOverGTM_spec.js +++ b/tests/UI/specs/EmptySite_CloudflareOverGTM_spec.js @@ -16,7 +16,7 @@ describe("EmptySite_CloudflareOverGTM", function () { it('should select the tab provided by hash param', async function () { const urlToTest = "?" + generalParams + "&module=CoreHome&action=index#?" + generalParams + "&activeTab=cloudflare"; await page.goto(urlToTest); - + await page.waitForTimeout(250); const pageElement = await page.$('.page'); expect(await pageElement.screenshot()).to.matchImage('emptySiteDashboard'); });