@playwright/test 1.35.0-alpha-jun-5-2023 → 1.35.0-alpha-jun-7-2023

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.
@@ -175,7 +175,7 @@ class TestInfoImpl {
175
175
  }
176
176
  _addStep(data, parentStep) {
177
177
  var _parentStep;
178
- const stepId = `${data.category}@${data.title}@${++this._lastStepId}`;
178
+ const stepId = `${data.category}@${++this._lastStepId}`;
179
179
  if (!parentStep) parentStep = _utils.zones.zoneData('stepZone', (0, _utils.captureRawStack)()) || undefined;
180
180
 
181
181
  // For out-of-stack calls, locate the enclosing step.
@@ -169,7 +169,7 @@ class WorkerMain extends _process.ProcessRunner {
169
169
  // No current test - fatal error.
170
170
  if (!this._fatalErrors.length) this._fatalErrors.push((0, _util2.serializeError)(error));
171
171
  }
172
- this._stop();
172
+ void this._stop();
173
173
  }
174
174
  async _loadIfNeeded() {
175
175
  if (this._config) return;
@@ -203,14 +203,14 @@ class WorkerMain extends _process.ProcessRunner {
203
203
  }
204
204
  } else {
205
205
  fatalUnknownTestIds = runPayload.entries.map(e => e.testId);
206
- this._stop();
206
+ void this._stop();
207
207
  }
208
208
  } catch (e) {
209
209
  // In theory, we should run above code without any errors.
210
210
  // However, in the case we screwed up, or loadTestFile failed in the worker
211
211
  // but not in the runner, let's do a fatal error.
212
212
  this._fatalErrors.push((0, _util2.serializeError)(e));
213
- this._stop();
213
+ void this._stop();
214
214
  } finally {
215
215
  const donePayload = {
216
216
  fatalErrors: this._fatalErrors,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@playwright/test",
3
- "version": "1.35.0-alpha-jun-5-2023",
3
+ "version": "1.35.0-alpha-jun-7-2023",
4
4
  "description": "A high-level API to automate web browsers",
5
5
  "repository": "github:Microsoft/playwright",
6
6
  "homepage": "https://playwright.dev",
@@ -41,7 +41,7 @@
41
41
  "license": "Apache-2.0",
42
42
  "dependencies": {
43
43
  "@types/node": "*",
44
- "playwright-core": "1.35.0-alpha-jun-5-2023"
44
+ "playwright-core": "1.35.0-alpha-jun-7-2023"
45
45
  },
46
46
  "optionalDependencies": {
47
47
  "fsevents": "2.3.2"