Files
Andrew Kushnir 37e3a6050b test(common): add e2e tests for LCP check logic of the NgOptimizedImage directive (#47082)
This commit adds e2e tests for the LCP check logic. Those tests are needed to verify the behavior in a real browser (vs relying on a Node environment).

PR Close #47082
2022-08-16 17:36:52 +00:00

475 B

  • NgOptimizedImage directive testing

This folder contains a simple application that can be used as a playground for the NgOptimizedImage directive testing. You can run the following command to start the dev server:

yarn ibazel run packages/core/test/bundling/image-directive:devserver

There is also a set of e2e tests (powered by Protractor), which can be invoked by running:

yarn bazel test packages/core/test/bundling/image-directive:protractor_tests