executable-stories-formatters 0.7.5 → 0.7.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/dist/cli.js +12 -6
- package/dist/cli.js.map +1 -1
- package/dist/index.cjs +10 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +10 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -3452,6 +3452,12 @@ body {
|
|
|
3452
3452
|
font-weight: 600;
|
|
3453
3453
|
font-size: 0.875rem;
|
|
3454
3454
|
color: var(--foreground);
|
|
3455
|
+
text-decoration: none;
|
|
3456
|
+
cursor: pointer;
|
|
3457
|
+
}
|
|
3458
|
+
|
|
3459
|
+
a.toc-title:hover {
|
|
3460
|
+
color: var(--primary);
|
|
3455
3461
|
}
|
|
3456
3462
|
|
|
3457
3463
|
.toc-feature {
|
|
@@ -3629,7 +3635,7 @@ function corporateBuildBody(args, deps) {
|
|
|
3629
3635
|
const sidebar = `
|
|
3630
3636
|
<nav class="toc">
|
|
3631
3637
|
<div class="toc-header">
|
|
3632
|
-
<
|
|
3638
|
+
<a href="#" class="toc-title" onclick="window.scrollTo({top:0,behavior:'smooth'});return false;">Test Report</a>
|
|
3633
3639
|
<div class="toc-stats">
|
|
3634
3640
|
<div class="toc-stat-row">
|
|
3635
3641
|
<span class="toc-stat-label">Total</span>
|
|
@@ -13257,7 +13263,7 @@ function renderScenario(args, deps) {
|
|
|
13257
13263
|
<div class="scenario-meta">${tags}${tickets}${sourceLink}${traceBadge}${metricBadges}</div>
|
|
13258
13264
|
</div>
|
|
13259
13265
|
<div class="scenario-actions">
|
|
13260
|
-
<button class="copy-scenario-btn" onclick="copyScenarioAsMarkdown('scenario-${tc.id}')" aria-label="Copy scenario as markdown" title="Copy as Markdown"
|
|
13266
|
+
<button class="copy-scenario-btn" onclick="copyScenarioAsMarkdown('scenario-${tc.id}')" aria-label="Copy scenario as markdown" title="Copy as Markdown"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="9" y="9" width="13" height="13" rx="2" ry="2"/><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"/></svg></button>
|
|
13261
13267
|
<button class="permalink-anchor" onclick="copyPermalink('scenario-${tc.id}')" aria-label="Copy link to scenario" title="Copy link">#</button>
|
|
13262
13268
|
<span class="scenario-duration">${duration}</span>
|
|
13263
13269
|
</div>
|
|
@@ -13636,7 +13642,7 @@ function renderToc(args, deps) {
|
|
|
13636
13642
|
}
|
|
13637
13643
|
return `<nav class="toc-sidebar" aria-label="Table of contents">
|
|
13638
13644
|
<div class="toc-header">
|
|
13639
|
-
<
|
|
13645
|
+
<a href="#" class="toc-title" onclick="window.scrollTo({top:0,behavior:'smooth'});return false;">Contents</a>
|
|
13640
13646
|
</div>
|
|
13641
13647
|
<div class="toc-body">
|
|
13642
13648
|
${features.join("\n")}
|
|
@@ -18175,7 +18181,7 @@ var ReportGenerator = class {
|
|
|
18175
18181
|
excludeTags: options.excludeTags ?? [],
|
|
18176
18182
|
formats: options.formats ?? ["cucumber-json"],
|
|
18177
18183
|
outputDir: options.outputDir ?? "reports",
|
|
18178
|
-
outputName: options.outputName ?? "
|
|
18184
|
+
outputName: options.outputName ?? "index",
|
|
18179
18185
|
outputNameTimestamp: options.outputNameTimestamp ?? false,
|
|
18180
18186
|
sortTestCases: options.sortTestCases ?? "none",
|
|
18181
18187
|
output: {
|