Quellcode durchsuchen

Convert rest of karma tests to headless by default

Jason Grout vor 5 Jahren
Ursprung
Commit
1342842752

+ 2 - 1
tests/test-csvviewer/package.json

@@ -6,11 +6,12 @@
     "build": "tsc -b",
     "clean": "rimraf build && rimraf coverage",
     "coverage": "python run-test.py --browsers=ChromeHeadless karma-cov.conf.js",
-    "test": "jlpm run test:firefox",
+    "test": "jlpm run test:firefox-headless",
     "test:chrome": "python run-test.py --browsers=Chrome karma.conf.js",
     "test:chrome-headless": "python run-test.py --browsers=ChromeHeadless karma.conf.js",
     "test:debug": "python run-test.py  --browsers=Chrome --singleRun=false --debug=true --browserNoActivityTimeout=10000000 karma.conf.js",
     "test:firefox": "python run-test.py --browsers=Firefox karma.conf.js",
+    "test:firefox-headless": "python run-test.py --browsers=FirefoxHeadless karma.conf.js",
     "test:ie": "python run-test.py  --browsers=IE karma.conf.js",
     "watch": "tsc -b --watch",
     "watch:src": "tsc -p src --watch"

+ 2 - 1
tests/test-docmanager/package.json

@@ -6,11 +6,12 @@
     "build": "tsc -b",
     "clean": "rimraf build && rimraf coverage",
     "coverage": "python run-test.py --browsers=ChromeHeadless karma-cov.conf.js",
-    "test": "jlpm run test:firefox",
+    "test": "jlpm run test:firefox-headless",
     "test:chrome": "python run-test.py --browsers=Chrome karma.conf.js",
     "test:chrome-headless": "python run-test.py --browsers=ChromeHeadless karma.conf.js",
     "test:debug": "python run-test.py  --browsers=Chrome --singleRun=false --debug=true --browserNoActivityTimeout=10000000 karma.conf.js",
     "test:firefox": "python run-test.py --browsers=Firefox karma.conf.js",
+    "test:firefox-headless": "python run-test.py --browsers=FirefoxHeadless karma.conf.js",
     "test:ie": "python run-test.py  --browsers=IE karma.conf.js",
     "watch": "tsc -b --watch",
     "watch:src": "tsc -p src --watch"

+ 2 - 1
tests/test-filebrowser/package.json

@@ -6,11 +6,12 @@
     "build": "tsc -b",
     "clean": "rimraf build && rimraf coverage",
     "coverage": "python run-test.py --browsers=ChromeHeadless karma-cov.conf.js",
-    "test": "jlpm run test:firefox",
+    "test": "jlpm run test:firefox-headless",
     "test:chrome": "python run-test.py --browsers=Chrome karma.conf.js",
     "test:chrome-headless": "python run-test.py --browsers=ChromeHeadless karma.conf.js",
     "test:debug": "python run-test.py  --browsers=Chrome --singleRun=false --debug=true --browserNoActivityTimeout=10000000 karma.conf.js",
     "test:firefox": "python run-test.py --browsers=Firefox karma.conf.js",
+    "test:firefox-headless": "python run-test.py --browsers=FirefoxHeadless karma.conf.js",
     "test:ie": "python run-test.py  --browsers=IE karma.conf.js",
     "watch": "tsc -b --watch",
     "watch:src": "tsc -p src --watch"

+ 2 - 1
tests/test-notebook/package.json

@@ -6,12 +6,13 @@
     "build": "tsc -b",
     "clean": "rimraf build && rimraf coverage",
     "coverage": "python run-test.py --browsers=ChromeHeadless karma-cov.conf.js",
-    "test": "jlpm run test:firefox",
+    "test": "jlpm run test:firefox-headless",
     "test:chrome": "python run-test.py --browsers=Chrome karma.conf.js",
     "test:chrome-headless": "python run-test.py --browsers=ChromeHeadless karma.conf.js",
     "test:debug": "python run-test.py  --browsers=Chrome --singleRun=false --debug=true --browserNoActivityTimeout=10000000 --browserDisconnectTimeout=10000000 karma.conf.js",
     "test:debug:chrome-headless": "python run-test.py  --browsers=ChromeHeadless --singleRun=false --debug=true --browserNoActivityTimeout=10000000 --browserDisconnectTimeout=10000000 karma.conf.js",
     "test:firefox": "python run-test.py --browsers=Firefox karma.conf.js",
+    "test:firefox-headless": "python run-test.py --browsers=FirefoxHeadless karma.conf.js",
     "test:ie": "python run-test.py  --browsers=IE karma.conf.js",
     "test:watch": "python run-test.py  --browsers=Chrome --singleRun=false --debug=true --watch --browserNoActivityTimeout=10000000 --browserDisconnectTimeout=10000000 karma.conf.js",
     "watch": "tsc -b --watch",

+ 2 - 1
tests/test-rendermime/package.json

@@ -6,11 +6,12 @@
     "build": "tsc -b",
     "clean": "rimraf build && rimraf coverage",
     "coverage": "python run-test.py --browsers=ChromeHeadless karma-cov.conf.js",
-    "test": "jlpm run test:firefox",
+    "test": "jlpm run test:firefox-headless",
     "test:chrome": "python run-test.py --browsers=Chrome karma.conf.js",
     "test:chrome-headless": "python run-test.py --browsers=ChromeHeadless karma.conf.js",
     "test:debug": "python run-test.py  --browsers=Chrome --singleRun=false --debug=true --browserNoActivityTimeout=10000000 karma.conf.js",
     "test:firefox": "python run-test.py --browsers=Firefox karma.conf.js",
+    "test:firefox-headless": "python run-test.py --browsers=FirefoxHeadless karma.conf.js",
     "test:ie": "python run-test.py  --browsers=IE karma.conf.js",
     "watch": "tsc -b --watch",
     "watch:src": "tsc -p src --watch"

+ 2 - 1
tests/test-terminal/package.json

@@ -6,11 +6,12 @@
     "build": "tsc -b",
     "clean": "rimraf build && rimraf coverage",
     "coverage": "python run-test.py --browsers=ChromeHeadless karma-cov.conf.js",
-    "test": "jlpm run test:firefox",
+    "test": "jlpm run test:firefox-headless",
     "test:chrome": "python run-test.py --browsers=Chrome karma.conf.js",
     "test:chrome-headless": "python run-test.py --browsers=ChromeHeadless karma.conf.js",
     "test:debug": "python run-test.py  --browsers=Chrome --singleRun=false --debug=true --browserNoActivityTimeout=10000000 karma.conf.js",
     "test:firefox": "python run-test.py --browsers=Firefox karma.conf.js",
+    "test:firefox-headless": "python run-test.py --browsers=FirefoxHeadless karma.conf.js",
     "test:ie": "python run-test.py  --browsers=IE karma.conf.js",
     "watch": "tsc -b --watch",
     "watch:src": "tsc -p src --watch"