Steps to reproduce:
- Open a Wikipedia article on a mobile browser.
- Open the Visual Editor on any Wikipedia's articles.
- Switch to the Source Editor.
- Try to switch back from Source Editor to Visual Editor.
Actual Result:
The Source Editor gets stuck everytime I click the visual editor. When exiting and re-entering the section edit mode, I always get thrown into the source editor and loads a completely blank section.
Affected Wikis:
All language domains.
Video evidence link:
https://drive.google.com/file/d/1epJ4pP-N-D8P7Gyt7qDTv1CkfphfYB2T/view?usp=drivesdk
Derived Requirement
Ensure users on mobile browsers can switch from Source Editor back to VisualEditor without the editor becoming stuck, displaying a blank section, or reopening in Source Editor after exiting and re-entering section editing.
Test Steps
Test Case 1: Ensure users can switch from Source Editor back to VisualEditor on mobile
- Open a Wikipedia article on a mobile browser.
- Open a section in VisualEditor.
- Switch from VisualEditor to Source Editor.
- Switch from Source Editor back to VisualEditor.
- Observe the editor after switching back.
- ✅❓❌⬜ AC1: VisualEditor opens successfully after switching from Source Editor without becoming stuck or displaying a blank section.
Test Case 2: Ensure switching between editors works across Wikipedia language domains
- Open an article on a Wikipedia language domain using a mobile browser.
- Open a section in VisualEditor.
- Switch to Source Editor.
- Switch back to VisualEditor.
- Repeat the editor switch on at least one additional Wikipedia language domain.
- ✅❓❌⬜ AC2: Switching from Source Editor back to VisualEditor works successfully on each tested Wikipedia language domain without the editor becoming stuck or displaying a blank section.
QA Results - PROD
| AC | Status | Details |
|---|---|---|
| 1 | ✅ | T437810#12325389 |
| 2 | ✅ | T437810#12325389 |