@freshworks/shiftleft-tools 1.1.11 → 1.1.12
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": "@freshworks/shiftleft-tools",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.12",
|
|
4
4
|
"description": "CLI for managing Cursor rules/skills and Postman test infrastructure across Java Spring Boot and Node.js/Express projects",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.js",
|
|
Binary file
|
|
@@ -205,18 +205,15 @@ def generate_consolidated_report(args):
|
|
|
205
205
|
|
|
206
206
|
status_parts = []
|
|
207
207
|
if total_a > 0:
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
status_parts.append(
|
|
218
|
-
f'<span class="cr-badge cr-badge-pass">{total_a} passed</span>'
|
|
219
|
-
)
|
|
208
|
+
# Always show both totals alongside the collection title.
|
|
209
|
+
status_parts.append(
|
|
210
|
+
f'<span class="cr-badge cr-badge-pass">{passed_a} passed</span>'
|
|
211
|
+
)
|
|
212
|
+
fail_cls = 'cr-badge-fail' if failed_a > 0 else 'cr-badge-muted'
|
|
213
|
+
tip = esc(', '.join(col.get('failure_labels', [])[:3])) if failed_a > 0 else ''
|
|
214
|
+
status_parts.append(
|
|
215
|
+
f'<span class="cr-badge {fail_cls}" title="{tip}">{failed_a} failed</span>'
|
|
216
|
+
)
|
|
220
217
|
status_html = ''.join(status_parts)
|
|
221
218
|
|
|
222
219
|
return f'''<div class="card {" ".join(row_classes)}">
|