Commit graph

222 commits

Author SHA1 Message Date
Ricardo Martin
f2c7c673df
Add SAML url attributes to the SecureClientUrisPatternExecutor (#47514)
Closes #46745


Signed-off-by: rmartinc <rmartinc@redhat.com>
2026-03-27 14:53:34 +01:00
Simon Levermann
f4225b4f9b
Introduce traceId to freemarker attributes
Closes #44090
Closes #34435

Signed-off-by: Simon Levermann <github@simon.slevermann.de>
2026-03-26 17:42:32 +01:00
Giuseppe Graziano
865edcea36 Client policies for identity brokering api
Closes #46585

Signed-off-by: Giuseppe Graziano <g.graziano94@gmail.com>
2026-03-24 19:00:51 +01:00
Thomas Diesler
d38ee4c110 [OID4VCI] Migrate preauth offer tests to separate package
Signed-off-by: Thomas Diesler <tdiesler@proton.me>
2026-03-24 09:11:04 +01:00
Pedro Ruivo
c93b6a7e6c
Asynchronous server initialization
Closes #47187

Signed-off-by: Pedro Ruivo <1492066+pruivo@users.noreply.github.com>
Signed-off-by: Alexander Schwartz <alexander.schwartz@ibm.com>
Signed-off-by: Pedro Ruivo <pruivo@users.noreply.github.com>
Co-authored-by: Pedro Ruivo <1492066+pruivo@users.noreply.github.com>
Co-authored-by: Alexander Schwartz <alexander.schwartz@ibm.com>
Co-authored-by: Steven Hawkins <shawkins@redhat.com>
2026-03-19 21:23:46 +01:00
Ricardo Martin
3c7582f318
Broker token API for saml (#47087)
Closes #46589


Signed-off-by: rmartinc <rmartinc@redhat.com>
2026-03-17 18:29:48 +01:00
Marek Posolda
c4a630da6d
[OID4VCI] User self-issued credential: Issuance initiated from web po… (#46327)
closes #46196

Signed-off-by: mposolda <mposolda@gmail.com>
2026-03-17 08:41:16 +01:00
Giuseppe Graziano
5db69aec7d [OID4VCI] Migrate OID4VCJWTIssuerEndpointTest
Closes #46925

Signed-off-by: Giuseppe Graziano <g.graziano94@gmail.com>
2026-03-16 17:44:31 +01:00
Lukas Hanusovsky
e351d5949b
Test Framework - support for multiple WebDriver instances. (#46982)
Signed-off-by: Lukas Hanusovsky <lhanusov@redhat.com>
2026-03-16 11:54:19 +00:00
Michal Vavřík
bce957f9a1
fix(test-framework): exec condition for DisabledForServers (#47165)
* https://github.com/keycloak/keycloak/issues/47164

Signed-off-by: Michal Vavřík <michal.vavrik@aol.com>
2026-03-16 09:15:01 +01:00
Šimon Vacek
5218d3f15a
added user cleanup for managed framework user (#47068)
Closes: #44697

Signed-off-by: Simon Vacek <simonvacky@email.cz>
2026-03-13 12:42:45 +01:00
Thomas Diesler
6efb394398
[OID4VCI] Add support for authorization_code grant - Part4 (#46950)
closes #47100


Signed-off-by: Thomas Diesler <tdiesler@proton.me>
Signed-off-by: mposolda <mposolda@gmail.com>
Co-authored-by: mposolda <mposolda@gmail.com>
2026-03-12 16:09:42 +01:00
Lukas Hanusovsky
e28d705a44
Updating remaing incorrect events assertions to follow the new test framework. (#46913)
Signed-off-by: Lukas Hanusovsky <lhanusov@redhat.com>
2026-03-12 09:41:11 +01:00
Stian Thorgersen
f0fcffe3e3
Add debug helper utility to the test framework
Closes #47011

Signed-off-by: stianst <stianst@gmail.com>
2026-03-11 09:29:43 +00:00
Giuseppe Graziano
92c9faca67
Persist federated token in user session (#46803)
Closes #46574

Signed-off-by: Giuseppe Graziano <g.graziano94@gmail.com>
2026-03-10 15:06:40 +01:00
Marek Posolda
7516d8035f
Migrate RefreshTokenTest to new testsuite (#46886)
closes #46612


Signed-off-by: mposolda <mposolda@gmail.com>
2026-03-10 08:57:49 +01:00
Pedro Igor
63bf73362b
Enforcing expiration and issued for claims when validating ID tokens as claim tokens
Closes #46717
Closes #46716

Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com>
2026-03-09 21:18:31 +01:00
Lukas Hanusovsky
27a645a121
Updating Test Framework Core module description. (#46894)
Signed-off-by: Lukas Hanusovsky <lhanusov@redhat.com>
2026-03-05 11:48:21 +00:00
Hammad Khan
edeb3670e7
Fix @TestSetup method ordering with inheritance (#46686)
* Fix @TestSetup method ordering with inheritance

ReflectionUtils.listMethods() had two bugs when class inheritance was
involved:

1. Subclass methods were added before superclass methods, resulting in
   wrong execution order. Expected behavior is superclass first, matching
   standard Java inheritance semantics.

2. When a subclass overrides a superclass method annotated with
   @TestSetup, both methods were collected causing the subclass method
   to execute twice instead of only the override running once.

The fix builds the class hierarchy top-down (superclass first) and skips
superclass methods that are overridden by a subclass method with the
same name and parameter types.

Closes #46667

Signed-off-by: hammadxcm <hammadkhanxcm@gmail.com>

* Small refactoring to add when not already added, instead of adding/remove

Signed-off-by: stianst <stianst@gmail.com>

---------

Signed-off-by: hammadxcm <hammadkhanxcm@gmail.com>
Signed-off-by: stianst <stianst@gmail.com>
Co-authored-by: stianst <stianst@gmail.com>
2026-03-05 08:17:17 +01:00
Pedro Igor
884e46d125
Enable and disable SCIM API to a realm through the administration console
Closes #46755

Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com>
2026-03-03 10:16:30 +01:00
Pedro Ruivo
33ff9f1b71
Check the Unicode setup of the database on startup
Closes #46557

Signed-off-by: Pedro Ruivo <1492066+pruivo@users.noreply.github.com>
Signed-off-by: Alexander Schwartz <alexander.schwartz@ibm.com>
Co-authored-by: Pedro Ruivo <1492066+pruivo@users.noreply.github.com>
Co-authored-by: Alexander Schwartz <alexander.schwartz@ibm.com>
2026-03-01 14:15:44 +01:00
Lukas Hanusovsky
4c656097a8
Keycloak Test Framework - tests testing framework (#46610)
Signed-off-by: Lukas Hanusovsky <lhanusov@redhat.com>
2026-02-27 06:29:18 +01:00
Šimon Vacek
c072bacf5e
Add docs for framework hot deployment & fix (#46568)
Closes: #46552

Signed-off-by: Simon Vacek <simonvacky@email.cz>
2026-02-25 08:04:41 +01:00
Ruchika Jha
9ec61bfb52
Added the shutdown delay and shutdown timeout for the testcases to default options
Closes #46337

Signed-off-by: Ruchika <ruchika.jha1@ibm.com>
2026-02-24 14:47:04 +01:00
Lukas Hanusovsky
cbfcd07c62
[Test Framework] Fix of AdminClientSupplier for ManagedRealm. (#46287)
Signed-off-by: Lukas Hanusovsky <lhanusov@redhat.com>
2026-02-24 10:48:27 +00:00
Ricardo Martin
e7ac4ef3f7
Move test class for persistent CIMD to the new test-suite
Closes #46438

Signed-off-by: rmartinc <rmartinc@redhat.com>
2026-02-24 11:40:26 +01:00
Pedro Igor
3e3a7befd1
Initial code for SCIM core and testsuite (#45978)
Closes #45712

Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com>
2026-02-23 18:22:25 +01:00
Šimon Vacek
46b1899178
Hot deploy custom providers from module to test server (#45556)
* Hot deploy provider module

Closes #34188

Signed-off-by: Simon Vacek <simonvacky@email.cz>

* fix for external projects and add deployCurrentProject

Signed-off-by: Simon Vacek <simonvacky@email.cz>

* address review comments

Signed-off-by: Simon Vacek <simonvacky@email.cz>

* improve dependency compatibility check

Signed-off-by: Simon Vacek <simonvacky@email.cz>

---------

Signed-off-by: Simon Vacek <simonvacky@email.cz>
2026-02-23 08:01:03 +01:00
Stian Thorgersen
337e94d5a4
Add JavaDoc for most important parts of the new test framework
Closes #46170

Signed-off-by: stianst <stianst@gmail.com>
Signed-off-by: Stian Thorgersen <stianst@gmail.com>
Co-authored-by: Šimon Vacek <86605314+vaceksimon@users.noreply.github.com>
2026-02-20 11:17:09 +01:00
Akbar Husain
3f62bb4d2b
Make shebang in bash scripts consistent (#37369)
Closes #34983

Signed-off-by: akbarhusainpatel <apatel@intermiles.com>
2026-02-17 11:32:28 +01:00
Stian Thorgersen
ddaec23a29
Fix NPE with GitHubActionReport if running test on actions without git checkout
Closes #46322

Signed-off-by: stianst <stianst@gmail.com>
2026-02-16 13:01:40 +01:00
Stian Thorgersen
9350e704c8
Follow-up update to test framework docs (#46176)
Closes #46073

Signed-off-by: stianst <stianst@gmail.com>
2026-02-11 11:12:35 +01:00
Lukas Hanusovsky
8839c831b9
[Test Framework] testcontainers dependency refactor. (#46131)
Signed-off-by: Lukas Hanusovsky <lhanusov@redhat.com>
2026-02-11 10:07:12 +00:00
Marco N.
b7fe294fa0
Add node count and next-node selection to LoadBalancer API
Closes #46156

Signed-off-by: Marco Neuhaus <m.neuhaus@smf.de>
2026-02-10 21:18:49 +01:00
Stian Thorgersen
fc150d1bca
Add support for detecting slow test classes
Closes #46166

Signed-off-by: stianst <stianst@gmail.com>
2026-02-10 20:54:14 +01:00
Stian Thorgersen
675c54f212
Support injection in realm, client and user configurations
Closes #46128

Signed-off-by: stianst <stianst@gmail.com>
2026-02-10 20:53:59 +01:00
Stian Thorgersen
3bcb6dde58
Fix NPE in test framework registry (#46163)
Closes #46162

Signed-off-by: stianst <stianst@gmail.com>
2026-02-10 20:53:14 +01:00
Lukas Hanusovsky
8d70b91ead
[Test Framework] Removing JUnit4 dependency. (#46174)
Signed-off-by: Lukas Hanusovsky <lhanusov@redhat.com>
2026-02-10 13:25:06 +00:00
Stian Thorgersen
d10fbde0c8
Distribution server sometimes uses wrong pid for started Keycloak server
Closes #46110

Signed-off-by: stianst <stianst@gmail.com>
2026-02-09 10:41:09 +00:00
Šimon Vacek
20e78e468d
Test framework validations and error messages (#45869)
Closes #38163

Signed-off-by: Simon Vacek <simonvacky@email.cz>
2026-02-09 06:51:31 +01:00
Stian Thorgersen
c7c27a031e
Add support for setup and cleanup for a test
Closes #46071

Signed-off-by: stianst <stianst@gmail.com>
2026-02-06 15:59:26 +01:00
Stian Thorgersen
4ff023467d
Add GitHub Action summary support to new test framework
Closes #46045

Signed-off-by: stianst <stianst@gmail.com>
2026-02-06 13:39:43 +01:00
Stian Thorgersen
658c582506
Update test framework docs
Closes #35385

Signed-off-by: stianst <stianst@gmail.com>
2026-02-06 12:00:16 +01:00
Lukas Hanusovsky
a21a53667e
Creating user with roles/clientRoles via UserSupplier is not supported. (#46070)
Signed-off-by: Lukas Hanusovsky <lhanusov@redhat.com>
2026-02-06 08:55:19 +00:00
Stian Thorgersen
ea4c8f65b6
Review realm cleanup in test framework
Closes #45973

Signed-off-by: stianst <stianst@gmail.com>
2026-02-04 18:03:15 +01:00
Steven Hawkins
9462f0f00b
updating to quarkus 3.31.1 (#45612)
Some checks failed
Weblate Sync / Trigger Weblate to pull the latest changes (push) Has been cancelled
* fix: updating to quarkus 3.31.0.CR1

closes: #45576

Signed-off-by: Steve Hawkins <shawkins@redhat.com>

* updating test containers for 3.31.0.CR1

also adding a managed version for microprofile-metrics-api

Signed-off-by: Steve Hawkins <shawkins@redhat.com>

* excluding quarkus-bootstrap-runner to prevent trace logging

Signed-off-by: Steve Hawkins <shawkins@redhat.com>

* changing to new logging context for hibernate jpa

Signed-off-by: Steve Hawkins <shawkins@redhat.com>

* switching to 3.31.0 release

Signed-off-by: Steve Hawkins <shawkins@redhat.com>

* switching to 3.31.1 release

Signed-off-by: Steve Hawkins <shawkins@redhat.com>

* Follow upgrading guide for Quarkus 3.31.0

Signed-off-by: Martin Bartoš <mabartos@redhat.com>

* turning of specific hibernate logging

Signed-off-by: Steve Hawkins <shawkins@redhat.com>

* removing quarkus-bootstrap-runner from the model test classpath

Signed-off-by: Steve Hawkins <shawkins@redhat.com>

---------

Signed-off-by: Steve Hawkins <shawkins@redhat.com>
Signed-off-by: Martin Bartoš <mabartos@redhat.com>
Co-authored-by: Martin Bartoš <mabartos@redhat.com>
2026-02-02 17:50:56 +01:00
Šimon Vacek
14fc381eaa
Registry extends AutoCloseable directly (#45887)
Closes #45886

Signed-off-by: Simon Vacek <simonvacky@email.cz>
2026-02-02 07:37:31 +01:00
Stian Thorgersen
c51e1af941
Test framework doesn't stop running Keycloak instance if reuse is turned off
Closes #45750

Signed-off-by: Stian Thorgersen <st@li-fbf8e8cc-23c4-11b2-a85c-be35f7de969a.ibm.com>
Co-authored-by: Stian Thorgersen <st@li-fbf8e8cc-23c4-11b2-a85c-be35f7de969a.ibm.com>
2026-01-26 18:50:17 +01:00
Martin Bartoš
4011ef25b8
[test-framework] Dependency download error with embedded server (#45636)
Closes #38991

Signed-off-by: Martin Bartoš <mabartos@redhat.com>
2026-01-21 17:19:40 +01:00
Stian Thorgersen
e265012b4b
Fix embedded server for new test framework
Signed-off-by: stianst <stianst@gmail.com>
2026-01-20 15:26:16 +00:00