e2e: Implement E2E Test to Validate UVE Mode Switching Content Integrity (#31456)
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 970
- Forks
- 486
- Avg merge
- 3d 33m
- Merged PRs (30d)
- 170
Description
Task
This task involves implementing an end-to-end test to verify the fix for issue #31456, where the UVE content does not properly reflect changes when switching between modes using the dropdown.
The original issue showed that:
- When swapping between modes using the dropdown in UVE, the iframe content was not updated correctly
- The system appeared to use an older version of the PageAPI response
- Users were unable to see their latest edits after mode switching
The test should validate that content changes persist and are displayed correctly when switching between different UVE modes.
Proposed Objective
Core Features
Proposed Priority
Priority 3 - Average
Acceptance Criteria
The E2E test should:
- Successfully set up a test page in UVE with editable content
- Make visible changes to the page content in one mode
- Switch to a different mode using the dropdown
- Verify that the content changes are correctly reflected in the new mode
- Make additional changes in the new mode
- Switch back to the original mode
- Verify that all changes (from both modes) are correctly displayed
- Include appropriate assertions to detect regression of this issue
- Run successfully in the CI/CD pipeline
- Include clear documentation of the test case and its purpose
Test should pass consistently and should fail if the original issue reoccurs.
External Links... Slack Conversations, Support Tickets, Figma Designs, etc.
No response
Assumptions & Initiation Needs
No response
Quality Assurance Notes & Workarounds
No response
Sub-Tasks & Estimates
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing issue #31456 and the UVE mode-switching flow described here. Set up a page with editable content, exercise the dropdown transitions in both directions, and add assertions that edits remain visible after each switch. Confirm the test runs consistently in the CI/CD pipeline and documents the regression it detects.
Written by the indexing model from the issue text.
Assessment
- Domain
- testing
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100