@testdino/playwright 1.0.3 → 1.0.4
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/index.js +3 -3
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/index.mjs +3 -3
- package/dist/cli/index.mjs.map +1 -1
- package/dist/index.d.mts +3 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.js +16 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +16 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1792,7 +1792,7 @@ var TestdinoReporter = class {
|
|
|
1792
1792
|
mappedConfig.debug = cliConfig.debug;
|
|
1793
1793
|
}
|
|
1794
1794
|
if (cliConfig.ciRunId !== void 0 && typeof cliConfig.ciRunId === "string") {
|
|
1795
|
-
mappedConfig.
|
|
1795
|
+
mappedConfig.ciRunId = cliConfig.ciRunId;
|
|
1796
1796
|
}
|
|
1797
1797
|
if (cliConfig.artifacts !== void 0 && typeof cliConfig.artifacts === "boolean") {
|
|
1798
1798
|
mappedConfig.artifacts = cliConfig.artifacts;
|
|
@@ -1894,8 +1894,23 @@ var TestdinoReporter = class {
|
|
|
1894
1894
|
type: "run:begin",
|
|
1895
1895
|
runId: this.runId,
|
|
1896
1896
|
metadata,
|
|
1897
|
+
ciRunId: this.config.ciRunId,
|
|
1898
|
+
// Include ciRunId for shard grouping
|
|
1897
1899
|
...this.getEventMetadata()
|
|
1898
1900
|
};
|
|
1901
|
+
if (this.config.debug) {
|
|
1902
|
+
console.log(`\u{1F50D} TestDino: run:begin event details:`);
|
|
1903
|
+
console.log(` runId: ${this.runId}`);
|
|
1904
|
+
console.log(` ciRunId: ${this.config.ciRunId ?? "(not set)"}`);
|
|
1905
|
+
console.log(` shard: ${config?.shard ? `${config.shard.current}/${config.shard.total}` : "(not sharded)"}`);
|
|
1906
|
+
if (metadata.skeleton) {
|
|
1907
|
+
console.log(` skeleton.totalTests: ${metadata.skeleton.totalTests}`);
|
|
1908
|
+
console.log(` skeleton.suites: ${metadata.skeleton.suites?.length ?? 0}`);
|
|
1909
|
+
console.log(` skeleton: ${JSON.stringify(metadata.skeleton, null, 2)}`);
|
|
1910
|
+
} else {
|
|
1911
|
+
console.log(` skeleton: (not available)`);
|
|
1912
|
+
}
|
|
1913
|
+
}
|
|
1899
1914
|
await this.sendEvents([beginEvent]);
|
|
1900
1915
|
this.registerSignalHandlers();
|
|
1901
1916
|
return true;
|