Skip to content

Commit 790318a

Browse files
committed
Pin chrome v114
1 parent 6aaa48a commit 790318a

File tree

2 files changed

+18
-10
lines changed

2 files changed

+18
-10
lines changed

.github/workflows/test-all.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,13 @@ jobs:
1717
# Install Chrome so the correct version of webdriver can be installed by chromedriver when
1818
# setting up the repo. This must be done to build and execute Auth properly.
1919
- name: install Chrome stable
20+
# Pin Chrome version 114.0.5735.90-1 to avoid install failures like "No such object: chromedriver/LATEST_RELEASE_115.0.5790".
21+
# The failure happens because https://chromedriver.chromium.org/downloads only goes up to version 114.
2022
run: |
2123
sudo apt-get update
22-
sudo apt-get install google-chrome-stable
24+
sudo apt-get install wget
25+
sudo wget http://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_114.0.5735.90-1_amd64.deb
26+
sudo apt-get install -f ./google-chrome-stable_114.0.5735.90-1_amd64.deb --allow-downgrades
2327
- uses: actions/checkout@v3
2428
- name: Set up Node (16)
2529
uses: actions/setup-node@v3
@@ -98,13 +102,13 @@ jobs:
98102
steps:
99103
# install Chrome so the correct version of webdriver can be installed by chromedriver when setting up the repo
100104
- name: install Chrome stable
101-
# Install Chrome version 110.0.5481.177-1 as some Auth tests start to fail on version 111.
102-
# Temporary: Auth team will explore what's going wrong with the auth tests.
105+
# Pin Chrome version 114.0.5735.90-1 to avoid install failures like "No such object: chromedriver/LATEST_RELEASE_115.0.5790".
106+
# The failure happens because https://chromedriver.chromium.org/downloads only goes up to version 114.
103107
run: |
104108
sudo apt-get update
105109
sudo apt-get install wget
106-
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
107-
sudo apt-get install -f ./google-chrome-stable_110.0.5481.177-1_amd64.deb --allow-downgrades
110+
sudo wget http://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_114.0.5735.90-1_amd64.deb
111+
sudo apt-get install -f ./google-chrome-stable_114.0.5735.90-1_amd64.deb --allow-downgrades
108112
- name: Download build archive
109113
uses: actions/download-artifact@v3
110114
with:

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

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,13 @@ jobs:
1414
steps:
1515
# install Chrome first, so the correct version of webdriver can be installed by chromedriver when setting up the repo
1616
- name: install Chrome stable
17+
# Pin Chrome version 114.0.5735.90-1 to avoid install failures like "No such object: chromedriver/LATEST_RELEASE_115.0.5790".
18+
# The failure happens because https://chromedriver.chromium.org/downloads only goes up to version 114.
1719
run: |
1820
sudo apt-get update
19-
sudo apt-get install google-chrome-stable
21+
sudo apt-get install wget
22+
sudo wget http://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_114.0.5735.90-1_amd64.deb
23+
sudo apt-get install -f ./google-chrome-stable_114.0.5735.90-1_amd64.deb --allow-downgrades
2024
- name: Checkout Repo
2125
uses: actions/checkout@master
2226
with:
@@ -44,16 +48,16 @@ jobs:
4448

4549
runs-on: ubuntu-20.04
4650

47-
# Chrome webdriver version is pinned to avoid install failures like "No such object: chromedriver/LATEST_RELEASE_115.0.5790"
48-
# These are installed even in the Firefox test due to `yarn` command which pulls the devDependency listed in package.json.
51+
# Pin Chrome version 114.0.5735.90-1 to avoid install failures like "No such object: chromedriver/LATEST_RELEASE_115.0.5790".
52+
# The failure happens because https://chromedriver.chromium.org/downloads only goes up to version 114.
4953
steps:
5054
- name: install Firefox stable
5155
run: |
5256
sudo apt-get update
5357
sudo apt-get install firefox
5458
sudo apt-get install wget
55-
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
56-
sudo apt-get install -f ./google-chrome-stable_110.0.5481.177-1_amd64.deb --allow-downgrades
59+
sudo wget http://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_114.0.5735.90-1_amd64.deb
60+
sudo apt-get install -f ./google-chrome-stable_114.0.5735.90-1_amd64.deb --allow-downgrades
5761
5862
- name: Checkout Repo
5963
uses: actions/checkout@master

0 commit comments

Comments
 (0)