@vitest/browser-playwright 4.0.13 → 4.0.15

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.
Files changed (2) hide show
  1. package/dist/index.js +5 -3
  2. package/package.json +6 -6
package/dist/index.js CHANGED
@@ -961,10 +961,12 @@ class PlaywrightBrowserProvider {
961
961
  };
962
962
  if (this.project.config.browser.ui) {
963
963
  options.viewport = null;
964
- } else {
965
- // if UI is disabled, keep the iframe scale to 1
966
- options.viewport ??= this.project.config.browser.viewport;
967
964
  }
965
+ // TODO: investigate the consequences for Vitest 5
966
+ // else {
967
+ // if UI is disabled, keep the iframe scale to 1
968
+ // options.viewport ??= this.project.config.browser.viewport
969
+ // }
968
970
  const context = await browser.newContext(options);
969
971
  await this._throwIfClosing(context);
970
972
  if (actionTimeout != null) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vitest/browser-playwright",
3
3
  "type": "module",
4
- "version": "4.0.13",
4
+ "version": "4.0.15",
5
5
  "description": "Browser running for Vitest using playwright",
6
6
  "license": "MIT",
7
7
  "funding": "https://opencollective.com/vitest",
@@ -42,7 +42,7 @@
42
42
  ],
43
43
  "peerDependencies": {
44
44
  "playwright": "*",
45
- "vitest": "4.0.13"
45
+ "vitest": "4.0.15"
46
46
  },
47
47
  "peerDependenciesMeta": {
48
48
  "playwright": {
@@ -51,12 +51,12 @@
51
51
  },
52
52
  "dependencies": {
53
53
  "tinyrainbow": "^3.0.3",
54
- "@vitest/mocker": "4.0.13",
55
- "@vitest/browser": "4.0.13"
54
+ "@vitest/browser": "4.0.15",
55
+ "@vitest/mocker": "4.0.15"
56
56
  },
57
57
  "devDependencies": {
58
- "playwright": "^1.56.1",
59
- "vitest": "4.0.13"
58
+ "playwright": "^1.57.0",
59
+ "vitest": "4.0.15"
60
60
  },
61
61
  "scripts": {
62
62
  "build": "premove dist && pnpm rollup -c",