From d68ff10f4d8cf5784bb10d8a7804404ca2412cb7 Mon Sep 17 00:00:00 2001 From: Jeremy Tuloup Date: Thu, 28 Jan 2021 16:44:46 +0100 Subject: [PATCH] Switch to firefox for testing --- .gitignore | 3 +++ app/test/smoke.spec.ts | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 7f5d94ce0..651278741 100644 --- a/.gitignore +++ b/.gitignore @@ -115,3 +115,6 @@ junit.xml [uU]ntitled* jupyterlab_classic/static jupyterlab_classic/labextension + +# playwright +app/artifacts/videos diff --git a/app/test/smoke.spec.ts b/app/test/smoke.spec.ts index 8351b6c1e..f9fdfa0d8 100644 --- a/app/test/smoke.spec.ts +++ b/app/test/smoke.spec.ts @@ -1,4 +1,4 @@ -import { chromium, Browser, BrowserContext } from 'playwright'; +import { firefox, Browser, BrowserContext } from 'playwright'; describe('Smoke', () => { let browser: Browser; @@ -6,7 +6,7 @@ describe('Smoke', () => { beforeAll(async () => { jest.setTimeout(200000); - browser = await chromium.launch({ slowMo: 1000 }); + browser = await firefox.launch({ slowMo: 1000 }); context = await browser.newContext({ recordVideo: { dir: 'artifacts/videos/' } });