playwright 1.55.0-alpha-2025-08-08 → 1.55.0-alpha-2025-08-10
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.
- package/lib/index.js +2 -1
- package/lib/worker/testInfo.js +6 -6
- package/package.json +2 -2
package/lib/index.js
CHANGED
|
@@ -251,7 +251,8 @@ const playwrightFixtures = {
|
|
|
251
251
|
category: "pw:api",
|
|
252
252
|
title: renderTitle(channel.type, channel.method, channel.params, data.title),
|
|
253
253
|
apiName: data.apiName,
|
|
254
|
-
params: channel.params
|
|
254
|
+
params: channel.params,
|
|
255
|
+
visibility: (0, import_utils.getActionGroup)({ type: channel.type, method: channel.method }) ? "hidden" : void 0
|
|
255
256
|
}, tracingGroupSteps[tracingGroupSteps.length - 1]);
|
|
256
257
|
data.userData = step;
|
|
257
258
|
data.stepId = step.stepId;
|
package/lib/worker/testInfo.js
CHANGED
|
@@ -192,7 +192,7 @@ class TestInfoImpl {
|
|
|
192
192
|
location = location || boxedStack[0];
|
|
193
193
|
}
|
|
194
194
|
location = location || filteredStack[0];
|
|
195
|
-
const visibility = parentStep?.visibility === "internal" || data.visibility === "internal" ? "internal" : parentStep?.visibility === "hidden" || data.visibility === "hidden" ? "hidden" :
|
|
195
|
+
const visibility = parentStep?.visibility === "internal" || data.visibility === "internal" ? "internal" : parentStep?.visibility === "hidden" || data.visibility === "hidden" ? "hidden" : void 0;
|
|
196
196
|
const step = {
|
|
197
197
|
...data,
|
|
198
198
|
stepId,
|
|
@@ -224,7 +224,7 @@ ${(0, import_utils.stringifyStackFrames)(step.boxedStack).join("\n")}`;
|
|
|
224
224
|
}
|
|
225
225
|
}
|
|
226
226
|
}
|
|
227
|
-
if (visibility
|
|
227
|
+
if (!step.visibility) {
|
|
228
228
|
const payload = {
|
|
229
229
|
testId: this.testId,
|
|
230
230
|
stepId,
|
|
@@ -235,7 +235,7 @@ ${(0, import_utils.stringifyStackFrames)(step.boxedStack).join("\n")}`;
|
|
|
235
235
|
};
|
|
236
236
|
this._onStepEnd(payload);
|
|
237
237
|
}
|
|
238
|
-
if (visibility !== "internal") {
|
|
238
|
+
if (step.visibility !== "internal") {
|
|
239
239
|
const errorForTrace = step.error ? { name: "", message: step.error.message || "", stack: step.error.stack } : void 0;
|
|
240
240
|
const attachments = step.attachmentIndices.map((i) => this.attachments[i]);
|
|
241
241
|
this._tracing.appendAfterActionForStep(stepId, errorForTrace, attachments, step.info.annotations);
|
|
@@ -245,7 +245,7 @@ ${(0, import_utils.stringifyStackFrames)(step.boxedStack).join("\n")}`;
|
|
|
245
245
|
const parentStepList = parentStep ? parentStep.steps : this._steps;
|
|
246
246
|
parentStepList.push(step);
|
|
247
247
|
this._stepMap.set(stepId, step);
|
|
248
|
-
if (visibility
|
|
248
|
+
if (!step.visibility) {
|
|
249
249
|
const payload = {
|
|
250
250
|
testId: this.testId,
|
|
251
251
|
stepId,
|
|
@@ -257,7 +257,7 @@ ${(0, import_utils.stringifyStackFrames)(step.boxedStack).join("\n")}`;
|
|
|
257
257
|
};
|
|
258
258
|
this._onStepBegin(payload);
|
|
259
259
|
}
|
|
260
|
-
if (visibility !== "internal") {
|
|
260
|
+
if (step.visibility !== "internal") {
|
|
261
261
|
this._tracing.appendBeforeActionForStep({
|
|
262
262
|
stepId,
|
|
263
263
|
parentId: parentStep?.stepId,
|
|
@@ -265,7 +265,7 @@ ${(0, import_utils.stringifyStackFrames)(step.boxedStack).join("\n")}`;
|
|
|
265
265
|
category: step.category,
|
|
266
266
|
params: step.params,
|
|
267
267
|
stack: step.location ? [step.location] : [],
|
|
268
|
-
visibility: visibility
|
|
268
|
+
visibility: step.visibility
|
|
269
269
|
});
|
|
270
270
|
}
|
|
271
271
|
return step;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "playwright",
|
|
3
|
-
"version": "1.55.0-alpha-2025-08-
|
|
3
|
+
"version": "1.55.0-alpha-2025-08-10",
|
|
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-
|
|
59
|
+
"playwright-core": "1.55.0-alpha-2025-08-10"
|
|
60
60
|
},
|
|
61
61
|
"optionalDependencies": {
|
|
62
62
|
"fsevents": "2.3.2"
|