playwright 1.55.0-alpha-2025-08-12 → 1.55.0-alpha-2025-08-14

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.

@@ -95,6 +95,7 @@ class WorkerMain extends import_process.ProcessRunner {
95
95
  const fakeTestInfo = new import_testInfo.TestInfoImpl(this._config, this._project, this._params, void 0, 0, () => {
96
96
  }, () => {
97
97
  }, () => {
98
+ }, () => {
98
99
  });
99
100
  const runnable = { type: "teardown" };
100
101
  await fakeTestInfo._runWithTimeout(runnable, () => this._loadIfNeeded()).catch(() => {
@@ -216,6 +217,9 @@ class WorkerMain extends import_process.ProcessRunner {
216
217
  this._runFinished.resolve();
217
218
  }
218
219
  }
220
+ resumeAfterStepError(params) {
221
+ this._currentTest?.resumeAfterStepError(params);
222
+ }
219
223
  async _runTest(test, retry, nextTest) {
220
224
  const testInfo = new import_testInfo.TestInfoImpl(
221
225
  this._config,
@@ -224,6 +228,7 @@ class WorkerMain extends import_process.ProcessRunner {
224
228
  test,
225
229
  retry,
226
230
  (stepBeginPayload) => this.dispatchEvent("stepBegin", stepBeginPayload),
231
+ (stepRecoverFromErrorPayload) => this.dispatchEvent("stepRecoverFromError", stepRecoverFromErrorPayload),
227
232
  (stepEndPayload) => this.dispatchEvent("stepEnd", stepEndPayload),
228
233
  (attachment) => this.dispatchEvent("attach", attachment)
229
234
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "playwright",
3
- "version": "1.55.0-alpha-2025-08-12",
3
+ "version": "1.55.0-alpha-2025-08-14",
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-08-12"
59
+ "playwright-core": "1.55.0-alpha-2025-08-14"
60
60
  },
61
61
  "optionalDependencies": {
62
62
  "fsevents": "2.3.2"
package/types/test.d.ts CHANGED
@@ -4606,9 +4606,9 @@ export interface TestType<TestArgs extends {}, WorkerArgs extends {}> {
4606
4606
  * description.
4607
4607
  * @param body Test body that takes one or two arguments: an object with fixtures and optional
4608
4608
  * [TestInfo](https://playwright.dev/docs/api/class-testinfo).
4609
- * @param condition Test is marked as "should fail" when the condition is `true`.
4610
- * @param callback A function that returns whether to mark as "should fail", based on test fixtures. Test or tests are marked as
4611
- * "should fail" when the return value is `true`.
4609
+ * @param condition Test is marked as "fixme" when the condition is `true`.
4610
+ * @param callback A function that returns whether to mark as "fixme", based on test fixtures. Test or tests are marked as "fixme"
4611
+ * when the return value is `true`.
4612
4612
  * @param description Optional description that will be reflected in a test report.
4613
4613
  */
4614
4614
  fixme(title: string, body: TestBody<TestArgs & WorkerArgs>): void;
@@ -4684,9 +4684,9 @@ export interface TestType<TestArgs extends {}, WorkerArgs extends {}> {
4684
4684
  * description.
4685
4685
  * @param body Test body that takes one or two arguments: an object with fixtures and optional
4686
4686
  * [TestInfo](https://playwright.dev/docs/api/class-testinfo).
4687
- * @param condition Test is marked as "should fail" when the condition is `true`.
4688
- * @param callback A function that returns whether to mark as "should fail", based on test fixtures. Test or tests are marked as
4689
- * "should fail" when the return value is `true`.
4687
+ * @param condition Test is marked as "fixme" when the condition is `true`.
4688
+ * @param callback A function that returns whether to mark as "fixme", based on test fixtures. Test or tests are marked as "fixme"
4689
+ * when the return value is `true`.
4690
4690
  * @param description Optional description that will be reflected in a test report.
4691
4691
  */
4692
4692
  fixme(title: string, details: TestDetails, body: TestBody<TestArgs & WorkerArgs>): void;
@@ -4762,9 +4762,9 @@ export interface TestType<TestArgs extends {}, WorkerArgs extends {}> {
4762
4762
  * description.
4763
4763
  * @param body Test body that takes one or two arguments: an object with fixtures and optional
4764
4764
  * [TestInfo](https://playwright.dev/docs/api/class-testinfo).
4765
- * @param condition Test is marked as "should fail" when the condition is `true`.
4766
- * @param callback A function that returns whether to mark as "should fail", based on test fixtures. Test or tests are marked as
4767
- * "should fail" when the return value is `true`.
4765
+ * @param condition Test is marked as "fixme" when the condition is `true`.
4766
+ * @param callback A function that returns whether to mark as "fixme", based on test fixtures. Test or tests are marked as "fixme"
4767
+ * when the return value is `true`.
4768
4768
  * @param description Optional description that will be reflected in a test report.
4769
4769
  */
4770
4770
  fixme(): void;
@@ -4840,9 +4840,9 @@ export interface TestType<TestArgs extends {}, WorkerArgs extends {}> {
4840
4840
  * description.
4841
4841
  * @param body Test body that takes one or two arguments: an object with fixtures and optional
4842
4842
  * [TestInfo](https://playwright.dev/docs/api/class-testinfo).
4843
- * @param condition Test is marked as "should fail" when the condition is `true`.
4844
- * @param callback A function that returns whether to mark as "should fail", based on test fixtures. Test or tests are marked as
4845
- * "should fail" when the return value is `true`.
4843
+ * @param condition Test is marked as "fixme" when the condition is `true`.
4844
+ * @param callback A function that returns whether to mark as "fixme", based on test fixtures. Test or tests are marked as "fixme"
4845
+ * when the return value is `true`.
4846
4846
  * @param description Optional description that will be reflected in a test report.
4847
4847
  */
4848
4848
  fixme(condition: boolean, description?: string): void;
@@ -4918,9 +4918,9 @@ export interface TestType<TestArgs extends {}, WorkerArgs extends {}> {
4918
4918
  * description.
4919
4919
  * @param body Test body that takes one or two arguments: an object with fixtures and optional
4920
4920
  * [TestInfo](https://playwright.dev/docs/api/class-testinfo).
4921
- * @param condition Test is marked as "should fail" when the condition is `true`.
4922
- * @param callback A function that returns whether to mark as "should fail", based on test fixtures. Test or tests are marked as
4923
- * "should fail" when the return value is `true`.
4921
+ * @param condition Test is marked as "fixme" when the condition is `true`.
4922
+ * @param callback A function that returns whether to mark as "fixme", based on test fixtures. Test or tests are marked as "fixme"
4923
+ * when the return value is `true`.
4924
4924
  * @param description Optional description that will be reflected in a test report.
4925
4925
  */
4926
4926
  fixme(callback: ConditionBody<TestArgs & WorkerArgs>, description?: string): void;