From b3686b2b9efa89d4398cc52661d5027936dce874 Mon Sep 17 00:00:00 2001 From: Caen De Silva Date: Wed, 11 Oct 2023 22:08:15 +0200 Subject: [PATCH] Downgrade Chrome driver to v114 Patch https://github.com/titusfortner/webdrivers/issues/247 via https://stackoverflow.com/a/76980976 --- .github/workflows/end-to-end-testing.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/end-to-end-testing.yml b/.github/workflows/end-to-end-testing.yml index 5904b2ab81e..000b27014be 100644 --- a/.github/workflows/end-to-end-testing.yml +++ b/.github/workflows/end-to-end-testing.yml @@ -32,8 +32,15 @@ jobs: - name: Prepare the Environment run: echo -e "APP_URL=http://localhost:8080 \nDUSK_ENABLED=true\nSERVER_DASHBOARD=false" > .env - - name: Upgrade Chrome Driver - run: php hyde dusk:chrome-driver `/opt/google/chrome/chrome --version | cut -d " " -f3 | cut -d "." -f1` + - name: Downgrade Chrome browser to v114 + uses: browser-actions/setup-chrome@v1 + with: + chrome-version: 1134343 # Last commit number for Chrome v114 + id: setup-chrome + - run: sudo ln -fs ${{ steps.setup-chrome.outputs.chrome-path }} /usr/bin/google-chrome + - name: Downgrade Chrome driver to v114 + run: php hyde dusk:chrome-driver `/usr/bin/google-chrome --version | cut -d " " -f3 | cut -d "." -f1` + - name: Start Chrome Driver run: ./vendor/laravel/dusk/bin/chromedriver-linux &