Partially fix #22251. Disable Chrome for testing.

This commit is contained in:
Miquel Simon 2023-08-04 08:53:01 +02:00 committed by Alexander Schwartz
parent 4b537bee42
commit 4d9e23700c
2 changed files with 2 additions and 12 deletions

View file

@ -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

View file

@ -428,11 +428,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
@ -463,11 +458,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`
@ -503,7 +493,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