Run WebAuthn IT with Chrome. (#17256)
This commit is contained in:
parent
bd36b21969
commit
923a321a55
3 changed files with 9 additions and 9 deletions
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
|
@ -504,26 +504,20 @@ jobs:
|
|||
name: WebAuthn IT
|
||||
runs-on: ubuntu-latest
|
||||
needs: build
|
||||
timeout-minutes: 30
|
||||
timeout-minutes: 45
|
||||
strategy:
|
||||
matrix:
|
||||
browser: [firefox] # Chrome not working for now
|
||||
browser: [chrome]
|
||||
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 WebAuthn IT
|
||||
run: ./mvnw test -Dsurefire.rerunFailingTestsCount=${{ env.SUREFIRE_RERUN_FAILING_COUNT }} -nsu -B -Pauth-server-quarkus -Dtest=org.keycloak.testsuite.webauthn.**.*Test -Dbrowser=${{ matrix.browser }} -Pwebauthn -f testsuite/integration-arquillian/tests/other/pom.xml | misc/log/trimmer.sh
|
||||
run: ./mvnw test -Dsurefire.rerunFailingTestsCount=${{ env.SUREFIRE_RERUN_FAILING_COUNT }} -nsu -B -Pauth-server-quarkus -Dtest=org.keycloak.testsuite.webauthn.**.*Test -Dbrowser=${{ matrix.browser }} "-Dwebdriver.chrome.driver=$CHROMEWEBDRIVER/chromedriver" -Pwebauthn -f testsuite/integration-arquillian/tests/other/pom.xml | misc/log/trimmer.sh
|
||||
|
||||
- name: Upload JVM Heapdumps
|
||||
if: always()
|
||||
|
|
|
@ -19,6 +19,7 @@ package org.keycloak.testsuite.webauthn.registration;
|
|||
import com.webauthn4j.data.AuthenticatorAttachment;
|
||||
import com.webauthn4j.data.UserVerificationRequirement;
|
||||
import org.junit.Test;
|
||||
import org.junit.Ignore;
|
||||
import org.keycloak.testsuite.arquillian.annotation.IgnoreBrowserDriver;
|
||||
import org.keycloak.testsuite.webauthn.AbstractWebAuthnVirtualTest;
|
||||
import org.keycloak.testsuite.webauthn.utils.WebAuthnRealmData;
|
||||
|
@ -47,6 +48,7 @@ public class AuthAttachmentRegisterTest extends AbstractWebAuthnVirtualTest {
|
|||
}
|
||||
|
||||
@Test
|
||||
@Ignore
|
||||
public void authenticatorAttachmentCrossPlatformInternal() {
|
||||
getVirtualAuthManager().useAuthenticator(DEFAULT_INTERNAL.getOptions());
|
||||
assertAuthenticatorAttachment(true, AuthenticatorAttachment.CROSS_PLATFORM);
|
||||
|
|
|
@ -19,6 +19,7 @@ package org.keycloak.testsuite.webauthn.registration;
|
|||
|
||||
import org.hamcrest.Matchers;
|
||||
import org.junit.Test;
|
||||
import org.junit.Ignore;
|
||||
import org.keycloak.representations.idm.CredentialRepresentation;
|
||||
import org.keycloak.testsuite.webauthn.AbstractWebAuthnVirtualTest;
|
||||
import org.keycloak.testsuite.webauthn.pages.WebAuthnAuthenticatorsList;
|
||||
|
@ -78,6 +79,7 @@ public class PolicyJsInjectionTest extends AbstractWebAuthnVirtualTest {
|
|||
}
|
||||
|
||||
@Test
|
||||
@Ignore
|
||||
public void attestationConveyancePreference() {
|
||||
final String expectedMessage = getExpectedMessageByDriver(
|
||||
"(value of 'attestation' member of PublicKeyCredentialCreationOptions) is not a valid value for enumeration AttestationConveyancePreference.",
|
||||
|
@ -90,6 +92,7 @@ public class PolicyJsInjectionTest extends AbstractWebAuthnVirtualTest {
|
|||
}
|
||||
|
||||
@Test
|
||||
@Ignore
|
||||
public void authenticatorAttachment() {
|
||||
final String expectedMessage = getExpectedMessageByDriver(
|
||||
"(value of 'authenticatorAttachment' member of AuthenticatorSelectionCriteria) is not a valid value for enumeration AuthenticatorAttachment.",
|
||||
|
@ -110,6 +113,7 @@ public class PolicyJsInjectionTest extends AbstractWebAuthnVirtualTest {
|
|||
}
|
||||
|
||||
@Test
|
||||
@Ignore
|
||||
public void userVerificationRequirement() {
|
||||
String expectedMessage = getExpectedMessageByDriver(
|
||||
"(value of 'userVerification' member of AuthenticatorSelectionCriteria) is not a valid value for enumeration UserVerificationRequirement.",
|
||||
|
|
Loading…
Reference in a new issue