diff --git a/package-lock.json b/package-lock.json index 082f8a1fd477..9aaae60bd142 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12298,9 +12298,9 @@ } }, "jasmine-core": { - "version": "2.99.1", - "resolved": "https://registry.npmjs.org/jasmine-core/-/jasmine-core-2.99.1.tgz", - "integrity": "sha1-5kAN8ea1bhMLYcS80JPap/boyhU=", + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/jasmine-core/-/jasmine-core-2.8.0.tgz", + "integrity": "sha1-vMl5rh+f0FcB5F5S5l06XWPxok4=", "dev": true }, "jasminewd2": { @@ -12752,6 +12752,23 @@ "graceful-fs": "4.1.11" } }, + "karma-spec-reporter": { + "version": "0.0.32", + "resolved": "https://registry.npmjs.org/karma-spec-reporter/-/karma-spec-reporter-0.0.32.tgz", + "integrity": "sha1-LpxyB+pyZ3EmAln4K+y1QyCeRAo=", + "dev": true, + "requires": { + "colors": "1.2.1" + }, + "dependencies": { + "colors": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/colors/-/colors-1.2.1.tgz", + "integrity": "sha512-s8+wktIuDSLffCywiwSxQOMqtPxML11a/dtHE17tMn4B1MSWw/C22EKf7M2KGUBcDaVFEGT+S8N02geDXeuNKg==", + "dev": true + } + } + }, "keyv": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/keyv/-/keyv-3.0.0.tgz", diff --git a/package.json b/package.json index b95f41e5a9d4..802206651d0e 100644 --- a/package.json +++ b/package.json @@ -95,7 +95,7 @@ "highlight.js": "^9.11.0", "http-rewrite-middleware": "^0.1.6", "image-diff": "^1.6.3", - "jasmine-core": "^2.8.0", + "jasmine-core": "2.8.0", "jsonwebtoken": "^7.4.1", "karma": "^1.7.1", "karma-browserstack-launcher": "^1.3.0", @@ -104,6 +104,7 @@ "karma-firefox-launcher": "^1.0.1", "karma-jasmine": "^1.1.0", "karma-sauce-launcher": "^1.2.0", + "karma-spec-reporter": "^0.0.32", "karma-sourcemap-loader": "^0.3.7", "madge": "^2.2.0", "magic-string": "^0.22.4", diff --git a/test/karma.conf.js b/test/karma.conf.js index c1440ad28ec4..267ea30ca7a0 100644 --- a/test/karma.conf.js +++ b/test/karma.conf.js @@ -13,7 +13,8 @@ module.exports = (config) => { require('karma-chrome-launcher'), require('karma-firefox-launcher'), require('karma-sourcemap-loader'), - require('karma-coverage') + require('karma-coverage'), + require('karma-spec-reporter') ], files: [ {pattern: 'node_modules/core-js/client/core.js', included: true, watched: false}, @@ -49,7 +50,7 @@ module.exports = (config) => { 'dist/packages/**/*.js': ['sourcemap'] }, - reporters: ['dots'], + reporters: ['spec'], autoWatch: false, coverageReporter: { @@ -58,6 +59,12 @@ module.exports = (config) => { subdir: '.' }, + specReporter: { + maxLogLines: 1, + suppressSkipped: true, + showSpecTiming: true, + }, + sauceLabs: { testName: 'material2', startConnect: false, @@ -72,14 +79,15 @@ module.exports = (config) => { project: 'material2', startTunnel: false, retryLimit: 1, - timeout: 600, + timeout: 1800, pollingTimeout: 20000, video: false, }, - browserDisconnectTimeout: 20000, - browserNoActivityTimeout: 240000, - captureTimeout: 120000, + browserDisconnectTimeout: 180000, + browserDisconnectTolerance: 3, + browserNoActivityTimeout: 300000, + captureTimeout: 180000, browsers: ['ChromeHeadlessLocal'], singleRun: false,