Skip to content

Commit

Permalink
Fix programmatically skipped tests breaking the Categories tab
Browse files Browse the repository at this point in the history
  • Loading branch information
Simonas Tvirbutas committed Mar 17, 2021
1 parent 5037a61 commit 605cfb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ function AllureReporter(runner, opts) {
runner.on("pending", invokeHandler(function(test) {
var currentTest = allureReporter.getCurrentTest();
if(currentTest && currentTest.name === test.title) {
allureReporter.endCase("skipped");
allureReporter.endCase("skipped", {message: "Test skipped"});
} else {
allureReporter.pendingCase(test.title);
}
Expand Down

0 comments on commit 605cfb8

Please sign in to comment.