Skip to content

Commit 9f95e05

Browse files
prameshjdwyfrequency
authored andcommitted
Update Selenium webdriver tests instructions (#7150)
1 parent c2d3242 commit 9f95e05

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/auth/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@ commands also run various tests:
4040
* `yarn test:webdriver` — Executes only the Selenium WebDriver
4141
integration tests
4242

43+
Note - The webdriver tests require the Chrome webdriver to match the version of Chrome running locally.
44+
In the CI environment, this is ensured using the environment variable [here.](https://github.com/firebase/firebase-js-sdk/blob/6e80a678fe0c31046860554cec0459a2be34d22b/.github/workflows/test-changed-auth.yml#L7)
45+
When running locally, change the chromedriver version in [package.json](https://github.com/firebase/firebase-js-sdk/blob/6e80a678fe0c31046860554cec0459a2be34d22b/packages/auth/package.json#L124) to match your local Chrome version and run `yarn install`.
46+
47+
4348
For example, to run all integration and WebDriver tests against the emulator,
4449
you would simply execute the following command:
4550

0 commit comments

Comments
 (0)