Stian Thorgersen
3cdb8d12ae
Updating a client with rollback in a test doesn't reset all values ( #38244 )
...
Closes #38243
Signed-off-by: stianst <stianst@gmail.com >
2025-03-19 13:44:13 +01:00
Stian Thorgersen
588cf0f6c2
Attribute added to managed test client with rollback is not removed ( #38213 )
...
Closes #38208
Signed-off-by: stianst <stianst@gmail.com >
2025-03-18 15:43:46 +01:00
Stian Thorgersen
221d21639d
Re-use HttpClient across multiple tests ( #38197 )
...
Closes #38195
Signed-off-by: stianst <stianst@gmail.com >
2025-03-18 10:04:24 +01:00
Simon Vacek
546724ddf8
Move AdminEventTest.java, LoginEventsTest.java to the new testsuite
...
Part of: #34494
Signed-off-by: Simon Vacek <simonvacky@email.cz >
# Conflicts:
# test-framework/core/src/main/java/org/keycloak/testframework/realm/RealmConfigBuilder.java
2025-03-17 12:38:57 +01:00
stianst
b2925f36e4
Add UUID matcher and check event id always
...
Signed-off-by: stianst <stianst@gmail.com >
2025-03-14 11:25:07 +01:00
Simon Vacek
e1fdd1dab6
Move ServiceAccountClientTest.java to the new testsuite
...
Part of: #34494
Signed-off-by: Simon Vacek <simonvacky@email.cz >
2025-03-14 10:21:02 +01:00
Lukas Hanusovsky
8f0bc985f6
[Test framework] AttackDetectionResourceTest migration ( #38010 )
...
Signed-off-by: Lukas Hanusovsky <lhanusov@redhat.com >
2025-03-13 13:50:24 +01:00
vramik
872a691757
Remove permissions and resources when their corresponding objects are deleted
...
Closes #37242
Signed-off-by: vramik <vramik@redhat.com >
2025-03-11 14:58:03 -03:00
Stian Thorgersen
ab01689aaa
Add basic TestApp to the new testsuite ( #37815 )
...
Closes #37814
Signed-off-by: stianst <stianst@gmail.com >
2025-03-04 16:59:18 +01:00
Šimon Vacek
ff2ce16d5f
Move DeclarativeUserTest.java to the new testsuite ( #37724 )
...
Part of: #34494
Signed-off-by: Simon Vacek <simonvacky@email.cz >
2025-03-03 09:42:24 +01:00
Šimon Vacek
75b23a3450
Migrate ClientScopeTest ( #37603 )
...
Part of: #34494
Signed-off-by: Simon Vacek <simonvacky@email.cz >
2025-03-03 08:59:11 +01:00
Šimon Vacek
40e8c0eba3
Migrate InstallationTest to the new testsuite ( #37394 )
...
* Migrate InstallationTest to the new testsuite
Signed-off-by: Simon Vacek <simonvacky@email.cz >
* Migrate InstallationTest to the new testsuite
Part of: #34494
Signed-off-by: Simon Vacek <simonvacky@email.cz >
* Added Client cleanup to the test framework
Signed-off-by: Simon Vacek <simonvacky@email.cz >
---------
Signed-off-by: Simon Vacek <simonvacky@email.cz >
2025-02-19 08:30:22 +01:00
Václav Muzikář
764ca50fc4
Upgrade to Quarkus 3.18.2 ( #37300 )
...
* Upgrade to Quarkus 3.18.2
Closes #37056
Signed-off-by: Václav Muzikář <vmuzikar@redhat.com >
* Update docs/documentation/upgrading/topics/changes/changes-26_2_0.adoc
Co-authored-by: Alexander Schwartz <alexander.schwartz@gmx.net >
Signed-off-by: Václav Muzikář <vaclav@muzikari.cz >
---------
Signed-off-by: Václav Muzikář <vmuzikar@redhat.com >
Signed-off-by: Václav Muzikář <vaclav@muzikari.cz >
Co-authored-by: Alexander Schwartz <alexander.schwartz@gmx.net >
2025-02-17 16:30:05 +01:00
Šimon Vacek
2b74e6148e
Migrate ClientSearchTest to the new testsuite ( #37171 )
...
* Move ClientSearchTest.java to the new testsuite
Signed-off-by: Simon Vacek <simonvacky@email.cz >
* Move ClientSearchTest.java to the new testsuite
Part of: #34494
Signed-off-by: Simon Vacek <simonvacky@email.cz >
---------
Signed-off-by: Simon Vacek <simonvacky@email.cz >
2025-02-17 13:17:35 +01:00
Stian Thorgersen
60b75d4b38
Migrate AuthenticatorConfigTest ( #37274 )
...
Part of #34494
Signed-off-by: stianst <stianst@gmail.com >
2025-02-14 06:33:39 +01:00
Stian Thorgersen
59acbb8f67
Remove need to implement getAnnotationClass and getValueType in suppliers ( #37296 )
...
Signed-off-by: stianst <stianst@gmail.com >
2025-02-13 15:02:26 +01:00
vramik
679f44692d
Add Groups resource type and scopes to authorization schema and evaluation implementation
...
Closes #35562
Signed-off-by: vramik <vramik@redhat.com >
2025-02-12 10:07:09 -03:00
Šimon Vacek
f5470716fe
Migrate EventConfigTest to the new testsuite ( #37092 )
...
* Move EventConfigTest.java to the new testsuite
Signed-off-by: Simon Vacek <simonvacky@email.cz >
* Move EventConfigTest.java to the new testsuite
Part of: #34494
Signed-off-by: Simon Vacek <simonvacky@email.cz >
---------
Signed-off-by: Simon Vacek <simonvacky@email.cz >
2025-02-12 07:20:53 +01:00
Stian Thorgersen
b8c1cd410f
Support for running code on the server for tests ( #37210 )
...
Closes #34190
Signed-off-by: stianst <stianst@gmail.com >
2025-02-11 14:08:02 +01:00
Stian Thorgersen
b7b84d75d1
Add factory to create custom admin clients ( #37125 )
...
Closes #36608
Signed-off-by: stianst <stianst@gmail.com >
Co-authored-by: Simon Vacek <simonvacky@email.cz >
2025-02-10 12:51:56 +01:00
Stian Thorgersen
19cabe8238
Migrate tests from org/keycloak/tests/admin/authentication to new framework ( #37003 )
...
* Migrate tests from org/keycloak/tests/admin/authentication to new framework
Part of #34494
Signed-off-by: stianst <stianst@gmail.com >
* Update tests/MIGRATING_TESTS.md
Signed-off-by: Stian Thorgersen <stian@redhat.com >
---------
Signed-off-by: stianst <stianst@gmail.com >
Signed-off-by: Stian Thorgersen <stian@redhat.com >
2025-02-06 10:24:50 +01:00
Pedro Ruivo
beb20dc425
Add default configuration for cache 'crl'
...
Fixes #36752
Signed-off-by: Pedro Ruivo <pruivo@redhat.com >
Signed-off-by: Michal Hajas <mhajas@redhat.com >
Signed-off-by: Pedro Ruivo <pruivo@users.noreply.github.com >
Co-authored-by: Michal Hajas <mhajas@redhat.com >
Co-authored-by: Stian Thorgersen <stian@redhat.com >
2025-02-03 09:53:31 +01:00
Šimon Vacek
d522fd265d
Rename .env-test to .env.test ( #36975 )
...
Closes : #36974
Signed-off-by: Simon Vacek <simonvacky@email.cz >
2025-02-03 07:41:56 +01:00
Stian Thorgersen
c188a6c1d9
Add config options for suppliers and option to enable debugging for server dist ( #36912 )
...
Closes #31141 , closes #36775
Signed-off-by: stianst <stianst@gmail.com >
2025-01-29 14:25:50 +01:00
Stian Thorgersen
5b93c3c3ce
Add assertions util for admin events ( #36778 )
...
Closes #36685
Signed-off-by: stianst <stianst@gmail.com >
2025-01-28 12:40:16 +01:00
Stian Thorgersen
8e072e91f2
Add support for .env-test file in new test framework ( #36857 )
...
Closes #36839
Signed-off-by: stianst <stianst@gmail.com >
2025-01-28 10:09:24 +01:00
Václav Muzikář
aff423c7e9
Upgrade to Quarkus 3.17.8 ( #36758 )
...
Closes #36757
Closes #33475
Closes #34454
Signed-off-by: Václav Muzikář <vmuzikar@redhat.com >
2025-01-27 18:20:05 +01:00
Miquel Simon
2dbf58dc46
Add JDK suite to the new testing framework and run it as part of the Java Distribution IT ( #36638 )
...
Closes #35388
Signed-off-by: Miquel Simon <msimonma@redhat.com >
2025-01-24 10:08:11 +01:00
Stian Thorgersen
ec2c701a80
Refactor events to use event store instead of syslog ( #36684 )
...
Closes #35091
Signed-off-by: stianst <stianst@gmail.com >
2025-01-23 07:40:49 +01:00
Stian Thorgersen
99e2f1df94
Replace createRealm/createClient and invalid use of ref with attachTo ( #36640 )
...
Closes #35995
Signed-off-by: stianst <stianst@gmail.com >
2025-01-21 14:05:14 +01:00
vramik
8b5ebe98d8
[FGAP] Design AdminPermissionEvaluator implementation for FGAP v2
...
Closes #34921
Signed-off-by: vramik <vramik@redhat.com >
Co-authored-by: Pedro Igor <pigor.craveiro@gmail.com >
2025-01-15 16:05:14 -03:00
Stian Thorgersen
388fa5a3eb
Rename org.keycloak.test groupId to org.keycloak.testframework for new test framework artifacts ( #36443 )
...
Closes #36431
Signed-off-by: stianst <stianst@gmail.com >
2025-01-14 14:32:03 +01:00
Stian Thorgersen
2d913e5186
Rename org.keycloak.test.framework package to org.keycloak.testframework ( #36390 )
...
Closes #36388
Signed-off-by: stianst <stianst@gmail.com >
2025-01-14 10:04:41 +01:00
vramik
0a632fdefa
[FGAP] Add adminPermissionClientCheck to authorization services REST endpoints
...
Closes #35945
Signed-off-by: vramik <vramik@redhat.com >
2025-01-10 08:56:48 -03:00
Michal Hajas
3839f8e3b5
Add metric for password validations ( #36049 )
...
Closes #36048
Signed-off-by: Michal Hajas <mhajas@redhat.com >
Signed-off-by: Alexander Schwartz <aschwart@redhat.com >
Co-authored-by: Alexander Schwartz <aschwart@redhat.com >
2025-01-07 10:05:47 +01:00
Pedro Igor
93c1740538
Support for initial CRUD operations when managing admin permissions
...
Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com >
Closes #35987
2024-12-18 07:43:13 -03:00
Stian Thorgersen
d3b759b56f
Support injecting admin client configured from managed realm ( #35693 )
...
Closes #35501
Signed-off-by: stianst <stianst@gmail.com >
2024-12-06 14:00:16 +01:00
Stian Thorgersen
9ab5575959
Introduce support for an extension to auto register a value type ( #35645 )
...
Closes #35592
Signed-off-by: stianst <stianst@gmail.com >
2024-12-05 14:50:31 +01:00
Šimon Vacek
9abbf3edc6
Support setting time offset on test server within tests ( #35495 )
...
Closes : #34189
Signed-off-by: Simon Vacek <simonvacky@email.cz >
2024-12-04 12:09:46 +01:00
Stian Thorgersen
6e8a7a844f
Support adding clients and users to RealmConfigBuilder ( #35542 )
...
Closes #35541
Signed-off-by: stianst <stianst@gmail.com >
2024-12-03 12:23:54 +01:00
Stian Thorgersen
e995601e79
Refactor logging for test framework registry ( #35447 )
...
Signed-off-by: stianst <stianst@gmail.com >
2024-12-03 10:43:23 +01:00
Stian Thorgersen
ad313e0109
Add support to intercept server and realm config to test framework ( #35184 )
...
Closes #35173
Signed-off-by: stianst <stianst@gmail.com >
2024-11-21 15:13:58 +01:00
Stian Thorgersen
89556c7b79
Add email extension to test framework ( #35096 )
...
Closes #35094
Signed-off-by: stianst <stianst@gmail.com >
2024-11-20 08:31:23 +01:00
Stian Thorgersen
5e54ebde18
Move Nimbus OAuth client into separate module ( #35090 )
...
Closes #34487
Signed-off-by: stianst <stianst@gmail.com >
2024-11-19 12:24:44 +01:00
Stian Thorgersen
057407385d
Add ManagedRealm#getId ( #35086 )
...
Closes #35085
Signed-off-by: stianst <stianst@gmail.com >
2024-11-19 11:21:01 +01:00
Lukas Hanusovsky
7502b9cdf6
[Test framework MVP] ImpersonationDisabledTest ( #35057 )
...
* [Test framework MVP] ImpersonationDisabledTest
Signed-off-by: Lukas Hanusovsky <lhanusov@redhat.com >
* Apply suggestions from code review
Co-authored-by: Stian Thorgersen <stian@redhat.com >
Signed-off-by: Lukas Hanusovsky <61745358+lhanusov@users.noreply.github.com >
---------
Signed-off-by: Lukas Hanusovsky <lhanusov@redhat.com >
Signed-off-by: Lukas Hanusovsky <61745358+lhanusov@users.noreply.github.com >
Co-authored-by: Stian Thorgersen <stian@redhat.com >
2024-11-19 11:20:29 +01:00
Stian Thorgersen
ce684e553f
Support injecting into superclass of tests ( #35084 )
...
Closes #35082
Signed-off-by: stianst <stianst@gmail.com >
2024-11-19 10:52:57 +01:00
Stian Thorgersen
1b8cdbd75f
Use cleanup tasks in migrated UserProfileAdminTest ( #35074 )
...
Part of #34494
Signed-off-by: stianst <stianst@gmail.com >
2024-11-19 10:07:27 +01:00
Stian Thorgersen
c93e185e3f
Migrate AdminSignatureAlgorithmTest ( #35049 )
...
Part of #34494
Signed-off-by: stianst <stianst@gmail.com >
2024-11-19 08:08:44 +01:00
Stian Thorgersen
de14e1c310
Migrate AdminPreflightTest ( #35042 )
...
Part of #34494
Signed-off-by: stianst <stianst@gmail.com >
2024-11-18 16:36:26 +01:00