Added New Account Console Tests to CI workflow. (#16547)
This commit is contained in:
parent
977cc473bb
commit
83147a67a0
3 changed files with 42 additions and 2 deletions
37
.github/workflows/ci.yml
vendored
37
.github/workflows/ci.yml
vendored
|
@ -438,6 +438,42 @@ jobs:
|
||||||
with:
|
with:
|
||||||
job-name: FIPS IT
|
job-name: FIPS IT
|
||||||
|
|
||||||
|
account-console-integration-tests:
|
||||||
|
name: Account Console IT
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
needs: build
|
||||||
|
timeout-minutes: 75
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
browser: [firefox] # Chrome not working for now
|
||||||
|
fail-fast: false
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Setup firefox
|
||||||
|
uses: browser-actions/setup-firefox@latest
|
||||||
|
with:
|
||||||
|
firefox-version: latest
|
||||||
|
- run: firefox --version
|
||||||
|
|
||||||
|
- id: integration-test-setup
|
||||||
|
name: Integration test setup
|
||||||
|
uses: ./.github/actions/integration-test-setup
|
||||||
|
|
||||||
|
- name: Run Account Console IT
|
||||||
|
run: ./mvnw test -Dsurefire.rerunFailingTestsCount=${{ env.SUREFIRE_RERUN_FAILING_COUNT }} -nsu -B -Pauth-server-quarkus -Dtest=**.account2.**,!SigningInTest#passwordlessWebAuthnTest,!SigningInTest#twoFactorWebAuthnTest -Dbrowser=${{ matrix.browser }} -f testsuite/integration-arquillian/tests/other/base-ui/pom.xml | misc/log/trimmer.sh
|
||||||
|
|
||||||
|
- 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: Account Console IT
|
||||||
|
|
||||||
check-set-status:
|
check-set-status:
|
||||||
name: Set check conclusion
|
name: Set check conclusion
|
||||||
needs:
|
needs:
|
||||||
|
@ -451,6 +487,7 @@ jobs:
|
||||||
- clustering-integration-tests
|
- clustering-integration-tests
|
||||||
- fips-unit-tests
|
- fips-unit-tests
|
||||||
- fips-integration-tests
|
- fips-integration-tests
|
||||||
|
- account-console-integration-tests
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
outputs:
|
outputs:
|
||||||
conclusion: ${{ steps.check.outputs.conclusion }}
|
conclusion: ${{ steps.check.outputs.conclusion }}
|
||||||
|
|
|
@ -19,6 +19,7 @@ package org.keycloak.testsuite.ui.account2;
|
||||||
|
|
||||||
import org.jboss.arquillian.graphene.page.Page;
|
import org.jboss.arquillian.graphene.page.Page;
|
||||||
import org.junit.Before;
|
import org.junit.Before;
|
||||||
|
import org.junit.Ignore;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
import org.keycloak.models.UserModel;
|
import org.keycloak.models.UserModel;
|
||||||
import org.keycloak.models.credential.PasswordCredentialModel;
|
import org.keycloak.models.credential.PasswordCredentialModel;
|
||||||
|
@ -85,6 +86,7 @@ public class InternationalizationTest extends AbstractAccountTest {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@Ignore
|
||||||
public void loginFormTest() {
|
public void loginFormTest() {
|
||||||
personalInfoPage.navigateTo();
|
personalInfoPage.navigateTo();
|
||||||
loginPage.localeDropdown().selectAndAssert(CUSTOM_LOCALE_NAME);
|
loginPage.localeDropdown().selectAndAssert(CUSTOM_LOCALE_NAME);
|
||||||
|
@ -106,6 +108,7 @@ public class InternationalizationTest extends AbstractAccountTest {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@Ignore
|
||||||
public void shouldDisplayTimeUsingSelectedLocale() {
|
public void shouldDisplayTimeUsingSelectedLocale() {
|
||||||
signingInPage.navigateTo();
|
signingInPage.navigateTo();
|
||||||
loginToAccount();
|
loginToAccount();
|
||||||
|
|
|
@ -222,9 +222,9 @@
|
||||||
<firefoxLegacyDriver>false</firefoxLegacyDriver>
|
<firefoxLegacyDriver>false</firefoxLegacyDriver>
|
||||||
<firefoxDriverVersion/>
|
<firefoxDriverVersion/>
|
||||||
<firefoxUserPreferences/>
|
<firefoxUserPreferences/>
|
||||||
<firefoxHeadless>false</firefoxHeadless>
|
<firefoxHeadless>true</firefoxHeadless>
|
||||||
<chromeBinary/>
|
<chromeBinary/>
|
||||||
<chromeArguments/>
|
<chromeArguments>--headless</chromeArguments>
|
||||||
<chromeDriverVersion/>
|
<chromeDriverVersion/>
|
||||||
|
|
||||||
<appium.platformName/>
|
<appium.platformName/>
|
||||||
|
|
Loading…
Reference in a new issue