== Background
Because we are configuring two separate experiments for English Wiki and the Arabic/French/Chinese/Indonesian/Vietnamese within Test Kitchen (fka xLabs), we should make sure that the code point to both experiments.
---
=== Acceptance criteria
- [] All code that points to an experiment within Test Kitchen/xLabs points to en OR ar/fr/zh/id/vi experiment
== Requirement
Scope: Desktop web (Vector 2022).
- Update experiment configuration for Reading Lists to support both experiment IDs:
- `we-3-3-4-reading-list-test1` (for Arabic, French, Chinese, Indonesian, Vietnamese wikis)
- `we-3-3-4-reading-list-test1-en` (for English Wikipedia)
- All references to the experiment in Test Kitchen/xLabs must recognize either experiment ID to enable the Reading List feature.
- Users bucketed into either experiment must be able to activate and use Reading Lists.
- QA should confirm that enabling either experiment ID activates the same Reading List behavior.
== BDD
Feature: Support multiple experiment IDs for Reading List feature
Scenario: User enrolled in English experiment
Given I am enrolled in the `we-3-3-4-reading-list-test1-en` experiment
When I visit an article using Vector 2022
Then the Reading List feature (bookmark icon and Special:ReadingLists) is enabled
Scenario: User enrolled in AR/FR/ZH/ID/VI experiment
Given I am enrolled in the `we-3-3-4-reading-list-test1` experiment
When I visit an article using Vector 2022
Then the Reading List feature (bookmark icon and Special:ReadingLists) is enabled
== Test Steps
__Test Case 1: Verify Reading List activation for English experiment__
1. Log in and use the browser console to run:
`mw.xLab.overrideExperimentGroup('we-3-3-4-reading-list-test1-en', 'treatment')`
2. Refresh the page.
3. **AC1:** The Reading List bookmark icon appears.
4. **AC2:** Special:ReadingLists is accessible.
__Test Case 2: Verify Reading List activation for AR/FR/ZH/ID/VI experiment__
5. Log in and use the browser console to run:
`mw.xLab.overrideExperimentGroup('we-3-3-4-reading-list-test1', 'treatment')`
6. Refresh the page.
7. **AC3:** The Reading List bookmark icon appears.
8. **AC4:** Special:ReadingLists is accessible.
__Test Case 3: Verify feature remains off for non-enrolled users__
9. Log in as a user not in either experiment group.
10. Refresh the page.
11. **AC5:** The Reading List bookmark icon does not appear.
12. **AC6:** Special:ReadingLists is not accessible from the UI.
=== Rollback plan
//Describe the rollback plan in production for this task if something goes wrong.//
//This task was created by Version 1.0.0 of the Reader Experience team task template using [[ https://phabulous.toolforge.org/ | phabulous ]].//