Lukas Hanusovsky
2b2107f397
Move Test Framework ( #32407 )
...
* Move Test Framework
Signed-off-by: Lukas Hanusovsky <lhanusov@redhat.com>
* Update .github/workflows/ci.yml
Signed-off-by: Stian Thorgersen <stian@redhat.com>
---------
Signed-off-by: Lukas Hanusovsky <lhanusov@redhat.com>
Signed-off-by: Stian Thorgersen <stian@redhat.com>
Co-authored-by: Stian Thorgersen <stian@redhat.com>
2024-08-28 14:14:08 +02:00
Stian Thorgersen
4450e0e455
Testsuite PoC - Add support for html unit ( #32338 )
...
* Testsuite PoC - Add support for html unit
Signed-off-by: stianst <stianst@gmail.com>
* Update test-poc/framework/src/main/java/org/keycloak/test/framework/config/Config.java
Signed-off-by: Stian Thorgersen <stian@redhat.com>
---------
Signed-off-by: stianst <stianst@gmail.com>
Signed-off-by: Stian Thorgersen <stian@redhat.com>
2024-08-22 16:02:50 +02:00
Stian Thorgersen
948d63f826
Testsuite PoC - Add ability to obtain events in tests using Syslog ( #32304 )
...
Closes #32303
Signed-off-by: stianst <stianst@gmail.com>
2024-08-22 07:09:51 +02:00
Miquel Simon
183a438b11
Migrate UserTest to the new base testsuite ( #31752 )
...
Part of #31750
Signed-off-by: Miquel Simon <msimonma@redhat.com>
2024-08-22 07:06:02 +02:00
fwojnar
3b978c5a13
Adding revocation method into OAuthClient ( #32260 )
...
Signed-off-by: wojnarfilip <fwojnar@redhat.com>
Co-authored-by: wojnarfilip <fwojnar@redhat.com>
2024-08-22 06:59:56 +02:00
Miquel Simon
c539a15ee5
Add Oracle database provider. ( #32070 )
...
Closes #31969
Signed-off-by: Miquel Simon <msimonma@redhat.com>
2024-08-22 06:52:30 +02:00
Stian Thorgersen
b6a82964ed
Initial user documentation for testsuite PoC ( #32183 )
...
Closes #31524
Co-authored-by: Šimon Vacek <86605314+vaceksimon@users.noreply.github.com>
2024-08-19 14:02:06 +02:00
Stian Thorgersen
841e2790ad
Testsuite PoC - Refactor registry and suppliers around annotations, and make lookup of dependency by ref more generic ( #32161 )
...
Signed-off-by: stianst <stianst@gmail.com>
2024-08-19 08:10:54 +02:00
Stian Thorgersen
033314446b
Testsuite PoC - Log requested config when using remote server ( #32193 )
...
Signed-off-by: stianst <stianst@gmail.com>
2024-08-16 14:28:28 +02:00
Stian Thorgersen
67b6cf7eac
Use default bootstrap service account client-id in testsuite PoC ( #32160 )
...
Signed-off-by: stianst <stianst@gmail.com>
2024-08-15 15:35:38 +02:00
Simon Vacek
e8d29462ff
Aded Registry test for realmRef
...
Signed-off-by: Simon Vacek <simonvacky@email.cz>
2024-08-09 07:55:08 -03:00
Simon Vacek
5a6ac58107
Refactor annotation element retrieval
...
Signed-off-by: Simon Vacek <simonvacky@email.cz>
2024-08-09 07:55:08 -03:00
Simon Vacek
ef54d20be1
Fix creating unconfigured realm dependency
...
Signed-off-by: Simon Vacek <simonvacky@email.cz>
2024-08-09 07:55:08 -03:00
Lukas Hanusovsky
11595e2349
Testsuite PoC - RealmRef for Client and User
...
Signed-off-by: Lukas Hanusovsky <lhanusov@redhat.com>
2024-08-09 07:55:08 -03:00
Stian Thorgersen
34f4eeedd8
Testsuite PoC - Prototype OAuth client ( #31663 )
...
Signed-off-by: stianst <stianst@gmail.com>
2024-07-26 15:01:36 +02:00
Stian Thorgersen
4d66f3886b
Testsuite PoC - Added initial config builders ( #31659 )
...
Signed-off-by: stianst <stianst@gmail.com>
2024-07-26 13:54:59 +02:00
Stian Thorgersen
63c9fc52e9
Testsuite PoC - Allow inner classes for config to be non-public ( #31656 )
...
Signed-off-by: stianst <stianst@gmail.com>
2024-07-26 12:02:41 +02:00
Stian Thorgersen
bcbff87336
Add ManagedRealm ( #31621 )
...
Signed-off-by: stianst <stianst@gmail.com>
2024-07-26 09:09:34 +02:00
Stian Thorgersen
140e953d3f
Testsuite PoC - Add support for browsers with and without headless ( #31611 )
...
Signed-off-by: stianst <stianst@gmail.com>
2024-07-25 13:41:50 +02:00
Jon Koops
c92c642fec
TestSuite PoC - Rename Test
prefix to Inject
( #31570 )
...
* TestSuite PoC - Rename `Test` prefix to `Inject`
Closes #31522
Signed-off-by: Jon Koops <jonkoops@gmail.com>
* Rename test database annotation
Signed-off-by: stianst <stianst@gmail.com>
---------
Signed-off-by: Jon Koops <jonkoops@gmail.com>
Signed-off-by: stianst <stianst@gmail.com>
Co-authored-by: stianst <stianst@gmail.com>
2024-07-25 13:13:53 +02:00
Stian Thorgersen
b4368b75e6
Testsuite PoC - Use service account for admin client ( #31478 )
...
Signed-off-by: stianst <stianst@gmail.com>
2024-07-24 13:14:50 +02:00
Šimon Vacek
6de396d537
Testsuite PoC - Injection framework support for multiple instances ( #31293 )
...
* Testsuite PoC - Injection framework support for multiple instances
Closes #30613
Signed-off-by: Simon Vacek <simonvacky@email.cz>
* Add unit tests for multiple instances
Signed-off-by: stianst <stianst@gmail.com>
* Remove check for ref redefinitions
Signed-off-by: Simon Vacek <simonvacky@email.cz>
---------
Signed-off-by: Simon Vacek <simonvacky@email.cz>
Signed-off-by: stianst <stianst@gmail.com>
Co-authored-by: stianst <stianst@gmail.com>
2024-07-23 12:34:54 +02:00
Stian Thorgersen
443efb46f0
Testsuite PoC - Add more unit tests for the registry ( #31468 )
...
Signed-off-by: stianst <stianst@gmail.com>
2024-07-22 15:02:59 +02:00
Lukas Hanusovsky
c885d682c5
Testsuite PoC - modules refactoring ( #31411 )
...
Signed-off-by: Lukas Hanusovsky <lhanusov@redhat.com>
2024-07-22 15:02:44 +02:00
Stian Thorgersen
dc9de96f7b
PoC config ( #31434 )
...
* Adding config to provide option to select supplier types
Signed-off-by: wojnarfilip <fwojnar@redhat.com>
* Proposed cleanup
Signed-off-by: stianst <stianst@gmail.com>
---------
Signed-off-by: wojnarfilip <fwojnar@redhat.com>
Signed-off-by: stianst <stianst@gmail.com>
Co-authored-by: wojnarfilip <fwojnar@redhat.com>
2024-07-19 14:45:53 +02:00
Stian Thorgersen
02e3339762
Add initial tests for the framework registry ( #31433 )
...
Closes #31432
Signed-off-by: stianst <stianst@gmail.com>
2024-07-19 14:45:14 +02:00
Stian Thorgersen
7216967465
Add conditional workflow for test-poc ( #31406 )
...
Signed-off-by: stianst <stianst@gmail.com>
2024-07-19 12:11:17 +02:00
Miquel Simon
def6ea3620
Supply databases with Testcontainers. ( #31321 )
...
Signed-off-by: Miquel Simon <msimonma@redhat.com>
2024-07-17 14:58:04 +02:00
Stian Thorgersen
51cc2a85c8
Refactor registry and fix a bug introduced by page supplier PR ( #31322 )
...
Signed-off-by: stianst <stianst@gmail.com>
2024-07-16 14:02:30 +02:00
Stian Thorgersen
1fb5db0fcb
Add page supplier, including support for multi-typed suppliers ( #31313 )
...
Closes #30611
Closes #30097
Signed-off-by: stianst <stianst@gmail.com>
2024-07-16 12:36:51 +02:00
Stian Thorgersen
479e2132fc
Add support to select supplier for a given type ( #31292 )
...
Closes #30609
Signed-off-by: stianst <stianst@gmail.com>
2024-07-16 10:22:00 +02:00
Miquel Simon
73247f585a
Adding database suppliers ( #31073 )
...
* Closes #30616 . Added database suppliers.
Signed-off-by: Miquel Simon <msimonma@redhat.com>
Co-authored-by: stianst <stianst@gmail.com>
2024-07-16 09:28:43 +02:00
Lukas Hanusovsky
72fb64f7fc
Testsuite PoC - distribution server run mode. ( #31186 )
...
Signed-off-by: Lukas Hanusovsky <lhanusov@redhat.com>
2024-07-15 09:31:50 +02:00
Steven Hawkins
4970a9b729
fix: deprecate KEYCLOAK_ADMIN and KEYCLOAK_ADMIN_PASSWORD
...
closes : #30658
Signed-off-by: Steve Hawkins <shawkins@redhat.com>
Signed-off-by: Steven Hawkins <shawkins@redhat.com>
Co-authored-by: Jon Koops <jonkoops@gmail.com>
2024-07-11 18:07:57 +02:00
Stian Thorgersen
b5468c8b63
Testsuite PoC - Add managed user ( #31151 )
...
Closes #31150
Signed-off-by: stianst <stianst@gmail.com>
2024-07-09 15:20:09 +02:00
Lukas Hanusovsky
5fdb572f5f
Testsuite PoC - Ability to configure server run-mode within the JUnit5 framework ( #31109 )
...
Signed-off-by: Lukas Hanusovsky <lhanusov@redhat.com>
2024-07-09 12:19:03 +00:00
Stian Thorgersen
2dc37d2513
TestSuite PoC - Add support to configure lifecycle for realms and clients ( #31145 )
...
Closes #30610
Signed-off-by: stianst <stianst@gmail.com>
2024-07-09 13:07:56 +02:00
Šimon Vacek
628de9d92a
Testsuite PoC - Implement a ChromeWebDriverSupplier ( #30377 ) ( #31026 )
...
Also edits Selenium dependencies at root and for both test suites
Closes keycloak#30377
Signed-off-by: Simon Vacek <simonvacky@email.cz>
2024-07-08 14:01:34 +02:00
mposolda
e5a4c94f75
Added suffix to keycloak-admin-client artifacts in keycloak repository
...
Signed-off-by: mposolda <mposolda@gmail.com>
2024-06-27 11:00:30 +02:00
Jon Koops
df18629ffe
Use a default Java version from root POM ( #29927 )
...
Signed-off-by: Jon Koops <jonkoops@gmail.com>
2024-06-21 14:19:31 +02:00
Jon Koops
f3a138cd74
Implement a basic PoC of an injectable WebDriver ( #30378 )
...
Closes #30376
Signed-off-by: Jon Koops <jonkoops@gmail.com>
2024-06-21 14:16:22 +02:00
Jon Koops
378272c57c
Use Quarkus fork join worker for Test PoC
...
Closes #30196
Signed-off-by: Jon Koops <jonkoops@gmail.com>
2024-06-06 12:06:59 +02:00
Stian Thorgersen
568a5cb678
JUnit 5 test framework PoC ( #29517 )
...
Closes #29516
Signed-off-by: stianst <stianst@gmail.com>
2024-05-27 10:05:35 -03:00