We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c37c2eb commit 64502a2Copy full SHA for 64502a2
packages/browser-playwright/src/playwright.ts
@@ -365,10 +365,11 @@ export class PlaywrightBrowserProvider implements BrowserProvider {
365
if (this.project.config.browser.ui) {
366
options.viewport = null
367
}
368
- else {
369
- // if UI is disabled, keep the iframe scale to 1
370
- options.viewport ??= this.project.config.browser.viewport
371
- }
+ // TODO: investigate the consequences for Vitest 5
+ // else {
+ // if UI is disabled, keep the iframe scale to 1
+ // options.viewport ??= this.project.config.browser.viewport
372
+ // }
373
const context = await browser.newContext(options)
374
await this._throwIfClosing(context)
375
if (actionTimeout != null) {
0 commit comments