feat(ui5-test-writer): Skip object page section marked with UI.Hidden - #5012
feat(ui5-test-writer): Skip object page section marked with UI.Hidden#5012sap-sebelao wants to merge 9 commits into
Conversation
🦋 Changeset detectedLatest commit: eb03fb0 The changes in this PR will be included in the next version bump. This PR includes changesets to release 6 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
SummaryThe following content is AI-generated and provides a summary of the pull request: DescriptionThis change adds support for skipping Object Page sections (header sections, body sections, and sub-sections) that are annotated with Previously, hidden sections were still included in the generated test journey files, which could lead to flaky or incorrect tests trying to interact with sections not visible in the UI. Key changes:
Type of change
How have you tested?
Checklist:
PR Bot InformationVersion:
|
There was a problem hiding this comment.
The PR introduces a well-scoped feature with good test coverage across unit and integration levels. Two issues were flagged: the includeAnnotationProperties parameter is smuggled into ReadAppParams via an intersection type without any upstream type declaration, which may silently fail at runtime if readApp ignores unknown fields; and the hideByProperty truthiness check is inconsistent with the accompanying comment that says "treat any value as hidden" — a false boolean value would not be treated as hidden despite the annotation's presence indicating conditional hiding.
|



Internal issue
36742
Internal JIRA
FXUBRQ34-12674