It is now possible to save the results to an AWS S3 bucket

This commit is contained in:
Gaël Métais
2021-03-14 01:49:23 +00:00
parent 2da4371847
commit 9211074b32
3 changed files with 123 additions and 10 deletions
+2 -6
View File
@@ -49,13 +49,13 @@ function ResultsDatastore() {
};
this.deleteResult = function(runId) {
/*this.deleteResult = function(runId) {
var folder = path.join(resultsDir, runId);
debug('Deleting results (runID = %s) from disk...', runId);
return Q.nfcall(rimraf, folder);
};
};*/
// The folder /results/folderName/
@@ -92,10 +92,6 @@ function ResultsDatastore() {
return deferred.promise;
}
this.getResultFolder = function(runId) {
return path.join(resultsDir, runId);
};
// If there is a screenshot, save it as screenshot.jpg in the same folder as the results
function saveScreenshotIfExists(testResults, path) {
var deferred = Q.defer();