datagrok-tools 6.2.1 → 6.2.2
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/CHANGELOG.md +4 -0
- package/bin/utils/playwright-runner.js +10 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Datagrok-tools changelog
|
|
2
2
|
|
|
3
|
+
## 6.2.2 (2026-05-05)
|
|
4
|
+
|
|
5
|
+
* `grok test` — Playwright runner now writes `test-report-playwright.csv` next to the existing merged `test-report.csv`, so CI can ship Playwright rows to a dedicated Datlas reporting bucket without disturbing the legacy `package` flow.
|
|
6
|
+
|
|
3
7
|
## 6.2.1 (2026-05-05)
|
|
4
8
|
|
|
5
9
|
* Reports: `grok report attach <ticket> <file>` — upload a file as a JIRA issue attachment via REST v2 multipart POST.
|
|
@@ -246,6 +246,15 @@ async function runPlaywrightTests(pkgDir, testDir, args, hostKey) {
|
|
|
246
246
|
verboseFailed += `${r.category}: ${r.name} (${r.ms} ms) : ${r.result}\n`;
|
|
247
247
|
}
|
|
248
248
|
}
|
|
249
|
+
const csv = rowsToCsv(rows);
|
|
250
|
+
// Persist a Playwright-only CSV so the pipeline can ship it to the Datlas
|
|
251
|
+
// 'playwright' bucket, separate from the merged Puppeteer+Playwright
|
|
252
|
+
// test-report.csv that feeds the legacy 'package' bucket and JUnit.
|
|
253
|
+
try {
|
|
254
|
+
_fs.default.writeFileSync(_path.default.join(pkgDir, 'test-report-playwright.csv'), csv, 'utf-8');
|
|
255
|
+
} catch (e) {
|
|
256
|
+
color.warn(`Playwright: failed to write test-report-playwright.csv: ${e.message || e}`);
|
|
257
|
+
}
|
|
249
258
|
return {
|
|
250
259
|
failed: failedAmount > 0,
|
|
251
260
|
passedAmount: passedAmount,
|
|
@@ -254,6 +263,6 @@ async function runPlaywrightTests(pkgDir, testDir, args, hostKey) {
|
|
|
254
263
|
verbosePassed: verbosePassed,
|
|
255
264
|
verboseFailed: verboseFailed,
|
|
256
265
|
verboseSkipped: verboseSkipped,
|
|
257
|
-
csv:
|
|
266
|
+
csv: csv
|
|
258
267
|
};
|
|
259
268
|
}
|
package/package.json
CHANGED