From 20e49c72f68e8629cbd0e23f86f7e7b3fc3e9a43 Mon Sep 17 00:00:00 2001 From: Wesley Luyten Date: Thu, 19 Sep 2024 16:36:42 -0500 Subject: [PATCH] tests: fix tests using Chrome headless old --- test/web-test-runner.config.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/web-test-runner.config.js b/test/web-test-runner.config.js index 2d0ce2823..b911d1028 100644 --- a/test/web-test-runner.config.js +++ b/test/web-test-runner.config.js @@ -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 */ @@ -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'))) {