Cannot execute Old Admin Console tests (#13887)

Fixes #14005
This commit is contained in:
Martin Bartoš 2022-08-29 07:41:22 -04:00 committed by GitHub
parent a364a05cfa
commit 090f7f89d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
232 changed files with 12 additions and 9 deletions

View File

@ -339,10 +339,10 @@ are correctly migrated from previous version
For the available versions, take a look at the directory [tests/other/server-config-migration/src/test/resources/standalone](tests/other/server-config-migration/src/test/resources/standalone)
## Admin Console UI tests
## Old Admin Console UI tests
The UI tests are real-life, UI focused integration tests. Hence they do not support the default HtmlUnit browser. Only the following real-life browsers are supported: Mozilla Firefox and Google Chrome. For details on how to run the tests with these browsers, please refer to [Different Browsers](#different-browsers) chapter.
The UI tests are focused on the Admin Console. They are placed in the `console` module and are disabled by default.
The UI tests are focused on the Admin Console. They are placed in the `old-admin-console` module and are disabled by default.
The tests also use some constants placed in [test-constants.properties](tests/base/src/test/resources/test-constants.properties). A different file can be specified by `-Dtestsuite.constants=path/to/different-test-constants.properties`
@ -350,7 +350,7 @@ In case a custom `settings.xml` is used for Maven, you need to specify it also i
#### Execution example
```
mvn -f testsuite/integration-arquillian/tests/other/console/pom.xml \
mvn -f testsuite/integration-arquillian/tests/other/old-admin-console/pom.xml \
clean test \
-Dbrowser=firefox \
-Dfirefox_binary=/opt/firefox-45.1.1esr/firefox

View File

@ -126,10 +126,10 @@ They are designed to work with most of the desktop browsers (HtmlUnit included)
The tests are place in a separate module (`tests/other/base-ui`) and are disabled by default.
### Admin Console UI Tests
### Old Admin Console UI Tests
Tests for Keycloak Admin Console are located in a separate module `tests/other/console`
and are **disabled** by default. Can be enabled by `-Pconsole-ui-tests`.
Tests for the old Keycloak Admin Console are located in a separate module `tests/other/old-admin-console`
and are **disabled** by default. Can be enabled by `-Pold-admin-console`.
#### Types of adapter tests

View File

@ -29,7 +29,7 @@
<artifactId>integration-arquillian-tests-console</artifactId>
<name>Admin Console UI Tests</name>
<name>Old Admin Console UI Tests</name>
<properties>
<keycloak.theme.dir>${auth.server.home}/themes</keycloak.theme.dir>

Some files were not shown because too many files have changed in this diff Show More