As a wikibaselexeme 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.
The WMF have replaced the Ruby framework of creating selenium browser tests with node-based one.
The Ruby framework has been deprecated and is not going to be supported by Release Engineering team staff (see https://phabricator.wikimedia.org/phame/post/view/79/selenium_ruby_framework_deprecated/)
While current infrastructure for running browser tests created within Ruby framework currently works, it is not going to be maintained actively. E.g. when there are problems we might end up not being to fix them.
There is some amount of browser tests for WikibaseLexeme extension created in Ruby. They should be migrated to the new node-based framework.
Experience with this task would serve as a good basis for converting browser tests of Wikibase (due to number of tests this is something to plan and tackle separately).
Impact & Priority
There is no specific point in time when the migration should happen (i.e. does not have happen immediately).
The WMF 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 Lexeme 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.
Convert all ruby features to be run as part of the node JS selenium tests (that already exist for Lexeme)
- No ruby test features exist in the Lexeme 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 Lexeme code changes no longer runs on them
- All other files & docs relating to the ruby tests have been removed from the Lexeme repo