@cplace/cli
Advanced tools
Comparing version 0.14.2 to 0.14.3
@@ -23,7 +23,15 @@ "use strict"; | ||
const launcherModule = require(this.getWdioCliExecutable()); | ||
let hasFailedTest = false; | ||
for (const plugin of this.plugins) { | ||
const wdioConf = path.join(this.workingDir, plugin, 'assets', 'e2e', WdioConfigGenerator_1.WdioConfigGenerator.WDIO_CONF_NAME); | ||
const launcher = new launcherModule.default(wdioConf, { args: [''] }); | ||
yield launcher.run(); | ||
const testHasFailed = yield launcher.run(); | ||
if (testHasFailed) { | ||
console.warn(`One of the E2E Tests in plugin ${plugin} has failed`); | ||
hasFailedTest = true; | ||
} | ||
} | ||
if (hasFailedTest) { | ||
throw new Error(`One of the E2E Tests has failed`); | ||
} | ||
}); | ||
@@ -30,0 +38,0 @@ } |
{ | ||
"name": "@cplace/cli", | ||
"version": "0.14.2", | ||
"version": "0.14.3", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
290854
4068
5556