Skip to content

Commit 80a7f7c

Browse files
authored
Pin the webdriver version in Firefox test to avoid install failures. (#7504)
Example error - https://github.com/firebase/firebase-js-sdk/actions/runs/5693107410/job/15431784566?pr=7501 "No such object: chromedriver/LATEST_RELEASE_115.0.5790"
1 parent 146b699 commit 80a7f7c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/test-changed-auth.yml

+7
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,20 @@ jobs:
4545
# Whatever version of Firefox comes with 22.04 is causing Firefox
4646
# startup to hang when launched by karma. Need to look further into
4747
# why.
48+
4849
runs-on: ubuntu-20.04
4950

51+
# Chrome webdriver version is pinned to avoid install failures like "No such object: chromedriver/LATEST_RELEASE_115.0.5790"
52+
# These are installed even in the Firefox test due to `yarn` command which pulls the devDependency listed in package.json.
5053
steps:
5154
- name: install Firefox stable
5255
run: |
5356
sudo apt-get update
5457
sudo apt-get install firefox
58+
sudo apt-get install wget
59+
sudo wget http://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_110.0.5481.177-1_amd64.deb
60+
sudo apt-get install -f ./google-chrome-stable_110.0.5481.177-1_amd64.deb --allow-downgrades
61+
5562
- name: Checkout Repo
5663
uses: actions/checkout@master
5764
with:

0 commit comments

Comments
 (0)