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: If0d3b508fb9a711afdfd1d18086071ed4c9cb0ed
This commit is contained in:
Željko Filipin 2018-09-03 17:29:37 +02:00
parent c46c56ae65
commit 937980a9b0

View file

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