playwright 1.48.0 → 1.48.1
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/lib/runner/testServer.js +17 -8
- package/package.json +2 -2
package/lib/runner/testServer.js
CHANGED
|
@@ -328,14 +328,23 @@ class TestServerDispatcher {
|
|
|
328
328
|
preserveOutputDir: true,
|
|
329
329
|
reporter: params.reporters ? params.reporters.map(r => [r]) : undefined,
|
|
330
330
|
use: {
|
|
331
|
-
...
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
331
|
+
...this._configCLIOverrides.use,
|
|
332
|
+
...(params.trace === 'on' ? {
|
|
333
|
+
trace: {
|
|
334
|
+
mode: 'on',
|
|
335
|
+
sources: false,
|
|
336
|
+
_live: true
|
|
337
|
+
}
|
|
338
|
+
} : {}),
|
|
339
|
+
...(params.trace === 'off' ? {
|
|
340
|
+
trace: 'off'
|
|
341
|
+
} : {}),
|
|
342
|
+
...(params.video === 'on' || params.video === 'off' ? {
|
|
343
|
+
video: params.video
|
|
344
|
+
} : {}),
|
|
345
|
+
...(params.headed !== undefined ? {
|
|
346
|
+
headless: !params.headed
|
|
347
|
+
} : {}),
|
|
339
348
|
_optionContextReuseMode: params.reuseContext ? 'when-possible' : undefined,
|
|
340
349
|
_optionConnectOptions: params.connectWsEndpoint ? {
|
|
341
350
|
wsEndpoint: params.connectWsEndpoint
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "playwright",
|
|
3
|
-
"version": "1.48.
|
|
3
|
+
"version": "1.48.1",
|
|
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.48.
|
|
59
|
+
"playwright-core": "1.48.1"
|
|
60
60
|
},
|
|
61
61
|
"optionalDependencies": {
|
|
62
62
|
"fsevents": "2.3.2"
|