Browse Source

add webdriverio and plugins

Artur Paikin 7 years ago
parent
commit
4daaf5ca78
2 changed files with 1264 additions and 106 deletions
  1. 1256 102
      package-lock.json
  2. 8 4
      package.json

File diff suppressed because it is too large
+ 1256 - 102
package-lock.json


+ 8 - 4
package.json

@@ -89,7 +89,10 @@
     "tape": "^4.8.0",
     "tinyify": "^1.0.0",
     "uppy-server": "0.0.7",
-    "watchify": "3.7.0"
+    "watchify": "3.7.0",
+    "wdio-mocha-framework": "^0.5.11",
+    "wdio-sauce-service": "^0.4.4",
+    "wdio-static-server-service": "^1.0.1"
   },
   "dependencies": {
     "cuid": "^1.3.8",
@@ -108,7 +111,8 @@
     "url-parse": "1.1.9",
     "whatwg-fetch": "2.0.3",
     "yo-yo": "1.4.0",
-    "yo-yoify": "3.7.2"
+    "yo-yoify": "3.7.2",
+    "webdriverio": "^4.8.0"
   },
   "scripts": {
     "build:bundle": "node ./bin/build-js.js",
@@ -129,8 +133,8 @@
     "start:server": "cd ./node_modules/uppy-server && npm run start",
     "start": "npm-run-all --parallel watch start:server web:preview",
     "test:acceptance:handleservers": "bin/bootandkill-servers node test/acceptance/index.js",
-    "test:acceptance": "node test/acceptance/index.js",
-    "test:acceptance:new": "jest --testPathPattern=endtoend",
+    "test:acceptance": "./bin/endtoend-build && wdio test/endtoend/wdio.remote.conf.js",
+    "test:acceptance:local": "./bin/endtoend-build && wdio test/endtoend/wdio.local.conf.js",
     "test:unit": "jest --testPathPattern=src --coverage",
     "test": "npm run lint && npm run test:unit",
     "test:watch": "jest --watch --testPathPattern=src",

Some files were not shown because too many files changed in this diff