Skip to content

Commit

Permalink
Try WebKit again on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
RReverser committed Dec 27, 2023
1 parent 5c99b2d commit 78ff566
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"webpack-cli": "^5.1.4"
},
"scripts": {
"postinstall": "playwright install --with-deps chromium firefox",
"postinstall": "playwright install --with-deps",
"prebuild:bundler": "wasm-pack build --target web --out-name test --out-dir out/bundler-base/pkg && shx cp index.* out/bundler-base",
"build:bundler:webpack": "webpack",
"build:bundler:rollup": "rollup -c",
Expand Down
14 changes: 9 additions & 5 deletions test/playwright.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,14 @@ export default defineConfig({
name: 'firefox',
use: { ...devices['Desktop Firefox'] }
},
// Wasm doesn't seem to work in Playwright Webkit.
// {
// name: 'webkit',
// use: { ...devices['Desktop Safari'] }
// }
// Wasm doesn't work in WebKit on Windows.
...(process.platform === 'win32'
? []
: [
{
name: 'webkit',
use: { ...devices['Desktop Safari'] }
}
])
]
});

0 comments on commit 78ff566

Please sign in to comment.