Skip to content

Commit 1a04039

Browse files
dgp1130alan-agius4
authored andcommitted
ci: disable WTR e2e test on Windows
It doesn't appear to be finding the Chrome binary from Bazel correctly. Likely a Bazel-specific issue. This should get the build green immediately, will need to spend more time looking into the issue. (cherry picked from commit e0205ad)
1 parent 9cb492d commit 1a04039

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/legacy-cli/e2e/utils/web-test-runner.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ import { updateJsonFile } from './project';
33

44
/** Updates the `test` builder in the current workspace to use Web Test Runner with the given options. */
55
export async function applyWtrBuilder(): Promise<void> {
6+
// Does not load Chrome binary correctly on Windows.
7+
if (process.platform.startsWith('win')) {
8+
return;
9+
}
10+
611
await silentNpm('install', '@web/test-runner', '--save-dev');
712

813
await updateJsonFile('angular.json', (json) => {

0 commit comments

Comments
 (0)