As a wikibase developer I want to use the nodejs test framework so that I only have 1 selenium test framework to think about.
As the WMF I want to use the nodejs test framework in wikibaselexeme so that all wmf deployed extensions are consistent.
As release engineering I want to remove all ruby selenium jobs so that more CI time is available for other jobs.
Details
- Jenkins jobs to setup
- Features to migrate
note: keep in mind that if some of those feature tests does not make sense then we would just drop it and do not have to migrate it just for the sake of it ;)
- aliases.feature
- authority_control_gadget.feature
- delete_item.feature
- description.feature
- edit_tab.feature
- empty_label_and_description.feature
- header.feature
- item_smoke.feature
- label.feature
- non_existing_item.feature
- property_smoke.feature
- reference.feature
- sitelinks.feature
- sitelinks_badge.feature
- special_set_label.feature
- statement.feature
- statements_geo.feature
- statements_item.feature
- statements_monolingual.feature
- statements_quantity.feature
- statements_rank.feature
- statements_snaktype.feature
- statements_string.feature
- statements_time.feature
- statements_url.feature
Impact & Priority
There is no specific point in time when the migration should happen (i.e. does not have happen immediately).
The WMDE is no longer supporting the ruby framework so if it does break we will be on our own and then forced to make fixes / migrate before Wikibase development can continue.
The ruby tests do not run as part of the mediawiki core gate-submit jobs, although the node ones will. Having our tests run with the core gets submit tests will eliminate breakages caused by core changes.
Task
Convert all ruby features to be run as part of the node JS selenium tests.
A test framework example can probably be taken from WikibaseLexeme which already includes node browser tests.
Acceptance Criteria
- No ruby test features exist in the Wikibase git repo code base
- All features that did exist have been converted to the node js system
- The "mwext-mw-selenium-composer-jessie" jenkins job that runs on Wikibase git code changes in gate-submit no longer runs on them
- All other files & docs relating to the ruby tests have been removed from the Wikibase git repo