moves web components testing to project root

parent 76dc7e27
build
generated/
errorShots/
.*
!.gitignore
!.existdb.json
......
errorShots
\ No newline at end of file
......@@ -19,7 +19,7 @@ export WDIO_CHROME_BINARY="/usr/bin/google-chrome-beta"
Run wct test:
```shell
npm test
npm run wctest
```
or manually:
......
{
"name": "tei-publisher-app",
"version": "4.0.0-RC1",
"description": "TEI Publisher facilitates the integration of the TEI Processing Model into exist-db applications",
"main": "gulpfile.js",
"scripts": {
"test": "./node_modules/.bin/wdio wdio.conf.js"
},
"repository": {
"type": "git",
"url": "git@gitlab.existsolutions.com:tei-publisher/tei-publisher-app.git"
},
"license": "GPL-3.0",
"dependencies": {
"@existdb/gulp-exist": "^3.0.0",
"@existdb/node-exist": "^1.0.4",
"chai": "^4.2.0",
"chromedriver": "^2.44.1",
"mocha": "^5.2.0",
"wdio": "^3.0.0",
"wdio-chromedriver-service": "^0.1.5",
"wdio-dot-reporter": "0.0.10",
"wdio-junit-reporter": "^0.4.4",
"wdio-mocha-framework": "^0.6.4",
"web-component-tester": "^6.9.0",
"webdriverio": "^4.14.1",
"xml-writer": "^1.7.0"
}
}
......@@ -34,7 +34,7 @@ exports.config = {
// directory is where your package.json resides, so `wdio` will be called from there.
//
specs: [
'./specs/**/*.js'
'./components/test/specs/**/*.js'
],
// Patterns to exclude.
exclude: [
......
......@@ -4,13 +4,15 @@
"description": "TEI Publisher facilitates the integration of the TEI Processing Model into exist-db applications",
"main": "gulpfile.js",
"directories": {
"test": "webtest"
"test": "webtest",
"wctest": "components/test"
},
"scripts": {
"test": "webtest/node_modules/.bin/wdio wdio.conf.js",
"update": "npm update && gulp",
"start": "npm install --quiet && gulp",
"gulp": "gulp default"
"gulp": "gulp default",
"wctest": "./node_modules/.bin/wdio components/test/wdio.conf.js"
},
"repository": {
"type": "git",
......@@ -22,15 +24,27 @@
"web-component-tester": "^6.8.0"
},
"dependencies": {
"@existdb/gulp-exist": "^3.0.0",
"@existdb/node-exist": "^1.0.4",
"chai": "^4.2.0",
"chromedriver": "^2.44.1",
"codemirror": "^5.39.2",
"del": "^2.2.2",
"gulp": "^3.9.1",
"gulp-exist": "^1.4.2",
"gulp-less": "^3.3.2",
"gulp-newer": "^1.3.0",
"gulp-sourcemaps": "^2.6.1",
"less-plugin-autoprefix": "^1.5.1",
"less-plugin-clean-css": "^1.5.1",
"path": "^0.12.7"
"mocha": "^5.2.0",
"path": "^0.12.7",
"wdio": "^3.0.0",
"wdio-chromedriver-service": "^0.1.5",
"wdio-dot-reporter": "0.0.10",
"wdio-junit-reporter": "^0.4.4",
"wdio-mocha-framework": "^0.6.4",
"web-component-tester": "^6.9.0",
"webdriverio": "^4.14.1",
"xml-writer": "^1.7.0"
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment