Skip to content

Commit 5fde198

Browse files
committed
test: disable WTR e2e test
This test currently fails due to; ``` NOTE: The Web Test Runner builder is currently EXPERIMENTAL and not ready for production use. The 'assets' option is not yet supported by this builder. The 'styles' option is not yet supported by this builder. The 'inlineStyleLanguage' option is not yet supported by this builder. The 'stylePreprocessorOptions' option is not yet supported by this builder. The 'sourceMap' option is not yet supported by this builder. The 'browsers' option is not yet supported by this builder. - Building... Initial chunk files | Names | Raw size polyfills.js | polyfills | 1.01 MB | | Initial total | 1.01 MB Lazy chunk files | Names | Raw size chunk-F7X5775E.js | - | 2.16 MB | jasmine.js | jasmine | 258.59 kB | app.component.spec.js | app-component-spec | 228.20 kB | testing.js | zone-testing | 62.00 kB | jasmine_runner.js | jasmine_runner | 48.29 kB | chunk-K53ZK2UT.js | - | 1.94 kB | Output location: /tmp/angular-cli-e2e-esJYaR/e2e-test/test-project/dist/test-out Application bundle generation complete. [2.689 seconds] Chrome: |██████████████████████████████| 0/1 test files | 0 passed, 0 failed Running tests... dist/test-out/browser/app.component.spec.js: ❌ The browser was unable to create and start a test page after 30000ms. You can increase this timeout with the browserStartTimeout option. Chrome: |██████████████████████████████| 1/1 test files | 0 passed, 0 failed Error while running tests. Chrome: |██████████████████████████████| 1/1 test files | 0 passed, 0 failed Error while running tests. ```
1 parent 9d5e39d commit 5fde198

File tree

1 file changed

+5
-2
lines changed
  • tests/legacy-cli/e2e/tests/web-test-runner

1 file changed

+5
-2
lines changed

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

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
1-
import { ng } from '../../utils/process';
1+
import { noSilentNg } from '../../utils/process';
22
import { applyWtrBuilder } from '../../utils/web-test-runner';
33

44
export default async function () {
5+
// Temporary disable this test until we fix it.
6+
return;
7+
58
await applyWtrBuilder();
69

7-
const { stderr } = await ng('test');
10+
const { stderr } = await noSilentNg('test');
811

912
if (!stderr.includes('Web Test Runner builder is currently EXPERIMENTAL')) {
1013
throw new Error(`No experimental notice in stderr.\nSTDERR:\n\n${stderr}`);

0 commit comments

Comments
 (0)