Skip to content

Fix flaky OrganizationInvitationTokenTest by waiting for the invitation to be consumed - #55242

Draft
ahus1 wants to merge 1 commit into
keycloak:mainfrom
ahus1:is-55241-flaky-organization-tests
Draft

ahus1 wants to merge 1 commit into
keycloak:mainfrom
ahus1:is-55241-flaky-organization-tests

Conversation

@ahus1

@ahus1 ahus1 commented Nov 16, 2026 •

Copy link
Copy Markdown
Member

Closes #55241

The invitation tests read the member count and the current page right after a click, before the browser and the server had finished. They now poll for the expected state, with the Chrome-only WebDriverException during navigation tolerated when checking for the update profile page.

Decisions and assumptions

Closes keycloak#55241

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: Alexander Schwartz <alexander.schwartz@ibm.com>
@ahus1
ahus1 force-pushed the is-55241-flaky-organization-tests branch from 38ac172 to 0151c82 Compare November 16, 2026 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Flaky test: OrganizationInvitationTokenTest reads browser and server state before the request completes

1 participant