Skip to content

Commit

Permalink
WEB-22696 Karma: show skipped suites/specs when 'Show ignored' is ena…
Browse files Browse the repository at this point in the history
…bled
  • Loading branch information
segrey committed Nov 10, 2016
1 parent 7380d43 commit b5a39e3
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions lib/intellijReporter.js
Expand Up @@ -217,7 +217,10 @@ function IntellijReporter(config, fileList, formatError, globalEmitter, injector

this.onSpecComplete = function (browser, result) {
if (result.skipped) {
return;
// the test is either pending or disabled
if (!result.pending) {
return;
}
}
var suiteNames = filterSuiteNames(result.suite)
, specName = result.description;
Expand All @@ -240,7 +243,7 @@ function IntellijReporter(config, fileList, formatError, globalEmitter, injector
}
var suiteNode = getOrCreateLowerSuiteNode(browserNode, suiteNames, write);
var specNode = createSpecNode(suiteNode, suiteNames, specName);
var status = result.success ? 0 : 2;
var status = result.pending ? 1 : result.success ? 0 : 2;
var failureMsg = '';
result.log.forEach(function (log) {
failureMsg += formatError(log, '\t');
Expand Down

0 comments on commit b5a39e3

Please sign in to comment.