Selenium: move logic for running tests from package.json to selenium.sh
authorŽeljko Filipin <zeljko.filipin@gmail.com>
Sat, 7 Apr 2018 14:35:26 +0000 (16:35 +0200)
committerZfilipin <zfilipin@wikimedia.org>
Fri, 13 Apr 2018 14:21:29 +0000 (14:21 +0000)
commitd972780d8bb5c1d04ad3f136d63108ae74d61b57
tree8417432864464acc853a65c5a2c797f1e6f7c30a
parent9ff15fe2ced6b220d06601b74069fc9a7bbe5943
Selenium: move logic for running tests from package.json to selenium.sh

Just running `npm run selenium` in CI does not work. If WebdriverIO fails, the
job still passes since the last command to run is  `killall chromedriver`.
Reusing the script from CI that starts and stops Chromedriver should fix the
problem.

Bug: T179190
Change-Id: If29227263d23a3e4f26e2329dfa13c49f976cf8e
package.json
tests/selenium/selenium.sh [new file with mode: 0755]