Background
This ticket will track the release of dark mode as a beta feature on desktop across wikis.
User story
- As a logged-in user, I want the ability to opt into dark mode as a beta feature, so that I can quickly benefit from the feature and test the new feature before wider release
Requirements
- All subtasks are resolved and their code is in production
- Dark mode must be packaged with the current "Accessibility for reading" beta feature, which enables the appearance menu and its functionality
- Upon deployment, the dark mode option will be made available in the appearance menu
- Selecting dark mode will switch the interface to dark mode
- The default setting for the dark mode option will be "light"
- Note: We released with a default of "automatic". After reviewing the difficulty and disturbance to change the initial default, we decided to keep the default as "automatic"
BDD
Feature: Release Dark Mode as a Beta Feature on Desktop
Scenario: Dark mode option available in appearance menu
Given the user is logged into Wikipedia
And the "Accessibility for reading" beta feature is enabled
When the user accesses the appearance menu
Then the dark mode option should be available
Scenario: Switching to dark mode
Given the user is logged into Wikipedia
And the dark mode option is available in the appearance menu
When the user selects the dark mode option
Then the interface should switch to dark mode
Scenario: Default setting is Automatic
Given the user is logged into Wikipedia
When the user accesses the appearance menu
Then the default setting for the dark mode option should be "Automatic"Test Steps
Test Case 1: Dark Mode Option Available in Appearance Menu
- Log in to Wikipedia.
- Ensure the "Accessibility for reading" beta feature is enabled.
- Access the appearance menu.
- AC1: Confirm that the dark mode option is available.
Test Case 2: Switching to Dark Mode
- Log in to Wikipedia.
- Ensure the dark mode option is available in the appearance menu.
- Select the dark mode option.
- AC2: Confirm that the interface switches to dark mode.
Test Case 3: Default Setting is Automatic
- Log in to Wikipedia.
- Access the appearance menu.
- AC3: Confirm that the default setting for the dark mode option is "Automatic."
Design
- see subtasks
Acceptance criteria
- Ensure all requirements are complete
- Check with @ovasileva and @sgrabarczuk before deployment
- Keep track of tasks that are not in the train, and check with Olga if any of those need fixing.
- Backport fixes earlier in the week where possible.
Communication criteria - does this need an announcement or discussion?
- An cross-wiki announcement of the deployment must be prepared ahead of deployment and ready to post
QA Results - Beta
| AC | Status | Details |
|---|---|---|
| 1 | ✅ | T363814#9802534 |
| 2 | ✅ | T363814#9802534 |
| 3 | ✅ | This requirement has changed per T363814#9802881 and T363814#9806671, this shows a fail in the test comment, but it is a pass. |
QA Results - PROD
| AC | Status | Details |
|---|---|---|
| 1 | ✅ | T363814#9832643 |
| 2 | ✅ | T363814#9832643 |
| 3 | ✅ | T363814#9832643 |






