Switch to firefox for testing

This commit is contained in:
Jeremy Tuloup 2021-01-28 16:44:46 +01:00
parent 486c670b52
commit d68ff10f4d
2 changed files with 5 additions and 2 deletions

3
.gitignore vendored
View File

@ -115,3 +115,6 @@ junit.xml
[uU]ntitled*
jupyterlab_classic/static
jupyterlab_classic/labextension
# playwright
app/artifacts/videos

View File

@ -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/' }
});