Original problem
Copied from T397193: New accounts created from editor redirect to welcome survey, not back to editor.
Steps to replicate the issue (include links if applicable):
tested on mobile web test wiki
- go to https://test.m.wikipedia.org/wiki/Main_Page
- open a random article https://test.m.wikipedia.org/wiki/Special:Random
- tap 'edit' pencil
- tap 'create account'
- create account
What happens?:
- after creating the account the system redirects the new account to the welcome survey
What should have happened instead?:
- the system should redirect the new account back to the article they wanted to edit
Acceptance Criteria
- write an automated test (or multiple if needed for multiple components) that verifies the problem does not occur (in GrowthExperiments)
- Ensure the individual components changed in T397193 (VisualEditor, CentralAuth) behave as required (avoiding the problem to happen again for the same reason)