diff --git a/.github/workflows/e2e-tests.yml b/.github/workflows/e2e-tests.yml index 5bdaecfb78..26802a7427 100644 --- a/.github/workflows/e2e-tests.yml +++ b/.github/workflows/e2e-tests.yml @@ -40,7 +40,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 @@ -78,7 +104,7 @@ jobs: uses: cypress-io/github-action@8d3918616d8ac34caa2b49afc8b408b6a872a6f5 # pin@v6.7.1 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/*