Skip to content

Commit

Permalink
ci: use Chrome 128 (#1932)
Browse files Browse the repository at this point in the history
  • Loading branch information
fionnachan authored Sep 26, 2024
1 parent 4cc23f7 commit 4f89ac3
Showing 1 changed file with 28 additions and 2 deletions.
30 changes: 28 additions & 2 deletions .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,33 @@ jobs:
fail-fast: false
matrix:
test: ${{ fromJson(needs.load-e2e-files.outputs.matrix) }}

steps:
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be
with:
# this might remove tools that are actually needed,
# if set to "true" but frees about 6 GB
tool-cache: false

# all of these default to true, but feel free to set to
# "false" if necessary for your workflow
android: true
dotnet: true
haskell: true
large-packages: true
docker-images: false
swap-storage: true

# we found on 26 Sep that using Chrome 129 mysteriously broke ci at setupMetamask step
# with the following error: > Cannot read properties of undefined (reading 'waitForTimeout')
# so we are reverting to Chrome 128 on ci
# https://www.ubuntuupdates.org/package_logs?type=ppas&vals=8
- name: Set up Chrome 128
run: |
wget http://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_128.0.6613.137-1_amd64.deb
sudo apt-get install ./google-chrome-stable_128.0.6613.137-1_amd64.deb
- name: Checkout
uses: actions/checkout@v4

Expand Down Expand Up @@ -73,7 +99,7 @@ jobs:
uses: cypress-io/github-action@8d3918616d8ac34caa2b49afc8b408b6a872a6f5 # [email protected]
with:
start: yarn start
command: "yarn test:e2e${{ (matrix.test.type == 'cctp' && ':cctp') || (matrix.test.type == 'orbit' && ':orbit') || '' }} --browser chromium"
command: "yarn test:e2e${{ (matrix.test.type == 'cctp' && ':cctp') || (matrix.test.type == 'orbit' && ':orbit') || '' }} --browser chrome"
wait-on: http://127.0.0.1:3000
wait-on-timeout: 120
spec: ./packages/arb-token-bridge-ui/tests/e2e/specs/*
Expand Down Expand Up @@ -118,4 +144,4 @@ jobs:
then
gh actions-cache delete build-artifacts-${{ github.run_id }}-${{ github.run_attempt }} --confirm
fi
shell: bash
shell: bash

0 comments on commit 4f89ac3

Please sign in to comment.