diff --git a/playwright.config.js b/playwright.config.js index 6af25a4c9..1503494ba 100644 --- a/playwright.config.js +++ b/playwright.config.js @@ -32,6 +32,7 @@ export default defineConfig({ name: "chromium", use: devices["Desktop Chrome"], }, + /* { name: "firefox", use: devices["Desktop Firefox"], @@ -48,5 +49,6 @@ export default defineConfig({ name: "Mobile Safari", use: devices["iPhone 12"], }, + */ ], }); diff --git a/plugins/test/index.js b/plugins/test/index.js index 7cb16afec..24022af3a 100644 --- a/plugins/test/index.js +++ b/plugins/test/index.js @@ -2,8 +2,7 @@ export async function onSuccess({ utils }) { console.log("Installing Playwright dependencies"); - await utils.run("playwright", ["install-deps"]); - await utils.run("playwright", ["install"]); + await utils.run("playwright", ["install", "--with-deps", "chromium"]); console.log("Running Playwright tests"); await utils.run("playwright", ["test"]);