diff --git a/apps/tests/testRunner.ts b/apps/tests/testRunner.ts
index a8d481ff4..a57f9e726 100644
--- a/apps/tests/testRunner.ts
+++ b/apps/tests/testRunner.ts
@@ -136,10 +136,10 @@ function printRunTestStats() {
failedTestInfo.push(allTests[j].testName + " FAILED: " + allTests[j].errorMessage);
- testFileContent.push(`${errorMessage}`);
+ testFileContent.push(`${errorMessage}`);
} else {
- testFileContent.push(``);
+ testFileContent.push(``);
}
}
@@ -155,9 +155,12 @@ function printRunTestStats() {
testFileContent.push("");
testFileContent.push("");
- let testFile = fs.File.fromPath(fs.path.join(fs.knownFolders.documents().path, "test-results.xml"));
+ let testFilePath = fs.path.join(fs.knownFolders.documents().path, "test-results.xml");
+ let testFile = fs.File.fromPath(testFilePath);
testFile.writeTextSync(testFileContent.join(""));
+ finalMessage += "\n" + "Test results: " + testFilePath;
+
let messageContainer = new TextView();
messageContainer.text = finalMessage;
topmost().currentPage.content = messageContainer;