diff --git a/plugins/web/opentelemetry-instrumentation-document-load/web-test-runner.config.mjs b/plugins/web/opentelemetry-instrumentation-document-load/web-test-runner.config.mjs index 3c69a11980..1989a756fd 100644 --- a/plugins/web/opentelemetry-instrumentation-document-load/web-test-runner.config.mjs +++ b/plugins/web/opentelemetry-instrumentation-document-load/web-test-runner.config.mjs @@ -18,6 +18,7 @@ import { nodeResolve as nodeResolveRollup } from '@rollup/plugin-node-resolve'; import commonjsRollup from '@rollup/plugin-commonjs'; import { esbuildPlugin } from '@web/dev-server-esbuild'; import { fromRollup } from '@web/dev-server-rollup'; +import { chromeLauncher } from '@web/test-runner'; const nodeResolve = fromRollup(nodeResolveRollup); const commonjs = fromRollup(commonjsRollup); @@ -25,7 +26,7 @@ const commonjs = fromRollup(commonjsRollup); export default { files: ['test/**/*.test.ts'], nodeResolve: true, - browserStartTimeout: 35000, + browsers: [chromeLauncher({ launchOptions: { args: ['--no-sandbox'] } })], plugins: [ esbuildPlugin({ ts: true }), nodeResolve({ browser: true, preferBuiltins: false }),