From cdd2ddae631806d2c72bf757c8501fdb07bedd1f Mon Sep 17 00:00:00 2001 From: Miquel Simon Date: Fri, 4 Aug 2023 08:53:01 +0200 Subject: [PATCH] Partially fix #22251. Disable Chrome for testing. --- .github/actions/install-chrome/action.yml | 2 +- .github/workflows/ci.yml | 12 +----------- 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/.github/actions/install-chrome/action.yml b/.github/actions/install-chrome/action.yml index dfe17ed0674..bb05679251b 100644 --- a/.github/actions/install-chrome/action.yml +++ b/.github/actions/install-chrome/action.yml @@ -28,7 +28,7 @@ runs: # In case there's more than one version of each package, let's use only the latest LATEST_CHROME=$(ls -td $PWD/chrome/*/ | head -1) LATEST_CHROMEDRIVER=$(ls -td $PWD/chromedriver/*/ | head -1) - sudo ln -s -f "${LATEST_CHROME}chrome-linux64/chrome" /usr/bin/chrome + sudo ln -s -f "${LATEST_CHROME}chrome-linux64/chrome" /usr/bin/google-chrome-stable sudo cp -u "${LATEST_CHROMEDRIVER}chromedriver-linux64/chromedriver" $CHROMEWEBDRIVER/ # Remove any older version of browser or driver so we don't keep it in the cache cd chrome diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4248ab35160..a1eafffde41 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -504,11 +504,6 @@ jobs: name: Integration test setup uses: ./.github/actions/integration-test-setup - - id: install-chrome - name: Install Chrome browser - uses: ./.github/actions/install-chrome - if: matrix.browser == 'chrome' - - name: Run Account Console IT run: ./mvnw test ${{ env.SUREFIRE_RETRY }} -Pauth-server-quarkus -Dtest=**.account2.**,!SigningInTest#passwordlessWebAuthnTest,!SigningInTest#twoFactorWebAuthnTest -Dbrowser=${{ matrix.browser }} "-Dwebdriver.chrome.driver=$CHROMEWEBDRIVER/chromedriver" "-Dwebdriver.gecko.driver=$GECKOWEBDRIVER/geckodriver" -f testsuite/integration-arquillian/tests/other/base-ui/pom.xml | misc/log/trimmer.sh @@ -544,11 +539,6 @@ jobs: name: Integration test setup uses: ./.github/actions/integration-test-setup - - id: install-chrome - name: Install Chrome browser - uses: ./.github/actions/install-chrome - if: matrix.browser == 'chrome' - - name: Run Forms IT run: | TESTS=`testsuite/integration-arquillian/tests/base/testsuites/suite.sh forms` @@ -589,7 +579,7 @@ jobs: name: Integration test setup uses: ./.github/actions/integration-test-setup - # Don't use Chrome for testing (just regular Chrome) until https://bugs.chromium.org/p/chromedriver/issues/detail?id=4533 is resolved + # Don't use Chrome for testing (just regular Chrome) until https://github.com/keycloak/keycloak/issues/22214 is resolved #- id: install-chrome # name: Install Chrome browser # uses: ./.github/actions/install-chrome