selenium: Abstract test command behind 'npm run'
authorTimo Tijhof <krinklemail@gmail.com>
Mon, 23 Apr 2018 14:56:54 +0000 (15:56 +0100)
committerTimo Tijhof <krinklemail@gmail.com>
Mon, 23 Apr 2018 14:56:54 +0000 (15:56 +0100)
commitc0600fd29c08ac9a454f3d334e374aac294081e2
tree7e3bdaf80731c1b906de228df6314c247af9c898
parent4c2a3f30abcda633748ca0e7dea90af19d0fb853
selenium: Abstract test command behind 'npm run'

This makes it possible to use in Quibble. Right now, Quibble
cannot use 'npm run selenium' yet because it sets up its own
chromedriver, which would conflict with selenium.sh.

But, in preparation for Id95f18927b5, we can at least abstract
the test command so that it can easily be changed without having
to update Quibble and without having to worry about it being the
same in all MediaWiki branches.

Bug: T179190
Change-Id: I622ec3bf36746502cae891cc6bec23982b21f876
package.json
tests/selenium/selenium.sh