Unify approach for WebAuthn tests (#29781)
Closes #29780 Signed-off-by: Martin Bartoš <mabartos@redhat.com>
This commit is contained in:
parent
1e4ccf24bc
commit
3f49036192
60 changed files with 7 additions and 15 deletions
11
.github/workflows/ci.yml
vendored
11
.github/workflows/ci.yml
vendored
|
@ -693,14 +693,11 @@ jobs:
|
|||
name: Integration test setup
|
||||
uses: ./.github/actions/integration-test-setup
|
||||
|
||||
# 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
|
||||
# if: matrix.browser == 'chrome'
|
||||
|
||||
- name: Run WebAuthn IT
|
||||
run: ./mvnw test ${{ env.SUREFIRE_RETRY }} -Pauth-server-quarkus -Dtest=org.keycloak.testsuite.webauthn.**.*Test -Dbrowser=${{ matrix.browser }} "-Dwebdriver.chrome.driver=$CHROMEWEBDRIVER/chromedriver" "-Dwebdriver.gecko.driver=$GECKOWEBDRIVER/geckodriver" -Pwebauthn -f testsuite/integration-arquillian/tests/other/pom.xml 2>&1 | misc/log/trimmer.sh
|
||||
run: |
|
||||
TESTS=`testsuite/integration-arquillian/tests/base/testsuites/suite.sh webauthn`
|
||||
echo "Tests: $TESTS"
|
||||
./mvnw test ${{ env.SUREFIRE_RETRY }} -Pauth-server-quarkus -Dtest=$TESTS -Dbrowser=${{ matrix.browser }} "-Dwebdriver.chrome.driver=$CHROMEWEBDRIVER/chromedriver" "-Dwebdriver.gecko.driver=$GECKOWEBDRIVER/geckodriver" -pl testsuite/integration-arquillian/tests/base 2>&1 | misc/log/trimmer.sh
|
||||
|
||||
- name: Upload JVM Heapdumps
|
||||
if: always()
|
||||
|
|
|
@ -18,7 +18,6 @@
|
|||
package org.keycloak.testsuite.webauthn.registration;
|
||||
|
||||
import com.webauthn4j.data.UserVerificationRequirement;
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Test;
|
||||
import org.keycloak.testsuite.arquillian.annotation.IgnoreBrowserDriver;
|
||||
import org.keycloak.testsuite.util.WaitUtils;
|
|
@ -1,2 +1,2 @@
|
|||
user_pref("security.webauth.webauthn_enable_softtoken", true);
|
||||
user_pref("security.webauth.webauthn_enable_usbtoken", false);
|
||||
user_pref("security.webauth.webauthn_enable_usbtoken", false);
|
|
@ -45,5 +45,6 @@ user,4
|
|||
util,4
|
||||
validation,6
|
||||
vault,4
|
||||
webauthn,IGNORED
|
||||
welcomepage,6
|
||||
x509,4
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
org.keycloak.testsuite.webauthn.**
|
|
@ -142,12 +142,6 @@
|
|||
<module>sssd</module>
|
||||
</modules>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>webauthn</id>
|
||||
<modules>
|
||||
<module>webauthn</module>
|
||||
</modules>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
</project>
|
||||
|
|
Loading…
Reference in a new issue