mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
Sets up the test targets for integration tests with the new rule. The targets will match the configuration of the previous integration test setup (through the dictionary in a `bzl` file). Note: We already add `setup_chromium` based on whether Chromium tests run as part of this integration test. In a follow-up commit we can then remove puppeteer and rely on the Bazel-managed version of Chromium. PR Close #44238 |
||
|---|---|---|
| .. | ||
| e2e | ||
| src | ||
| base-config.mjs | ||
| BUILD.bazel | ||
| build.sh | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
| webpack.client.config.mjs | ||
| webpack.server.config.mjs | ||
| yarn.lock | ||
To add a new server side rendering E2E test
- Add a new server side rendered application to src/
- Edit webpack.client.config.js to add new entry point for the new client bundle
- The index.html can access the client bundle from /built/.js
- Edit src/server.ts to add the server side application to a new URL
- Add a protractor test in e2e/ to test with the new URL