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/cli.js
CHANGED
|
@@ -4028,6 +4028,12 @@ body {
|
|
|
4028
4028
|
font-weight: 600;
|
|
4029
4029
|
font-size: 0.875rem;
|
|
4030
4030
|
color: var(--foreground);
|
|
4031
|
+
text-decoration: none;
|
|
4032
|
+
cursor: pointer;
|
|
4033
|
+
}
|
|
4034
|
+
|
|
4035
|
+
a.toc-title:hover {
|
|
4036
|
+
color: var(--primary);
|
|
4031
4037
|
}
|
|
4032
4038
|
|
|
4033
4039
|
.toc-feature {
|
|
@@ -4205,7 +4211,7 @@ function corporateBuildBody(args, deps) {
|
|
|
4205
4211
|
const sidebar = `
|
|
4206
4212
|
<nav class="toc">
|
|
4207
4213
|
<div class="toc-header">
|
|
4208
|
-
<
|
|
4214
|
+
<a href="#" class="toc-title" onclick="window.scrollTo({top:0,behavior:'smooth'});return false;">Test Report</a>
|
|
4209
4215
|
<div class="toc-stats">
|
|
4210
4216
|
<div class="toc-stat-row">
|
|
4211
4217
|
<span class="toc-stat-label">Total</span>
|
|
@@ -13825,7 +13831,7 @@ function renderScenario(args, deps) {
|
|
|
13825
13831
|
<div class="scenario-meta">${tags}${tickets}${sourceLink}${traceBadge}${metricBadges}</div>
|
|
13826
13832
|
</div>
|
|
13827
13833
|
<div class="scenario-actions">
|
|
13828
|
-
<button class="copy-scenario-btn" onclick="copyScenarioAsMarkdown('scenario-${tc.id}')" aria-label="Copy scenario as markdown" title="Copy as Markdown"
|
|
13834
|
+
<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>
|
|
13829
13835
|
<button class="permalink-anchor" onclick="copyPermalink('scenario-${tc.id}')" aria-label="Copy link to scenario" title="Copy link">#</button>
|
|
13830
13836
|
<span class="scenario-duration">${duration}</span>
|
|
13831
13837
|
</div>
|
|
@@ -14204,7 +14210,7 @@ function renderToc(args, deps) {
|
|
|
14204
14210
|
}
|
|
14205
14211
|
return `<nav class="toc-sidebar" aria-label="Table of contents">
|
|
14206
14212
|
<div class="toc-header">
|
|
14207
|
-
<
|
|
14213
|
+
<a href="#" class="toc-title" onclick="window.scrollTo({top:0,behavior:'smooth'});return false;">Contents</a>
|
|
14208
14214
|
</div>
|
|
14209
14215
|
<div class="toc-body">
|
|
14210
14216
|
${features.join("\n")}
|
|
@@ -17955,7 +17961,7 @@ var ReportGenerator = class {
|
|
|
17955
17961
|
excludeTags: options.excludeTags ?? [],
|
|
17956
17962
|
formats: options.formats ?? ["cucumber-json"],
|
|
17957
17963
|
outputDir: options.outputDir ?? "reports",
|
|
17958
|
-
outputName: options.outputName ?? "
|
|
17964
|
+
outputName: options.outputName ?? "index",
|
|
17959
17965
|
outputNameTimestamp: options.outputNameTimestamp ?? false,
|
|
17960
17966
|
sortTestCases: options.sortTestCases ?? "none",
|
|
17961
17967
|
output: {
|
|
@@ -18217,7 +18223,7 @@ OPTIONS
|
|
|
18217
18223
|
cucumber-messages Raw NDJSON (Cucumber Messages)
|
|
18218
18224
|
--input-type <type> Input type: raw, canonical, or ndjson (default: raw)
|
|
18219
18225
|
--output-dir <dir> Output directory (default: reports)
|
|
18220
|
-
--output-name <name> Base filename (default:
|
|
18226
|
+
--output-name <name> Base filename (default: index)
|
|
18221
18227
|
--output-name-timestamp Append run timestamp (UTC seconds) to output filename for before/after diffs
|
|
18222
18228
|
--sort-test-cases <mode> Sort scenarios deterministically: id, source, none (default: none)
|
|
18223
18229
|
--include <globs> Comma-separated globs to include test cases by sourceFile (e.g. "**/*.Story*.cs")
|
|
@@ -18301,7 +18307,7 @@ function parseCliArgs(argv) {
|
|
|
18301
18307
|
"baseline-dir": { type: "string" },
|
|
18302
18308
|
"input-type": { type: "string", default: "raw" },
|
|
18303
18309
|
"output-dir": { type: "string", default: "reports" },
|
|
18304
|
-
"output-name": { type: "string", default: "
|
|
18310
|
+
"output-name": { type: "string", default: "index" },
|
|
18305
18311
|
"output-name-timestamp": { type: "boolean", default: false },
|
|
18306
18312
|
"sort-test-cases": { type: "string", default: "none" },
|
|
18307
18313
|
include: { type: "string" },
|