Skip to content

Commit 8bec0ea

Browse files
authored
integration test: fix test suite results
logs warning manual links
1 parent 23b6963 commit 8bec0ea

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

test/integration/modules/integration-test/test-suite-result.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,13 @@ class TestSuiteResult {
4848
if (this.#testSuiteResults.FAILED.length != 0) {
4949
this.#cnsl.log(("tests failed:".padEnd(15, " ") + this.#testSuiteResults.FAILED.length).error);
5050
process.exitCode = 1;
51-
this.#testSuiteResults.FAILED.forEach(testCase => {
52-
this.#cnsl.log("".padEnd(this.#cnsl.getTestStatusPad() + 5, " ") + path.relative(TestEnv.getTestSuitePath(), path.join(TestEnv.getWorkspacePath(), testCase)) + " http://127.0.0.1:8080/test/integration/modules/manual/client?version=localhost&testCase=" + testCase);
53-
});
5451
} else {
5552
this.#cnsl.log("tests failed:".padEnd(15, " ") + this.#testSuiteResults.FAILED.length);
5653
}
54+
let manual = this.#testSuiteResults.FAILED.concat(this.#testSuiteResults.WARNING);
55+
manual.forEach(testCase => {
56+
this.#cnsl.log("".padEnd(this.#cnsl.getTestStatusPad() + 5, " ") + path.relative(TestEnv.getTestSuitePath(), path.join(TestEnv.getWorkspacePath(), testCase)) + " http://127.0.0.1:8080/test/integration/modules/manual/client?version=localhost&testCase=" + testCase);
57+
});
5758
}
5859

5960

0 commit comments

Comments
 (0)