Steps to replicate the issue (include links if applicable):
- Switch to mobile mode (dev tools) and select a tablet screen.
- From the unified dashboard select an article to expand by translating a new section.
- Pick a section to translate and proceed to the "Compare contents" step
What happens?:
Two "Translate" buttons are displayed (one with "Translate this section" and one with "Translate" label).
What should have happened instead?:
The second one ("Translate") should not be displayed, until the user scrolls to the content header.
Screenshot from bn production wiki:
Derived Requirement
Ensure that in the "Compare contents" step of translating a section, only one 'Translate' button is visible initially. The second 'Translate' button should appear only when the user scrolls to the content header.
Test Result - Beta|Prod
Status: ✅ PASS / ❓ Need More Info / ❌ FAIL
Environment: beta/bnwiki
OS: macOS Tahoe 26.2
Browser: Chrome 143
Device: MBA
Emulated Device: NA
Test Artifact(s):
Test Steps
Test Case 1: Ensure only one 'Translate' button is visible initially in "Compare contents" step
- Open Wikipedia in desktop Chrome.
- Switch to mobile view using Dev Tools and select a tablet screen size.
- Navigate to the Unified Dashboard.
- Select an article and choose to translate a new section.
- Proceed to the "Compare contents" step.
- ✅❓❌⬜ AC1: Only one 'Translate' button ('Translate this section') is visible initially; the second 'Translate' button is not displayed.
Test Case 2: Ensure second 'Translate' button appears after scrolling to content header
- From the "Compare contents" step, scroll down to the content header.
- ✅❓❌⬜ AC2: The second 'Translate' button becomes visible once the user scrolls to the content header.
QA Results - TestWiki
| AC | Status | Details |
|---|---|---|
| 1 | ✅ | T413258#11546296 |
| 2 | ✅ | T413258#11608762 |
