Skip to content

Commit

Permalink
fix: headless testing and limit to chromium
Browse files Browse the repository at this point in the history
  • Loading branch information
trusz committed Oct 20, 2024
1 parent 474a4a3 commit 785d48d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-and-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ jobs:
run: |
npm i @nx/nx-linux-x64-gnu
npm clean-install
npx playwright install --with-deps
npx playwright install chromium --with-deps
npm run-script test
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ jobs:
run: |
npm i @nx/nx-linux-x64-gnu
npm clean-install
npx playwright install --with-deps
npx playwright install chromium --with-deps
npm run-script test
2 changes: 1 addition & 1 deletion packages/openscd/web-test-runner.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default /** @type {import("@web/test-runner").TestRunnerConfig} */ ({
*/
browserLogs: false,
browsers: [
playwrightLauncher({ product: 'chromium', launchOptions: { headless: false } }),
playwrightLauncher({ product: 'chromium', launchOptions: { headless: true } }),
// playwrightLauncher({ product: 'firefox' }),
// playwrightLauncher({ product: 'webkit' }),
],
Expand Down

0 comments on commit 785d48d

Please sign in to comment.