Selenium: Create selenium-daily npm script

The script is needed for the new Docker-based Jenkins jobs (running daily and targeting beta cluster).

Bug: T188742
Change-Id: I1cca2398857c693d9a8f4dbbb2cf9d25b5124f83
This commit is contained in:
Željko Filipin 2018-07-06 16:30:48 +02:00 committed by Zfilipin
parent 10a99b016b
commit 2abc4a9256

View file

@ -6,7 +6,8 @@
"scripts": {
"test": "grunt test",
"doc": "jsduck",
"selenium-test": "wdio tests/selenium/wdio.conf.js"
"selenium-test": "wdio tests/selenium/wdio.conf.js",
"selenium-daily": "MEDIAWIKI_USER='Selenium user' MW_SERVER=https://en.wikipedia.beta.wmflabs.org:443 MW_SCRIPT_PATH=/w npm run selenium-test"
},
"devDependencies": {
"eslint-config-wikimedia": "0.5.0",