Skip to content

chore (e2e): Implement e2e tests TC-1735 and TC-1756 [WPB-25491] - #22124

Merged
iskvortsov merged 7 commits into
mainfrom
is/implement_SSO_and_SCIM_tests
Aug 7, 2026
Merged

chore (e2e): Implement e2e tests TC-1735 and TC-1756 [WPB-25491]#22124
iskvortsov merged 7 commits into
mainfrom
is/implement_SSO_and_SCIM_tests

Conversation

@iskvortsov

@iskvortsov iskvortsov commented Aug 6, 2026

Copy link
Copy Markdown
Contributor
TaskWPB-25491 [Web][QA] Write Regression -> SSO & SCIM tests

  • Implemented TC-1735 and TC-1756
  • Added Identity provider and Keycloak API clients

@iskvortsov iskvortsov added the run-e2e Runs End-to-End tests when the label is set label Aug 6, 2026

@thisisamir98 thisisamir98 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Summary

Nice addition of Keycloak and SCIM helpers for TC-1735 and TC-1756. The main risk is that TC-1756 can pass without proving the SCIM account fields are locked, because some account page locators do not match the real edit controls.

Findings

Blocking

  • TC-1756 display name and username checks use the wrong page object locators, so the test does not lock the SCIM restriction.

Should fix

  • SSO page readiness wait is not used after openSSOPage.
  • afterEach cleanup can call Keycloak delete with undefined ids when setup fails mid-way.
  • Test title mentions profile color, but the step never asserts it, and accent color is still editable for SCIM users in the app.

Nits

  • Unused BACKEND_URL check in createSCIMAccessToken.

Questions

  • Is email meant to be locked by SCIM here, or is it already hidden because the user is SSO (isNoPasswordSSO)?

Comment thread apps/webapp/test/e2e_tests/specs/SSOAndSCIM/SSOAndSCIM.spec.ts
Comment thread apps/webapp/test/e2e_tests/specs/SSOAndSCIM/SSOAndSCIM.spec.ts
Comment thread apps/webapp/test/e2e_tests/specs/SSOAndSCIM/SSOAndSCIM.spec.ts
Comment thread apps/webapp/test/e2e_tests/specs/SSOAndSCIM/SSOAndSCIM.spec.ts
Comment thread apps/webapp/test/e2e_tests/specs/SSOAndSCIM/SSOAndSCIM.spec.ts Outdated
Comment thread apps/webapp/test/e2e_tests/backend/scimRepository.e2e.ts Outdated
Comment thread apps/webapp/test/e2e_tests/backend/keycloakClient.e2e.ts Outdated
@iskvortsov
iskvortsov requested a review from thisisamir98 August 6, 2026 10:34
thisisamir98
thisisamir98 previously approved these changes Aug 6, 2026
@iskvortsov
iskvortsov added this pull request to the merge queue Aug 7, 2026
Merged via the queue into main with commit fa3c261 Aug 7, 2026
449 of 516 checks passed
@iskvortsov
iskvortsov deleted the is/implement_SSO_and_SCIM_tests branch August 7, 2026 12:02
@github-actions

github-actions Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

First appeared in

Environment Release
Beta 2026-08-07.1-beta.1
Production Not yet deployed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

run-e2e Runs End-to-End tests when the label is set

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants