From 605cfb8cd81d7039859fbb79460d68ab6964ee8e Mon Sep 17 00:00:00 2001 From: Simonas Tvirbutas Date: Wed, 17 Mar 2021 19:24:48 +0100 Subject: [PATCH] Fix programmatically skipped tests breaking the Categories tab --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 815af93..67b2cea 100644 --- a/index.js +++ b/index.js @@ -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); }