Selenium: Simplify selenium-daily NPM script

selenium-daily now just calls selenium-test. Environment variables are set up in
the Jenkins job, so they are removed.
selenium-daily might seem redundant, but it provides flexibility. In case a
repository does not want to run all tests daily, that's easily fixed by updating the
selenium-daily script.

Bug: T188742
Change-Id: I7dba2c80ab8de641a012aa92bbd8453bc24c7b14
This commit is contained in:
Željko Filipin 2018-09-03 17:26:11 +02:00 committed by Zfilipin
parent d6d2588ecc
commit 42da15f63a

View file

@ -2,7 +2,7 @@
"private": true,
"scripts": {
"test": "grunt test",
"selenium-daily": "MEDIAWIKI_USER='Selenium user' MW_SERVER=https://en.wikipedia.beta.wmflabs.org:443 MW_SCRIPT_PATH=/w npm run selenium-test",
"selenium-daily": "npm run selenium-test",
"selenium-test": "wdio tests/selenium/wdio.conf.js"
},
"devDependencies": {