From 0a5bf64304d0f0210518dccc6db4bb30d77ef513 Mon Sep 17 00:00:00 2001 From: Max Schmitt Date: Tue, 12 May 2020 11:55:52 +0200 Subject: [PATCH] ci: fixed smoke tests by increasing timeout --- ci/core.test.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ci/core.test.ts b/ci/core.test.ts index acadcece..23fa5fee 100644 --- a/ci/core.test.ts +++ b/ci/core.test.ts @@ -10,13 +10,15 @@ type BrowserType = "chromium" | "firefox" | "webkit" const browserType: BrowserType = process.env.BROWSER as BrowserType || "chromium" -before(async () => { +before(async function () { + this.timeout(5 * 1000); console.log(`Starting browser: ${browserType}`) browser = await playwright[browserType].launch({ headless: process.argv.includes('--headless'), }); }); -after(async () => { +after(async function () { + this.timeout(5 * 1000); await browser.close(); }); beforeEach(async function () {