Skip to content

Commit

Permalink
test(extension): e2e - set specific chrome/chromedriver version (#874)
Browse files Browse the repository at this point in the history
  • Loading branch information
ljagiela authored Feb 2, 2024
1 parent 08fead5 commit 789c550
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/e2e-tests-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,17 +46,26 @@ jobs:
run: ./decrypt_secret.sh
env:
WALLET_1_PASSWORD: ${{ secrets.WALLET_PASSWORD_TESTNET }}
- name: Downgrade chrome
run: |
wget -q -O /tmp/chrome.deb http://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_120.0.6099.216-1_amd64.deb \
&& sudo apt install -y --allow-downgrades /tmp/chrome.deb \
&& rm /tmp/chrome.deb
- name: Build dist version of Lace
uses: ./.github/shared/build
with:
LACE_EXTENSION_KEY: ${{ secrets.MANIFEST_PUBLIC_KEY }}
- name: Start XVFB
run: |
Xvfb :99 &
- name: setup chromedriver
uses: nanasess/setup-chromedriver@v2
with:
chromedriver-version: '120.0.6099.216'
- name: Start Chrome driver
run: |
if [ ${BROWSER} == "chrome" ]; then
${CHROMEWEBDRIVER}/chromedriver -port=4444 &
chromedriver -port=4444 &
else
echo "Skipping start of ChromeDriver"
fi
Expand Down

0 comments on commit 789c550

Please sign in to comment.