angular/aio/tools/firebase-test-utils
Paul Gschwendtner 42619bd670 build: remove puppeteer, remaining usages of webdriver-manager and migrate AIO production test to Bazel (#49025)
This commit does three things that all related and required to get
rid of `webdriver-manager`:

* Our puppeteer protractor setup in AIO relies on webdriver-manager
because we install a corresponding chromedriver based on the puppeteer
chromium version. We would like to get rid of this brittle setup.

* We don't use `puppeteer` in many places because we manage chromium and
the driver through Bazel. This commit removes the remaining puppeteer
usage and replaces it with the Bazel-managed canonical browser

* We need to migrate the AIO production URL tests to Bazel. These
weren't part of Aspect's migration. This is needed so that we can drop
puppeteer and use the Bazel browser setup.

* Migrates some at-runtime TS `ts-node` test setup to proper idiomatic
Bazel code. Needed because it depends on code that also had to be
migrated to Bazel given the production e2e test Bazel migration (above
points).

Note: The xregexp dependency had to be added to the root project because
`ts_library` does not support compilation deps from `@aio_npm`. This is
something we will fix anyway when we have a more modern toolchain!

PR Close #49025
2023-02-10 19:22:18 +00:00
..
.eslintrc.json refactor(docs-infra): introduce max-len 120 eslint rule (#43439) 2021-09-15 10:47:35 -07:00
BUILD.bazel build: remove puppeteer, remaining usages of webdriver-manager and migrate AIO production test to Bazel (#49025) 2023-02-10 19:22:18 +00:00
FirebaseRedirect.spec.ts test(docs-infra): update firebase-test-utils to support regex-based redirects (#41842) 2021-04-27 14:05:23 -07:00
FirebaseRedirect.ts build: remove puppeteer, remaining usages of webdriver-manager and migrate AIO production test to Bazel (#49025) 2023-02-10 19:22:18 +00:00
FirebaseRedirector.spec.ts test(docs-infra): ensure all redirect rules are tested (#42452) 2021-06-18 17:32:57 +00:00
FirebaseRedirector.ts test(docs-infra): ensure all redirect rules are tested (#42452) 2021-06-18 17:32:57 +00:00
FirebaseRedirectSource.spec.ts build(bazel): fix a bug where aio firebase utils tests could not link 2022-11-22 13:51:16 -07:00
FirebaseRedirectSource.ts build: remove puppeteer, remaining usages of webdriver-manager and migrate AIO production test to Bazel (#49025) 2023-02-10 19:22:18 +00:00
tsconfig.json build: remove puppeteer, remaining usages of webdriver-manager and migrate AIO production test to Bazel (#49025) 2023-02-10 19:22:18 +00:00