Background
Tapping on Log in will take the user to the existing login flow. After successfully logging in, they'll be opted into the ReadingLists beta feature, they are brought back to the article page.
For "reader" users:
- Skip the RL onboarding popover for the save button
- Skip the pulsating dot for dashboard
For non-reader users:
- Skip all RL popovers
- Show a popover indicating where the watchstar has moved
User story
If I choose to log into an existing Wikipedia account, I am taken to the standard login page. After logging in, I am taken back to the article and I understand where the watchstar went.
Design requirements
{F74837076}
Requirements
Technical requirements
- The returnto URL parameter can be added to the login link in the dialog to bring the user back to the article page.
- If the experiment runs during the beta feature phase, the user will need to be opted into the beta feature
Acceptance criteria
- On mobile web, for the treatment group, after logging in, the user will be brought back to the article page they saved
- If the experiment runs during the beta feature phase, the user will be opted into the beta feature
- For non-reader users, popover indicating where the watchstar has moved will be displayed
- No other popovers will be shown
- Users in the control group or outside the experiment will not see the bookmark button nor the notice about the watchstar.
BDD
FEATURE: a non-logged mobile user in a treatment group clicks the Login in in the
✅ Scenario 1: a user logs in as a user with previously enabled "Saved pages" beta feature
Given a user with enabled "Saved pages" option logs in after clicking Login in the Save pages CTA dialog
When a user is returned to a page where the Save pages CTA dialog was shown
Then a user doesn't see the RL onboarding popover for the save button
And a user doesn't see the pulsating dot for dashboard
Scenario 2: a user logs in as a user with NOT previously enabled "Saved pages" beta feature
Given a user with NOT enabled "Saved pages" option logs in after clicking the Login in button on the Save pages CTA dialog
When a user is returned to a page where the Save pages CTA dialog was shown
Then a user doesn't see RL popovers
And a user sees a popover indicating where the watchstar has moved
Scenario 3: (a comparison scenario for the Login button in the CTA Watch star dialog) a user in control group logs in via CTA in the Watch start dialog
Note: the was added for the case when a user upon login might be enrolled into Saved pages beta feature.
Given a user logs in via the Login button in the Watch star CTA
When a user is returned to a page where the Watch star CTA was displayed
Then a user sees the Watch star
And a user is able to click on the Watch star to add an article to a Watchlist
Test Steps
- run the scenarios above
- check for a temp user
- document the steps in the scenarios in the comments to this task
Communication criteria
n/a
Rollback plan
If there's an issue with this work we'd likely need to revert the patch showing the bookmark button to the treatment group (T422157) to disable the entire experimental UI, or turn the experiment off in TestKitchen.
This task was created by Version 1.0.0 of the Reader Experience team task template using phabulous.
