diff --git a/test/integration/jasmine-boot.js b/test/integration/jasmine-boot.js index 097e4141e..8379cea4a 100644 --- a/test/integration/jasmine-boot.js +++ b/test/integration/jasmine-boot.js @@ -53,6 +53,9 @@ async function runTests(results) { jasmineStarted(suiteInfo) {}, specDone(result) { // Report on the result of individual tests. + if (result.status === "excluded") { + return; + } ++results.runs; if (result.failedExpectations.length > 0) { ++results.failures; @@ -63,6 +66,9 @@ async function runTests(results) { }, specStarted(result) {}, suiteDone(result) { + if (result.status === "excluded") { + return; + } // Report on the result of `afterAll` invocations. if (result.failedExpectations.length > 0) { ++results.failures; diff --git a/test/reporter.js b/test/reporter.js index 8308a7f5a..d3475035b 100644 --- a/test/reporter.js +++ b/test/reporter.js @@ -62,6 +62,9 @@ const TestReporter = function (browser) { this.specStarted = function (result) {}; this.specDone = function (result) { + if (result.status === "excluded") { + return; + } // Report on the result of individual tests. if (result.failedExpectations.length === 0) { sendResult("TEST-PASSED", result.description); @@ -75,6 +78,9 @@ const TestReporter = function (browser) { }; this.suiteDone = function (result) { + if (result.status === "excluded") { + return; + } // Report on the result of `afterAll` invocations. if (result.failedExpectations.length > 0) { let failedMessages = "";