mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-28 01:30:15 +00:00
53d849b3c9
Until now, Echo tests had to be run from mediawiki/core folder. Add an independant 'npm run selenium-test' entry point for local development. It comes with a minimal wdio.conf.js file that contains only non-default settings, and runs only specs from this extension. This also makes it so that screenshots are saved to this repo's log directory instead of core's. Bug: T171848 Change-Id: I1396f8d856c6cb1ad9818abf4ba09a4fcefdcfdc
28 lines
673 B
JSON
28 lines
673 B
JSON
{
|
|
"name": "echo",
|
|
"version": "0.0.1",
|
|
"private": true,
|
|
"description": "Build tools for Echo.",
|
|
"scripts": {
|
|
"test": "grunt test",
|
|
"doc": "jsduck",
|
|
"selenium-test": "wdio tests/selenium/wdio.conf.js"
|
|
},
|
|
"devDependencies": {
|
|
"eslint-config-wikimedia": "0.5.0",
|
|
"grunt": "1.0.1",
|
|
"grunt-banana-checker": "0.6.0",
|
|
"grunt-contrib-watch": "1.0.0",
|
|
"grunt-eslint": "20.1.0",
|
|
"grunt-jsonlint": "1.1.0",
|
|
"grunt-stylelint": "0.9.0",
|
|
"grunt-svgmin": "5.0.0",
|
|
"stylelint": "8.2.0",
|
|
"stylelint-config-wikimedia": "0.4.2",
|
|
"wdio-mediawiki": "0.1.7",
|
|
"wdio-mocha-framework": "0.5.13",
|
|
"wdio-spec-reporter": "0.1.4",
|
|
"webdriverio": "4.12.0"
|
|
}
|
|
}
|