@empiricalrun/playwright-utils 0.27.5 → 0.27.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/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @empiricalrun/playwright-utils
2
2
 
3
+ ## 0.27.6
4
+
5
+ ### Patch Changes
6
+
7
+ - ff84083: feat: request verification for recording, more logs clean up
8
+ - Updated dependencies [ff84083]
9
+ - @empiricalrun/test-gen@0.69.1
10
+
3
11
  ## 0.27.5
4
12
 
5
13
  ### Patch Changes
@@ -220,10 +220,10 @@ async function updateHtmlZipFileAttachmentPaths(jsonFilePath, htmlFilePath) {
220
220
  const newBase64 = newZip.toBuffer().toString("base64");
221
221
  const updatedHtml = htmlFile.replace(/(window\.playwrightReportBase64\s*=\s*")(?:data:application\/zip;base64,)?[^"]*(")/, `$1data:application/zip;base64,${newBase64}$2`);
222
222
  await fs_1.default.promises.writeFile(htmlFilePath, updatedHtml, "utf8");
223
- console.log("✅ HTML file updated with new base64 zip attachment.");
223
+ logger_1.logger.debug("✅ HTML file updated with new base64 zip attachment.");
224
224
  }
225
225
  catch (err) {
226
- console.error("❌ Error processing report.json or updating files:", err);
226
+ logger_1.logger.error("❌ Error processing report.json or updating files:", err);
227
227
  }
228
228
  finally {
229
229
  // Optional cleanup:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@empiricalrun/playwright-utils",
3
- "version": "0.27.5",
3
+ "version": "0.27.6",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -45,7 +45,7 @@
45
45
  "rimraf": "^6.0.1",
46
46
  "@empiricalrun/llm": "^0.19.0",
47
47
  "@empiricalrun/r2-uploader": "^0.3.9",
48
- "@empiricalrun/test-gen": "^0.69.0"
48
+ "@empiricalrun/test-gen": "^0.69.1"
49
49
  },
50
50
  "scripts": {
51
51
  "dev": "tsc --build --watch",