playwright 1.54.0-alpha-2025-06-19 → 1.54.0-alpha-1750421372000
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/README.md +1 -1
- package/lib/fsWatcher.js +1 -1
- package/lib/matchers/toMatchSnapshot.js +1 -1
- package/lib/runner/testServer.js +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# 🎭 Playwright
|
|
2
2
|
|
|
3
|
-
[](https://www.npmjs.com/package/playwright) <!-- GEN:chromium-version-badge -->[](https://www.chromium.org/Home)<!-- GEN:stop --> <!-- GEN:firefox-version-badge -->[](https://www.mozilla.org/en-US/firefox/new/)<!-- GEN:stop --> <!-- GEN:webkit-version-badge -->[](https://webkit.org/)<!-- GEN:stop --> [](https://www.npmjs.com/package/playwright) <!-- GEN:chromium-version-badge -->[](https://www.chromium.org/Home)<!-- GEN:stop --> <!-- GEN:firefox-version-badge -->[](https://www.mozilla.org/en-US/firefox/new/)<!-- GEN:stop --> <!-- GEN:webkit-version-badge -->[](https://webkit.org/)<!-- GEN:stop --> [](https://aka.ms/playwright/discord)
|
|
4
4
|
|
|
5
5
|
## [Documentation](https://playwright.dev) | [API reference](https://playwright.dev/docs/api/class-playwright)
|
|
6
6
|
|
package/lib/fsWatcher.js
CHANGED
|
@@ -30,7 +30,7 @@ class Watcher {
|
|
|
30
30
|
this._onChange = onChange;
|
|
31
31
|
}
|
|
32
32
|
async update(watchedPaths, ignoredFolders, reportPending) {
|
|
33
|
-
if (JSON.stringify([this._watchedPaths, this._ignoredFolders]) === JSON.stringify(watchedPaths, ignoredFolders))
|
|
33
|
+
if (JSON.stringify([this._watchedPaths, this._ignoredFolders]) === JSON.stringify([watchedPaths, ignoredFolders]))
|
|
34
34
|
return;
|
|
35
35
|
if (reportPending)
|
|
36
36
|
this._reportEventsIfAny();
|
|
@@ -86,7 +86,7 @@ class SnapshotHelper {
|
|
|
86
86
|
this.matcherName = matcherName;
|
|
87
87
|
this.locator = locator;
|
|
88
88
|
this.updateSnapshots = testInfo.config.updateSnapshots;
|
|
89
|
-
this.mimeType = import_utilsBundle.mime.getType(import_path.default.basename(this.expectedPath)) ?? "application/octet-
|
|
89
|
+
this.mimeType = import_utilsBundle.mime.getType(import_path.default.basename(this.expectedPath)) ?? "application/octet-stream";
|
|
90
90
|
this.comparator = (0, import_utils.getComparator)(this.mimeType);
|
|
91
91
|
this.testInfo = testInfo;
|
|
92
92
|
this.kind = this.mimeType.startsWith("image/") ? "Screenshot" : "Snapshot";
|
package/lib/runner/testServer.js
CHANGED
|
@@ -124,7 +124,7 @@ class TestServerDispatcher {
|
|
|
124
124
|
process.stdout.columns = params.cols;
|
|
125
125
|
process.stdout.rows = params.rows;
|
|
126
126
|
process.stderr.columns = params.cols;
|
|
127
|
-
process.stderr.
|
|
127
|
+
process.stderr.rows = params.rows;
|
|
128
128
|
}
|
|
129
129
|
async checkBrowsers() {
|
|
130
130
|
return { hasBrowsers: hasSomeBrowsers() };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "playwright",
|
|
3
|
-
"version": "1.54.0-alpha-
|
|
3
|
+
"version": "1.54.0-alpha-1750421372000",
|
|
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.54.0-alpha-
|
|
59
|
+
"playwright-core": "1.54.0-alpha-1750421372000"
|
|
60
60
|
},
|
|
61
61
|
"optionalDependencies": {
|
|
62
62
|
"fsevents": "2.3.2"
|