We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db6d4ca commit 96c34f5Copy full SHA for 96c34f5
test/v1/tck/steps/environment.js
@@ -13,6 +13,15 @@ module.exports = function () {
13
callback();
14
});
15
16
+ this.After(function (scenario, callback) {
17
+ if (!scenario.isSuccessful()) {
18
+ console.log("FAILED! Scenario: " + scenario.getName());
19
+ console.log("With Exception: " + scenario.getException());
20
+ return process.exit(2);
21
+ }
22
+ callback();
23
+ });
24
+
25
function findTag(scenario, tag) {
26
for (var i in scenario.getTags()) {
27
if (scenario.getTags()[i].getName() == tag) {
0 commit comments