Repository navigation
[2.0] test(ui): expect editable SAML SP fields in SSOConfiguration spec - #38432
Merged
Merged
Conversation
Backport #38197 made the SAML SP Entity ID and ACS URL editable and changed their help text, but the 2.0-only SSOConfiguration spec still asserted the fields were readonly, failing the 2.0 nightly on MySQL and PostgreSQL.
ShaileshParmar11
requested review from
karthicksharan
and removed request for
a team
November 23, 2026 05:59
9 of 11 tasks
harsh-vador
approved these changes
Nov 23, 2026
ShaileshParmar11
deleted the
ShaileshParmar11/2.0-saml-sp-editable-spec
branch
November 23, 2026 07:28
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Describe your changes:
Fixes the
SSOConfiguration.spec.ts:415failure (should show SAML SP Entity ID and ACS URL as readonly) in the 2.0 nightly Playwright runs (MySQL and PostgreSQL, nightly #199, run 44968681989 / 44968688028).The test fails on every attempt:
Why: #38197 backported the SAML / Test Login changes from #38219 to 2.0. Among them,
SAML_UI_SCHEMA.sp.entityIdandsp.acsinSSO.constant.tslost'ui:readonly': true, and their help text changed from "Auto-generated…" to "Defaults to the application…". The backport's Jest test asserts the new behaviour (SSOConfigurationForm.test.tsx:should allow editing the default SAML entity ID and ACS URL). However, the 2.0 Playwright spec still asserted the old readonly fields and help text.Main never hit this: #35547 had already moved these UI-only SSO checks from Playwright to Jest there, so #38219 had no spec to update. #35547 was not backported to 2.0, so the old Playwright block still exists on 2.0.
Change: the test now asserts the shipped 2.0 behaviour. Both SP fields are editable (
toBeEditable()), and the new help text is shown. It is renamed toshould let the admin edit the SAML SP Entity ID and ACS URL.Type of change:
High-level design:
N/A — one test in one spec file.
Tests:
Use cases covered
Unit tests
SSOConfigurationForm.test.tsx(added by [2.0] Backport interactive Test Login and restore security checks from #36683 #38197).Backend integration tests
Ingestion integration tests
Playwright (UI) tests
openmetadata-ui/src/main/resources/ui/playwright/e2e/Features/SSOConfiguration.spec.ts--project=chromium --retries=0,PLAYWRIGHT_IS_OSS=true). The old test ran in the same pass from a temporary copy of the original 2.0 spec:should show SAML SP Entity ID and ACS URL as readonly: failed at:425with the same error as the nightly (attribute not present).should let the admin edit the SAML SP Entity ID and ACS URL: passed.4ecb6d5), not a 2.0 build. The assertions only read the 2.0 UI'sSAML_UI_SCHEMA.SSOConfiguration.spec.tsand other impacted specs; the 2.0 nightly covers them.Manual testing performed
VITE_DEV_SERVER_TARGET=http://localhost:8585 yarn start --port 3000against a local OpenMetadata server.UI screen recording / screenshots:
Not applicable — test-only change.
Checklist:
Fixes <issue-number>: <short explanation>— test fix, no issue (skip-pr-checks).Fixes #<issue-number>above — test fix, no issue.REVIEW.mdat78baf56f640. No 🔴 or 🟡 findings.🤖 Generated with Claude Code


Confidence Score: 5/5
The PR appears safe to merge.Summary
Updates one Playwright test to match the existing SAML form.
Reviews (1) · Last reviewed commit: "test(ui): expect editable SAML SP fields..." · Reviewed by Greptile