Integration tests using spectron (#410)

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
Jari Kolehmainen authored and GitHub committed 2020-06-09 13:18:24 +03:00
1 parent af24da976b
commit deb4bf2f7b
9 files changed
+513 -29

No files matched your search

+7 -4
View File
@@ -109,16 +109,17 @@
"dev-dashboard": "cd dashboard && yarn dev",
"dev-electron": "electron-webpack dev",
"compile": "yarn download:bins && electron-webpack",
"build:linux": "yarn compile && electron-builder --linux --dir",
"build:mac": "yarn compile && electron-builder --mac --dir",
"build:win": "yarn compile && electron-builder --win --dir",
"build:linux": "yarn compile && electron-builder --linux --dir -c.productName=LensDev",
"build:mac": "yarn compile && electron-builder --mac --dir -c.productName=LensDev",
"build:win": "yarn compile && electron-builder --win --dir -c.productName=LensDev",
"dist": "yarn compile && electron-builder -p onTag",
"dist:win": "yarn compile && electron-builder -p onTag --x64 --ia32",
"dist:dir": "yarn dist --dir -c.compression=store -c.mac.identity=null",
"lint": "eslint $@ --ext js,ts,vue --max-warnings=0 src/",
"lint-dashboard": "eslint $@ --ext js,ts,tsx --max-warnings=0 dashboard/client dashboard/server",
"postinstall": "patch-package",
"test": "node_modules/.bin/jest",
"test": "node_modules/.bin/jest spec/src/",
"integration": "node_modules/.bin/jest spec/integration/",
"download:bins": "concurrently \"yarn download:kubectl\" \"yarn download:helm\"",
"download:kubectl": "yarn run ts-node build/download_kubectl.ts",
"download:helm": "yarn run ts-node build/download_helm.ts"
@@ -184,6 +185,7 @@
"@types/tempy": "0.1.0",
"@types/universal-analytics": "^0.4.3",
"@types/uuid": "^3.4.5",
"@types/webdriverio": "^4.13.0",
"@typescript-eslint/eslint-plugin": "^2.7.0",
"@typescript-eslint/parser": "^2.7.0",
"bootstrap": "^4.3.1",
@@ -211,6 +213,7 @@
"postinstall-postinstall": "^2.0.0",
"prismjs": "^1.17.1",
"sass-loader": "^8.0.0",
"spectron": "^8.0.0",
"ts-jest": "^24.1.0",
"ts-loader": "^6.0.4",
"ts-node": "^8.4.1",