diff options
author | Timo Tijhof <krinklemail@gmail.com> | 2018-04-23 15:56:54 +0100 |
---|---|---|
committer | Timo Tijhof <krinklemail@gmail.com> | 2018-04-23 15:56:54 +0100 |
commit | c0600fd29c08ac9a454f3d334e374aac294081e2 (patch) | |
tree | 7e3bdaf80731c1b906de228df6314c247af9c898 /package.json | |
parent | 4c2a3f30abcda633748ca0e7dea90af19d0fb853 (diff) | |
download | mediawikicore-c0600fd29c08ac9a454f3d334e374aac294081e2.tar.gz mediawikicore-c0600fd29c08ac9a454f3d334e374aac294081e2.zip |
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
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/package.json b/package.json index a282d6931bda..416a23e972bc 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,8 @@ "qunit": "grunt qunit", "doc": "jsduck", "postdoc": "grunt copy:jsduck", - "selenium": "./tests/selenium/selenium.sh" + "selenium": "./tests/selenium/selenium.sh", + "selenium-test": "grunt webdriver:test" }, "devDependencies": { "bluebird": "3.5.1", |