@wdio/runner
Advanced tools
Comparing version 5.0.0-beta.10 to 5.0.0-beta.12
@@ -98,2 +98,3 @@ "use strict"; | ||
log.info('SIGINT signal detected while starting session, shutting down...'); | ||
await this.endSession(); | ||
return this._shutdown(0); | ||
@@ -159,11 +160,2 @@ } | ||
await this._fetchDriverLogs(this.config); | ||
/** | ||
* in watch mode we don't close the session and open a blank page instead | ||
*/ | ||
if (!argv.watch) { | ||
await this.endSession(); | ||
} else { | ||
await global.browser.url('about:blank'); | ||
} | ||
} catch (e) { | ||
@@ -174,3 +166,13 @@ log.error(e); | ||
} | ||
/** | ||
* in watch mode we don't close the session and open a blank page instead | ||
*/ | ||
if (!argv.watch) { | ||
await this.endSession(); | ||
} else { | ||
await global.browser.url('about:blank'); | ||
} | ||
this.reporter.emit('runner:end', { | ||
@@ -314,2 +316,2 @@ failures, | ||
exports.default = Runner; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9pbmRleC5qcyJdLCJuYW1lcyI6WyJsb2ciLCJSdW5uZXIiLCJFdmVudEVtaXR0ZXIiLCJjb25zdHJ1Y3RvciIsImNvbmZpZ1BhcnNlciIsIkNvbmZpZ1BhcnNlciIsInNpZ2ludFdhc0NhbGxlZCIsInJ1biIsImNpZCIsImFyZ3YiLCJzcGVjcyIsImNhcHMiLCJjb25maWdGaWxlIiwic2VydmVyIiwiYWRkQ29uZmlnRmlsZSIsIm1lcmdlIiwiY29uZmlnIiwiZ2V0Q29uZmlnIiwibWFwIiwiYWRkU2VydmljZSIsInJlcG9ydGVyIiwiQmFzZVJlcG9ydGVyIiwiaW5XYXRjaE1vZGUiLCJCb29sZWFuIiwid2F0Y2giLCJicm93c2VyIiwiX2luaXRTZXNzaW9uIiwiaXNNdWx0aXJlbW90ZSIsIl9zaHV0ZG93biIsImluZm8iLCJmcmFtZXdvcmsiLCJlbWl0Iiwic2Vzc2lvbklkIiwiY2FwYWJpbGl0aW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4gICAgICAgICAgICByZXR1cm4gdGhpcy5fc2h1dGRvd24oMClcbiAgICAgICAgfVxuXG4gICAgICAgIC8qKlxuICAgICAgICAgKiBpbml0aWFsaXNlIGZyYW1ld29ya1xuICAgICAgICAgKi9cbiAgICAgICAgdGhpcy5mcmFtZXdvcmsgPSBpbml0aWFsaXNlUGx1Z2luKHRoaXMuY29uZmlnLmZyYW1ld29yaywgJ2ZyYW1ld29yaycpXG5cbiAgICAgICAgLyoqXG4gICAgICAgICAqIGluaXRpYWxpc2F0aW9uIHN1Y2Nlc3NmdWwsIHNlbmQgc3RhcnQgbWVzc2FnZVxuICAgICAgICAgKi9cbiAgICAgICAgdGhpcy5yZXBvcnRlci5lbWl0KCdydW5uZXI6c3RhcnQnLCB7XG4gICAgICAgICAgICBjaWQsXG4gICAgICAgICAgICBzcGVjcyxcbiAgICAgICAgICAgIGNvbmZpZzogdGhpcy5jb25maWcsXG4gICAgICAgICAgICBpc011bHRpcmVtb3RlLFxuICAgICAgICAgICAgc2Vzc2lvbklkOiBicm93c2VyLnNlc3Npb25JZCxcbiAgICAgICAgICAgIGNhcGFiaWxpdGllczogaXNNdWx0aXJlbW90ZVxuICAgICAgICAgICAgICAgID8gYnJvd3Nlci5pbnN0YW5jZXMucmVkdWNlKChjYXBzLCBicm93c2VyTmFtZSkgPT4ge1xuICAgICAgICAgICAgICAgICAgICBjYXBzW2Jyb3dzZXJOYW1lXSA9IGJyb3dzZXJbYnJvd3Nlck5hbWVdLmNhcGFiaWxpdGllc1xuICAgICAgICAgICAgICAgICAgICByZXR1cm4gY2Fwc1xuICAgICAgICAgICAgICAgIH0sIHt9KVxuICAgICAgICAgICAgICAgIDogYnJvd3Nlci5vcHRpb25zLmNhcGFiaWxpdGllc1xuICAgICAgICB9KVxuXG4gICAgICAgIC8qKlxuICAgICAgICAgKiByZXBvcnQgc2Vzc2lvbklkIGFuZCB0YXJnZXQgY29ubmVjdGlvbiBpbmZvcm1hdGlvbiB0byB3b3JrZXJcbiA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NdWx0aXJlbW90ZSlcbiAgICAgICAgfSBjYXRjaCAoZSkge1xuICAgICAgICAgICAgbG9nLmVycm9yKGUpXG4gICAgICAgICAgICB0aGlzLmVtaXQoJ2Vycm9yJywgZSlcbiAgICAgICAgICAgIHJldHVybiBicm93c2VyXG4gICAgICAgIH1cblxuICAgICAgICBicm93c2VyLmNvbmZpZyA9IGNvbmZpZ1xuXG4gICAgICAgIC8qKlxuICAgICAgICAgKiByZWdpc3RlciBnbG9iYWwgaGVscGVyIG1ldGhvZCB0byBmZXRjaCBlbGVtZW50c1xuICAgICAgICAgKi9cbiAgICAgICAgZ2xvYmFsLiQgPSAoc2VsZWN0b3IpID0+IGJyb3dzZXIuJChzZWxlY3RvcilcbiAgICAgICAgZ2xvYmFsLiQkID0gKHNlbGVjdG9yKSA9PiBicm93c2VyLiQkKHNlbGVjdG9yKVxuXG4gICAgICAgIC8qKlxuICAgICAgICAgKiByZWdpc3RlciBjb21tYW5kIGV2ZW50XG4gICAgICAgICAqL1xuICAgICAgICBicm93c2VyLm9uKCdjb21tYW5kJywgKGNvbW1hbmQpID0+IHRoaXMucmVwb3J0ZXIuZW1pdChcbiAgICAgICAgICAgICdjbGllbnQ6YmVmb3JlQ29tbWFuZCcsXG4gICAgICAgICAgICBPYmplY3QuYXNzaWduKGNvbW1hbmQsIHsgc2Vzc2lvbklkOiBicm93c2VyLnNlc3Npb25JZCB9KVxuICAgICAgICApKVxuXG4gICAgICAgIC8qKlxuICAgICAgICAgKiByZWdpc3RlciByZXN1bHQgZXZlbnRcbiAgICAgICAgICovXG4gICAgICAgIGJyb3dzZXIub24oJ3Jlc3VsdCcsIChyZXN1bHQpID0+IHRoaXMucmVwb3J0ZXIuZW1pdChcbiAgICAgICAgICAgICdjbGllbnQ6YWZ0ZXJDb21tYW5kJyxcbiAgICAgICAgICAgIE9iamVjdC5hc3NpZ24ocmVzdWx0LCB7IHNlc3Npb25JZDogYnJvd3Nlci5zZXNzaW9uSWQgfSlcbiAgICAgICAgKSlcblxuICAgICAgICByZXR1cm4gYnJvd3NlclxuICAgIH1cblxuICAgIC8qKlxuICAgICAqIGZldGNoIGxvZ3MgcHJvdmlkZWQgYnkgYnJvd3NlciBkcml2ZXJcbiAgICAgKi9cbiAgICBhc3luYyBfZmV0Y2hEcml2ZXJMb2dzIChjb25maWcpIHtcbiAgICAgICAgLyoqXG4gICAgICAgICAqIG9ubHkgZmV0Y2ggbG9ncyBpZlxuICAgICAgICAgKi9cbiAgICAgICAgaWYgKFxuICAgICAgICAgICAgLyoqXG4gICAgICAgICAgICAgKiBhIGxvZyBkaXJlY3RvcnkgaXMgZ2l2ZW4gaW4gY29uZmlnXG4gICAgICAgICAgICAgKi9cbiAgICAgICAgICAgICFjb25maWcubG9nRGlyIHx8XG4gICAgICAgICAgICAvKipcbiAgICAgICAgICAgICAqIHRoZSBzZXNzaW9uIHdhc24ndCBraWxsZWQgZHVyaW5nIHN0YXJ0IHVwIHBoYXNlXG4gICAgICAgICAgICAgKi9cbiAgICAgICAgICAgICFnbG9iYWwuYnJvd3Nlci5zZXNzaW9uSWQgfHxcbiAgICAgICAgICAgIC8qKlxuICAgICAgICAgICAgICogZHJpdmVyIHN1cHBvcnRzIGl0XG4gICAgICAgICAgICAgKi9cbiAgICAgICAgICAgIHR5cGVvZiBnbG9iYWwuYnJvd3Nlci5nZXRMb2dzID09PSAndW5kZWZpbmVkJ1xuICAgICAgICApIHtcbiAgICAgICAgICAgIHJldHVyblxuICAgICAgICB9XG5cbiAgICAgICAgY29uc3QgbG9nVHlwZXMgPSBhd2FpdCBnbG9iYWwuYnJvd3Nlci5nZXRMb2dUeXBlcygpXG4gICAgICAgIGxvZy5kZWJ1ZyhgRmV0Y2hpbmcgbG9ncyBmb3IgJHtsb2dUeXBlcy5qb2luKCcsICcpfWApXG4gICAgICAgIHJldHVybiBQcm9taXNlLmFsbChsb2dUeXBlcy5tYXAoYXN5bmMgKGxvZ1R5cGUpID0+IHtcbiAgICAgICAgICAgIGNvbnN0IG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WFsaXNhdGlvbiBzdWNjZXNzZnVsLCBzZW5kIHN0YXJ0IG1lc3NhZ2VcbiAgICAgICAgICovXG4gICAgICAgIHRoaXMucmVwb3J0ZXIuZW1pdCgncnVubmVyOnN0YXJ0Jywge1xuICAgICAgICAgICAgY2lkLFxuICAgICAgICAgICAgc3BlY3MsXG4gICAgICAgICAgICBjb25maWc6IHRoaXMuY29uZmlnLFxuICAgICAgICAgICAgaXNNdWx0aXJlbW90ZSxcbiAgICAgICAgICAgIHNlc3Npb25JZDogYnJvd3Nlci5zZXNzaW9uSWQsXG4gICAgICAgICAgICBjYXBhYmlsaXRpZXM6IGlzTXVsdGlyZW1vdGVcbiAgICAgICAgICAgICAgICA/IGJyb3dzZXIuaW5zdGFuY2VzLnJlZHVjZSgoY2FwcywgYnJvd3Nlck5hbWUpID0+IHtcbiAgICAgICAgICAgICAgICAgICAgY2Fwc1ticm93c2VyTmFtZV0gPSBicm93c2VyW2Jyb3dzZXJOYW1lXS5jYXBhYmlsaXRpZXNcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGNhcHNcbiAgICAgICAgICAgICAgICB9LCB7fSlcbiAgICAgICAgICAgICAgICA6IGJyb3dzZXIub3B0aW9ucy5jYXBhYmlsaXRpZXNcbiAgICAgICAgfSlcblxuICAgICAgICAvKipcbiAgICAgICAgICogcmVwb3J0IHNlc3Npb25JZCBhbmQgdGFyZ2V0IGNvbm5lY3Rpb24gaW5mb3JtYXRpb24gdG8gd29ya2VyXG4gICAgICAgICAqL1xuICAgICAgICBjb25zdCB7IHByb3RvY29sLCBob3N0bmFtZSwgcG9ydCwgcGF0aCwgcXVlcnlQYXJhbXMgfSA9IGJyb3dzZXIub3B0aW9uc1xuICAgICAgICBjb25zdCB7IGlzVzNDLCBzZXNzaW9uSWQgfSA9IGJyb3dzZXJcbiAgICAgICAgcHJvY2Vzcy5zZW5kKHtcbiAgICAgICAgICAgIG9yaWdpbjogJ3dvcmtlcicsXG4gICAgICAgICAgICBuYW1l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bnRzXG4gICAgICAgICAqL1xuICAgICAgICBnbG9iYWwuJCA9IChzZWxlY3RvcikgPT4gYnJvd3Nlci4kKHNlbGVjdG9yKVxuICAgICAgICBnbG9iYWwuJCQgPSAoc2VsZWN0b3IpID0+IGJyb3dzZXIuJCQoc2VsZWN0b3IpXG5cbiAgICAgICAgLyoqXG4gICAgICAgICAqIHJlZ2lzdGVyIGNvbW1hbmQgZXZlbnRcbiAgICAgICAgICovXG4gICAgICAgIGJyb3dzZXIub24oJ2NvbW1hbmQnLCAoY29tbWFuZCkgPT4gdGhpcy5yZXBvcnRlci5lbWl0KFxuICAgICAgICAgICAgJ2NsaWVudDpiZWZvcmVDb21tYW5kJyxcbiAgICAgICAgICAgIE9iamVjdC5hc3NpZ24oY29tbWFuZCwgeyBzZXNzaW9uSWQ6IGJyb3dzZXIuc2Vzc2lvbklkIH0pXG4gICAgICAgICkpXG5cbiAgICAgICAgLyoqXG4gICAgICAgICAqIHJlZ2lzdGVyIHJlc3VsdCBldmVudFxuICAgICAgICAgKi9cbiAgICAgICAgYnJvd3Nlci5vbigncmVzdWx0JywgKHJlc3VsdCkgPT4gdGhpcy5yZXBvcnRlci5lbWl0KFxuICAgICAgICAgICAgJ2NsaWVudDphZnRlckNvbW1hbmQnLFxuICAgICAgICAgICAgT2JqZWN0LmFzc2lnbihyZXN1bHQsIHsgc2Vzc2lvbklkOiBicm93c2VyLnNlc3Npb25JZCB9KVxuICAgICAgICApKVxuXG4gICAgICAgIHJldHVybiBicm93c2VyXG4gICAgfVxuXG4gICAgLyoqXG4gICAgICogZmV0Y2ggbG9ncyBwcm92aWRlZCBieSBicm93c2VyIGRyaXZlclxuICAgICAqL1xuICAgIGFzeW5jIF9mZXRjaERyaXZlckxvZ3MgKGNvbmZpZykge1xuICAgICAgICAvKipcbiAgICAgICAgICogb25seSBmZXRjaCBsb2dzIGlmXG4gICAgICAgICAqL1xuICAgICAgICBpZiAoXG4gICAgICAgICAgICAvKipcbiAgICAgICAgICAgICAqIGEgbG9nIGRpcmVjdG9yeSBpcyBnaXZlbiBpbiBjb25maWdcbiAgICAgICAgICAgICAqL1xuICAgICAgICAgICAgIWNvbmZpZy5sb2dEaXIgfHxcbiAgICAgICAgICAgIC8qKlxuICAgICAgICAgICAgICogdGhlIHNlc3Npb24gd2Fzbid0IGtpbGxlZCBkdXJpbmcgc3RhcnQgdXAgcGhhc2VcbiAgICAgICAgICAgICAqL1xuICAgICAgICAgICAgIWdsb2JhbC5icm93c2VyLnNlc3Npb25JZCB8fFxuICAgICAgICAgICAgLyoqXG4gICAgICAgICAgICAgKiBkcml2ZXIgc3VwcG9ydHMgaXRcbiAgICAgICAgICAgICAqL1xuICAgICAgICAgICAgdHlwZW9mIGdsb2JhbC5icm93c2VyLmdldExvZ3MgPT09ICd1bmRlZmluZWQnXG4gICAgICAgICkge1xuICAgICAgICAgICAgcmV0dXJuXG4gICAgICAgIH1cblxuICAgICAgICBjb25zdCBsb2dUeXBlcyA9IGF3YWl0IGdsb2JhbC5icm93c2VyLmdldExvZ1R5cGVzKClcbiAgICAgICAgbG9nLmRlYnVnKGBGZXRjaGluZyBsb2dzIGZvciAke2xvZ1R5cGVzLmpvaW4oJywgJyl9YClcbiAgICAgICAgcmV0dXJuIFByb21pc2UuYWxsKGxvZ1R5cGVzLm1hcChhc3luYyAobG9nVHlwZSkgPT4ge1xuICAgICAgICAgICAgY29uc3QgbG9ncyA9IGF3YWl0IGdsb2JhbC5icm93c2VyLmdldExvZ3MobG9nVHlwZSlcblxuICAgICAgICAgICAgLyoqXG4gICAgICAgICAgICAgKiBkb24ndCB3cml0ZSB0byBmaWxlIGlmIG5vIGxvZ3Mgd2VyZSBjYXB0dXJlZFxuICAgICAgICAgICAgICovXG4gICAgICAgICAgICBpZiAobG9ncy5sZW5ndGggPT09IDApIHtcbiAgICAgICAgICAgICAgICByZXR1cm5cbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgY29uc3Qgc3RyaW5nTG9ncyA9IGxvZ3MubWFwK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bG9iYWwuYnJvd3Nlci5zZXNzaW9uSWQpKSB7XG4gICAgICAgICAgICByZXR1cm5cbiAgICAgICAgfVxuXG4gICAgICAgIC8qKlxuICAgICAgICAgKiBpZiBzaHV0ZG93biB3YXMgY2FsbGVkIGJ1dCBubyBzZXNzaW9uIHdhcyBjcmVhdGVkLCB3YWl0IHVudGlsIGl0IHdhc1xuICAgICAgICAgKiBhbmQgdHJ5IHRvIGVuZCBpdFxuICAgICAgICAgKi9cbiAgICAgICAgaWYgKHNodXRkb3duICYmICghZ2xvYmFsLmJyb3dzZXIgfHwgIWdsb2JhbC5icm93c2VyLnNlc3Npb25JZCkpIHtcbiAgICAgICAgICAgIGF3YWl0IG5ldyBQcm9taXNlKChyZXNvbHZlKSA9PiBzZXRUaW1lb3V0KHJlc29sdmUsIDI1MCkpXG4gICAgICAgICAgICByZXR1cm4gdGhpcy5lbmRTZXNzaW9uKHNodXRkb3duKVxuICAgICAgICB9XG5cbiAgICAgICAgYXdhaXQgZ2xvYmFsLmJyb3dzZXIuZGVsZXRlU2Vzc2lvbigpXG4gICAgICAgIGRlbGV0ZSBnbG9iYWwuYnJvd3Nlci5zZXNzaW9uSWRcblxuICAgICAgICBhd2FpdCBydW5Ib29rKCdhZnRlclNlc3Npb24nLCBnbG9iYWwuYnJvd3Nlci5jb25maWcsIHRoaXMuY2FwcywgdGhpcy5zcGVjcylcblxuICAgICAgICBpZiAoc2h1dGRvd24pIHtcbiAgICAgICAgICAgIGF3YWl0IHRoaXMuX3NodXRkb3duKClcbiAgICAgICAgfVxuICAgIH1cbn1cbiJdfQ== |
{ | ||
"name": "@wdio/runner", | ||
"version": "5.0.0-beta.10", | ||
"version": "5.0.0-beta.12", | ||
"description": "A WebdriverIO service that runs tests in arbitrary environments", | ||
@@ -33,7 +33,7 @@ "author": "Christian Bromann <christian@saucelabs.com>", | ||
"dependencies": { | ||
"@wdio/config": "^5.0.0-beta.10", | ||
"@wdio/logger": "^5.0.0-beta.10", | ||
"@wdio/config": "^5.0.0-beta.12", | ||
"@wdio/logger": "^5.0.0-beta.12", | ||
"deepmerge": "^2.0.1", | ||
"gaze": "^1.1.2", | ||
"webdriverio": "^5.0.0-beta.10" | ||
"webdriverio": "^5.0.0-beta.12" | ||
}, | ||
@@ -43,3 +43,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "6d5e90a29903eb5097377488de76701f0aa36aa4" | ||
"gitHead": "f690f04cceebb45f695d8fff9d3fa6916654ee87" | ||
} |
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
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
76284
497
2
Updated@wdio/config@^5.0.0-beta.12
Updated@wdio/logger@^5.0.0-beta.12
Updatedwebdriverio@^5.0.0-beta.12