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.
Description
Description
Details
Details
Project | Branch | Lines +/- | Subject | |
---|---|---|---|---|
mediawiki/selenium | master | +321 -12 | User factory for automatic creation of test accounts |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | zeljkofilipin | T91669 Make browser tests voting for all repos of WMF deployed code | |||
Resolved | zeljkofilipin | T55697 [EPIC] trigger browser tests from Gerrit (tracking) | |||
Declined | None | T54424 Run subset of browser tests on isolated CI instances per commit submitted in mediawiki/core | |||
Resolved | dduvall | T103039 Define JJB builder for running a subset of integration MW-Selenium tests | |||
Resolved | dduvall | T103135 Automatic account creation for MW-Selenium test user in integration environment |
Event Timeline
Comment Actions
Change 219510 had a related patch set uploaded (by Dduvall):
User factory for automatic creation of test accounts
Comment Actions
Change 219510 merged by jenkins-bot:
User factory for automatic creation of test accounts