playwright 1.55.0-alpha-2025-07-27 → 1.55.0-alpha-2025-07-29

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.

Potentially problematic release.


This version of playwright might be problematic. Click here for more details.

@@ -326,7 +326,7 @@ class HtmlBuilder {
326
326
  this._dataZipFile.outputStream.pipe(new Base64Encoder()).pipe(import_fs.default.createWriteStream(filePath, { flags: "a" })).on("close", f);
327
327
  });
328
328
  });
329
- import_fs.default.appendFileSync(filePath, '"</script>');
329
+ import_fs.default.appendFileSync(filePath, "</script>");
330
330
  }
331
331
  _addDataFile(fileName, data) {
332
332
  this._dataZipFile.addBuffer(Buffer.from(JSON.stringify(data)), fileName);
@@ -208,7 +208,8 @@ class ListReporter extends import_base.TerminalReporter {
208
208
  }
209
209
  _testPrefix(index, statusMark) {
210
210
  const statusMarkLength = (0, import_util.stripAnsiEscapes)(statusMark).length;
211
- return " " + statusMark + " ".repeat(3 - statusMarkLength) + this.screen.colors.dim(index + " ");
211
+ const indexLength = Math.ceil(Math.log10(this.totalTestCount + 1));
212
+ return " " + statusMark + " ".repeat(3 - statusMarkLength) + this.screen.colors.dim(index.padStart(indexLength) + " ");
212
213
  }
213
214
  _retrySuffix(result) {
214
215
  return result.retry ? this.screen.colors.yellow(` (retry #${result.retry})`) : "";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "playwright",
3
- "version": "1.55.0-alpha-2025-07-27",
3
+ "version": "1.55.0-alpha-2025-07-29",
4
4
  "description": "A high-level API to automate web browsers",
5
5
  "repository": {
6
6
  "type": "git",
@@ -56,7 +56,7 @@
56
56
  },
57
57
  "license": "Apache-2.0",
58
58
  "dependencies": {
59
- "playwright-core": "1.55.0-alpha-2025-07-27"
59
+ "playwright-core": "1.55.0-alpha-2025-07-29"
60
60
  },
61
61
  "optionalDependencies": {
62
62
  "fsevents": "2.3.2"
package/types/test.d.ts CHANGED
@@ -6982,6 +6982,10 @@ export interface PlaywrightTestOptions {
6982
6982
  * `passphrase` property should be provided if the certificate is encrypted. The `origin` property should be provided
6983
6983
  * with an exact match to the request origin that the certificate is valid for.
6984
6984
  *
6985
+ * Client certificate authentication is only active when at least one client certificate is provided. If you want to
6986
+ * reject all client certificates sent by the server, you need to provide a client certificate with an `origin` that
6987
+ * does not match any of the domains you plan to visit.
6988
+ *
6985
6989
  * **NOTE** When using WebKit on macOS, accessing `localhost` will not pick up client certificates. You can make it
6986
6990
  * work by replacing `localhost` with `local.playwright`.
6987
6991
  *