Skip to content

Commit

Permalink
Just chromium for now
Browse files Browse the repository at this point in the history
  • Loading branch information
eyeseast committed Nov 15, 2023
1 parent 7a85fe5 commit f3fc1e8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions playwright.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export default defineConfig({
name: "chromium",
use: devices["Desktop Chrome"],
},
/*
{
name: "firefox",
use: devices["Desktop Firefox"],
Expand All @@ -48,5 +49,6 @@ export default defineConfig({
name: "Mobile Safari",
use: devices["iPhone 12"],
},
*/
],
});
3 changes: 1 addition & 2 deletions plugins/test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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"]);
Expand Down

0 comments on commit f3fc1e8

Please sign in to comment.