artes 1.7.2 → 1.7.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "artes",
3
- "version": "1.7.2",
3
+ "version": "1.7.3",
4
4
  "description": "The simplest way to automate UI and API tests using Cucumber-style steps.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -68,7 +68,7 @@ function testCoverageCalculator({ silent = false } = {}) {
68
68
  });
69
69
 
70
70
  if (!silent && retriedTests.length > 0) {
71
- console.warn("\n\x1b[33mRetried test cases:");
71
+ console.warn(`\n\x1b[33mRetried ${retriedTests.length} test cases:`);
72
72
  retriedTests.forEach((t) => {
73
73
  console.warn(`- "${t.scenario}" ran ${t.count} times`);
74
74
  });
@@ -164,7 +164,7 @@ After(async function ({ result, pickle }) {
164
164
 
165
165
  await attachResponse(allure.attachment);
166
166
 
167
- if (shouldReport && cucumberConfig.ai.ai) {
167
+ if (shouldReport && cucumberConfig.ai.ai === "true") {
168
168
  await attachAiBugReport({
169
169
  result,
170
170
  pickle,