@testomatio/reporter 0.5.5 → 0.5.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/Changelog.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 0.5.6
2
+
3
+ * Unmark failed CodeceptJS tests as skipped
4
+
1
5
  # 0.5.5
2
6
 
3
7
  * Fixed `BeforeSuite` failures in CodeceptJS
@@ -163,7 +163,9 @@ function CodeceptReporter(config) {
163
163
  });
164
164
 
165
165
  event.dispatcher.on(event.test.skipped, test => {
166
- const { tags, title } = test;
166
+ const { id, tags, title } = test;
167
+ if (failedTests.includes(id || title)) return;
168
+
167
169
  const testId = parseTest(tags);
168
170
  const testObj = getTestAndMessage(title);
169
171
  client.addTestRun(testId, TRConstants.SKIPPED, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@testomatio/reporter",
3
- "version": "0.5.5",
3
+ "version": "0.5.6",
4
4
  "description": "Testomatio Reporter Client",
5
5
  "main": "./lib/reporter.js",
6
6
  "repository": "git@github.com:testomatio/reporter.git",