keycloak/js/apps
João Viegas 32e304b9c2
Fix stale empty state after deleting last resource on a page (#47373)
When the last item on a paginated table is deleted, the UI
incorrectly displayed 'No resources found' instead of navigating
back to the previous page. This commit resolves the local state
issue and adds a Playwright E2E regression test to ensure the
table correctly refetches and displays the remaining resources.

Refactored E2E test:
- Replaced while(true) loop with a deterministic for loop;
- Implemented exact string matching and test id locators;
- Added resource cleanup to prevent polluting subsequent tests;
- Added deleteResource in AdminClient.ts to assist in the cleanup.

Closes #46089

Signed-off-by: João Viegas <joao.manuel.loja.viegas@tecnico.ulisboa.pt>
2026-03-25 16:24:54 -04:00
..
account-ui Translations update from Hosted Weblate (#47175) 2026-03-20 01:31:38 +01:00
admin-ui Fix stale empty state after deleting last resource on a page (#47373) 2026-03-25 16:24:54 -04:00
create-keycloak-theme Bump the npm-dependencies group across 1 directory with 32 updates (#45148) 2026-01-05 15:15:40 +00:00
keycloak-server Added typescript based module for the client admin v2 (#46440) 2026-02-18 19:34:00 +01:00
.prettierrc use group resource from context instead (#45883) 2026-02-03 11:39:50 -05:00