Page MenuHomePhabricator

Automatic account creation for MW-Selenium test user in integration environment
Closed, ResolvedPublic

Description

In order to achieve a flexible MW-Selenium Gerrit/CI job, as much test logic as possible should be delegated to the project's test suite, including initial account creation. We can start by letting the test suite create the ubiquitous "Selenium user"—by refactoring the [[ https://doc.wikimedia.org/rubygems/mediawiki-selenium/MediawikiSelenium/ApiHelper.html#ensure_account-instance_method | ensure_account]] API helper method—and later extend this to randomize/scope the username, facilitating parallel execution of scenarios.

Event Timeline

dduvall created this task.Jun 19 2015, 6:01 PM
dduvall claimed this task.
dduvall raised the priority of this task from to Medium.
dduvall updated the task description. (Show Details)

Change 219510 had a related patch set uploaded (by Dduvall):
User factory for automatic creation of test accounts

https://gerrit.wikimedia.org/r/219510

Change 219510 merged by jenkins-bot:
User factory for automatic creation of test accounts

https://gerrit.wikimedia.org/r/219510

dduvall closed this task as Resolved.Jun 26 2015, 9:52 PM
dduvall moved this task from In Progress to Done on the Browser-Tests-Infrastructure board.