diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 67c19b0f31ff..6a13de6a0b1d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -322,6 +322,57 @@ jobs: with: job-id: jdk-integration-tests-${{ matrix.os }}-${{ matrix.dist }}-${{ matrix.version }} + login-v1-tests: + name: Login Theme v1 tests + needs: build + timeout-minutes: 100 + strategy: + matrix: + os: [ubuntu-latest] + dist: [temurin] + version: [17] + fail-fast: false + runs-on: ${{ matrix.os }} + steps: + - uses: actions/checkout@v4 + + - id: login-v1-test-setup + name: Integration test setup + uses: ./.github/actions/integration-test-setup + with: + jdk-dist: ${{ matrix.dist }} + jdk-version: ${{ matrix.version }} + + - name: Prepare Quarkus distribution with current JDK + run: ./mvnw install -e -pl testsuite/integration-arquillian/servers/auth-server/quarkus + + - name: Run base tests + run: | + TESTS=`testsuite/integration-arquillian/tests/base/testsuites/suite.sh login` + echo "Tests: $TESTS" + ./mvnw test ${{ env.SUREFIRE_RETRY }} -Dlogin.theme.default=keycloak -Pauth-server-quarkus -Dtest=$TESTS "-Dwebdriver.chrome.driver=$CHROMEWEBDRIVER/chromedriver" -pl testsuite/integration-arquillian/tests/base 2>&1 | misc/log/trimmer.sh + + - name: Build with JDK + run: + ./mvnw install -e -DskipTests -DskipExamples + + - name: Upload JVM Heapdumps + if: always() + uses: ./.github/actions/upload-heapdumps + + - uses: ./.github/actions/upload-flaky-tests + name: Upload flaky tests + env: + GH_TOKEN: ${{ github.token }} + with: + job-name: Java Distribution IT + + - name: Surefire reports + if: always() + uses: ./.github/actions/archive-surefire-reports + with: + job-id: jdk-integration-tests-${{ matrix.os }}-${{ matrix.dist }}-${{ matrix.version }} + volatile-sessions-tests: name: Volatile Sessions IT needs: [build, conditional] diff --git a/testsuite/integration-arquillian/tests/base/testsuites/login-suite b/testsuite/integration-arquillian/tests/base/testsuites/login-suite new file mode 100644 index 000000000000..2575acec2c54 --- /dev/null +++ b/testsuite/integration-arquillian/tests/base/testsuites/login-suite @@ -0,0 +1,15 @@ +AdminConsoleWhoAmILocaleTest +AppInitiatedActionUpdateEmailWithVerificationTest +AuthorizationCodeTest +IdpInitiatedLoginTest +KcOidcFirstBrokerLoginTest +KcOidcMultipleTabsBrokerTest +LoginPageTest +RefreshTokenTest +RegisterWithUserProfileTest +RequiredActionUpdateProfileTest +RequiredActionUpdateProfileWithUserProfileTest +SAMLServletAdapterTest +ThemeSelectorTest +VerifyProfileTest +X509BrowserLoginTest