angular/integration/trusted-types
Paul Gschwendtner 2664bc2b3e test: switch integration tests from puppeteer/webdriver-manager to Bazel-managed chromium (#44238)
Switches the integration tests form Puppeteer/webdriver-manager to the
Bazel-managed Chromium/Chromedriver. This is now possible with the new
integration test rule for which we can consult the
`dev-infra/bazel/browsers` toolchain and setup environment variables.
This has been configured already in a previous commit.

This commit also includes some additional small cleanups necessary for
the new integration test rule:

* The `test.sh` scripts have been renamed as they would conflict with
  the `test.sh` scripts generated by the integration test rule.
  Previously this was not an issue because tests were declared at a
  higher-level. As mentioned though this has other downsides and it is
  trivial to rename the file.

* Related to the point above, since tests are now declared witin the
  actual test folder (for perf e.g.), `package.json` files setting
  `"type": "module"` will accidentally cause the `nodejs_test`-generated
  files to be considered ESM. This is not correct and likely needs to be
  fixed upstream in `rules_nodejs` where explicit `.cjs` extensions
  should be used. This is only happening **once** in the `injectable-def`
  test so it is acceptable doing that for now.

PR Close #44238
2021-12-08 13:42:42 -05:00
..
e2e test: switch integration tests from puppeteer/webdriver-manager to Bazel-managed chromium (#44238) 2021-12-08 13:42:42 -05:00
src docs: remove augury resource (#41107) 2021-03-08 10:00:13 -08:00
.browserslistrc test: update browserslist configuration to replace Angular CLI projects (#43417) 2021-09-24 10:49:39 -07:00
.editorconfig test(core): rename ivy-trusted-types integration test to trusted-types (#39614) 2020-11-19 12:16:41 -08:00
.gitignore test(core): rename ivy-trusted-types integration test to trusted-types (#39614) 2020-11-19 12:16:41 -08:00
angular.json test: remove progress option from dev-server builder (#43730) 2021-10-06 09:23:59 -07:00
BUILD.bazel build: setup test targets for integration tests with new rule (#44238) 2021-12-08 13:42:41 -05:00
karma.conf.js test: switch integration tests from puppeteer/webdriver-manager to Bazel-managed chromium (#44238) 2021-12-08 13:42:42 -05:00
package.json test: switch integration tests from puppeteer/webdriver-manager to Bazel-managed chromium (#44238) 2021-12-08 13:42:42 -05:00
README.md test(core): rename ivy-trusted-types integration test to trusted-types (#39614) 2020-11-19 12:16:41 -08:00
tsconfig.app.json test(core): rename ivy-trusted-types integration test to trusted-types (#39614) 2020-11-19 12:16:41 -08:00
tsconfig.json test(core): rename ivy-trusted-types integration test to trusted-types (#39614) 2020-11-19 12:16:41 -08:00
tsconfig.spec.json test(core): rename ivy-trusted-types integration test to trusted-types (#39614) 2020-11-19 12:16:41 -08:00
tslint.json test(core): rename ivy-trusted-types integration test to trusted-types (#39614) 2020-11-19 12:16:41 -08:00
yarn.lock test: switch integration tests from puppeteer/webdriver-manager to Bazel-managed chromium (#44238) 2021-12-08 13:42:42 -05:00

IvyTrustedTypes

This project was generated with Angular CLI version 11.0.0-rc.1.

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI Overview and Command Reference page.