Skip to content

Commit c3556c7

Browse files
committed
Merge branch 'main' of github.com:vizzuhq/vizzu-lib into main
2 parents 1d32029 + cd776b3 commit c3556c7

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

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

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,17 @@ class TestSuiteResult {
3333

3434
createTestSuiteResult() {
3535
this.#createNewConfig();
36+
if (this.#testSuiteResults.MANUAL.length != 0) {
37+
const manualTestCases = [];
38+
this.#cnsl.log("\n");
39+
this.#testSuiteResults.MANUAL.forEach(testCase => {
40+
manualTestCases.push(path.relative(TestEnv.getTestSuitePath(), path.join(TestEnv.getWorkspacePath(), testCase.testName)));
41+
this.#cnsl.log("".padEnd(this.#cnsl.getTestStatusPad() + 5, " ") + path.relative(TestEnv.getTestSuitePath(), path.join(TestEnv.getWorkspacePath(), testCase.testName)));
42+
this.#cnsl.log("".padEnd(this.#cnsl.getTestStatusPad() + 5, " ") + "http://127.0.0.1:8080/test/integration/modules/manual/client?testFile=" + testCase.testFile + "&testType=" + testCase.testType + "&testIndex=" + testCase.testIndex + "&vizzuUrl=localhost\n");
43+
});
44+
this.#cnsl.log("\n");
45+
this.#cnsl.log("".padEnd(this.#cnsl.getTestStatusPad() + 5, " ") + "node man.js" + " " + manualTestCases.join(" "));
46+
}
3647
this.#testSuiteResults.TIME.END = Math.round(Date.now() / 1000);
3748
let duration = this.#testSuiteResults.TIME.END - this.#testSuiteResults.TIME.START;
3849
this.#cnsl.log("\n" + "duration:".padEnd(15, " ") + duration + "s");
@@ -51,9 +62,6 @@ class TestSuiteResult {
5162
} else {
5263
this.#cnsl.log("tests failed:".padEnd(15, " ") + this.#testSuiteResults.FAILED.length);
5364
}
54-
this.#testSuiteResults.MANUAL.forEach(testCase => {
55-
this.#cnsl.log("".padEnd(this.#cnsl.getTestStatusPad() + 5, " ") + path.relative(TestEnv.getTestSuitePath(), path.join(TestEnv.getWorkspacePath(), testCase.testName)) + " http://127.0.0.1:8080/test/integration/modules/manual/client?testFile=" + testCase.testFile + "&testType=" + testCase.testType + "&testIndex=" + testCase.testIndex + "&vizzuUrl=localhost");
56-
});
5765
}
5866

5967

0 commit comments

Comments
 (0)