7 Commits
Author SHA1 Message Date
Matthieu Riegler cd13f72dfb build: update integration tests to jasmine 7
Update Jasmine dependencies (`jasmine`, `jasmine-core`, and `@types/jasmine`) across
`integration/*` packages to v7 and update the integration test suites accordingly:

- Configure `e2e/` directories as native Node ESM (`{"type": "module"}`), remove
  `"jsLoader": "require"` from `jasmine.json`, and drop `ts-node` registration
  in favor of Node's built-in TypeScript support, since Jasmine 7 removed
  `jsLoader` and always loads helpers and specs via `import()`.
- Update `e2e/` imports and TypeScript code for Node ESM compatibility (explicit
  `.ts` / `.js` extensions, `type` imports, and explicit class fields instead of
  constructor parameter properties).
- Move top-level `stopSpecOnExpectationFailure` and `random` options under `env`
  in `integration/animations/e2e/jasmine.json`.
- Remove unused `zone.js/testing` from `angular.json` Karma test polyfills where
  `patchJasmine` fails against Jasmine 7's frozen environment.
2026-10-26 07:10:42 -07:00
Kristiyan Kostadinov 91c2d63414 build: switch integration tests away from protractor
Reworks the integration tests to use Selenium Webdriver instead of Protractor.
2026-09-16 14:52:31 +02:00
Charles Lyding 4999868d8d build: migrate integration tests to manual Protractor setup
Removes the use of the private Protractor builder (`@angular-devkit/build-angular:private-protractor`)
from all integration test projects. Projects that still require E2E tests
now invoke Protractor directly via NPM scripts using `concurrently` to
manage the development server.
2026-02-11 13:38:55 -08:00
Doug Parker 8b5e5f76a4 test: update protractor builder usage to private-protractor (#58254)
This fixes any existing usage of `@angular-devkit/build-angular:protractor` which would be broken by the CLI `-next.12` upgrade.

PR Close #58254
2024-10-22 07:37:14 -07:00
Alan Agius 38de06b2d1 test: disable cache and analytics (#57863)
In Bazel, the `CI` environment variable is not set due to its hermetic nature. As a result, caching is enabled by default, which includes Vite pre-bundling. This is unnecessary in CI environments.

In some cases, this leads to errors during CI runs when the Vite build is closed or canceled prematurely, resulting in the following errors:

```
Error: R] The build was canceled
Error: R] Terminating worker thread [plugin angular-vite-optimize-deps]
```

PR Close #57863
2024-09-19 11:14:23 +02:00
Alan Agius 6e1e70d3f1 ci: use application builder for integration tests (#55660)
This updates the integration tests to use the application builder.

PR Close #55660
2024-05-03 11:21:06 -07:00
Paul Gschwendtner 7f5ae52c02 test: add integration test for signal inputs in CLI (#53808)
This commit introduces a new integration test to ensure signal inputs
work as expected for end uses in Angular CLI applications.

PR Close #53808
2024-01-10 12:21:05 +00:00