playwright 1.58.0-alpha-1764682370000 → 1.58.0-alpha-2025-12-03
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/ThirdPartyNotices.txt +207 -207
- package/lib/agents/agent.js +1 -2
- package/lib/agents/performTask.js +3 -14
- package/lib/isomorphic/teleSuiteUpdater.js +24 -4
- package/lib/mcp/browser/config.js +8 -0
- package/lib/mcp/browser/response.js +5 -2
- package/lib/mcp/browser/tools/snapshot.js +1 -1
- package/lib/mcp/browser/tools/tabs.js +2 -2
- package/lib/mcp/program.js +1 -1
- package/lib/mcpBundleImpl.js +62 -28
- package/lib/reporters/merge.js +6 -1
- package/package.json +2 -2
package/lib/reporters/merge.js
CHANGED
|
@@ -55,10 +55,15 @@ async function createMergedReport(config, dir, reporterDescriptions, rootDirOver
|
|
|
55
55
|
throw new Error(`No report files found in ${dir}`);
|
|
56
56
|
const eventData = await mergeEvents(dir, shardFiles, stringPool, printStatus, rootDirOverride);
|
|
57
57
|
const pathSeparator = rootDirOverride ? import_path.default.sep : eventData.pathSeparatorFromMetadata ?? import_path.default.sep;
|
|
58
|
+
const pathPackage = pathSeparator === "/" ? import_path.default.posix : import_path.default.win32;
|
|
58
59
|
const receiver = new import_teleReceiver.TeleReporterReceiver(multiplexer, {
|
|
59
60
|
mergeProjects: false,
|
|
60
61
|
mergeTestCases: false,
|
|
61
|
-
|
|
62
|
+
// When merging on a different OS, an absolute path like `C:\foo\bar` from win may look like
|
|
63
|
+
// a relative path on posix, and vice versa.
|
|
64
|
+
// Therefore, we cannot use `path.resolve()` here - it will resolve relative-looking paths
|
|
65
|
+
// against `process.cwd()`, while we just want to normalize ".." and "." segments.
|
|
66
|
+
resolvePath: (rootDir, relativePath) => stringPool.internString(pathPackage.normalize(pathPackage.join(rootDir, relativePath))),
|
|
62
67
|
configOverrides: config.config
|
|
63
68
|
});
|
|
64
69
|
printStatus(`processing test events`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "playwright",
|
|
3
|
-
"version": "1.58.0-alpha-
|
|
3
|
+
"version": "1.58.0-alpha-2025-12-03",
|
|
4
4
|
"description": "A high-level API to automate web browsers",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
},
|
|
65
65
|
"license": "Apache-2.0",
|
|
66
66
|
"dependencies": {
|
|
67
|
-
"playwright-core": "1.58.0-alpha-
|
|
67
|
+
"playwright-core": "1.58.0-alpha-2025-12-03"
|
|
68
68
|
},
|
|
69
69
|
"optionalDependencies": {
|
|
70
70
|
"fsevents": "2.3.2"
|