Skip to content

Commit

Permalink
tests: fix tests using Chrome headless old
Browse files Browse the repository at this point in the history
  • Loading branch information
luwes committed Sep 19, 2024
1 parent 87c8bee commit 20e49c7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/web-test-runner.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import process from 'node:process';
import { esbuildPlugin } from '@web/dev-server-esbuild';
import { playwrightLauncher } from '@web/test-runner-playwright';
import process from 'node:process';
import { chromeLauncher } from '@web/test-runner';

const config = {
/** Test files to run */
Expand All @@ -14,6 +15,8 @@ const config = {

/** Amount of test files per browser to test concurrently */
// concurrency: 1,

browsers: [chromeLauncher({ launchOptions: { args: ['--headless=old'] } })],
};

if (process.argv.some((arg) => arg.includes('--all'))) {
Expand Down

0 comments on commit 20e49c7

Please sign in to comment.