Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
fix(testrunner): explicitly define viewport size fixture (#13801)
Andrey Lushnikovaaedf1c8ea6e
diff --git a/packages/playwright-test/src/index.ts b/packages/playwright-test/src/index.tsindex e27db4a594..9440d50f6d 100644--- a/packages/playwright-test/src/index.ts+++ b/packages/playwright-test/src/index.ts@@ -153,7 +153,7 @@ export const test = _baseTest.extend<TestFixtures, WorkerFixtures>({storageState: [ undefined, { option: true } ],timezoneId: [ undefined, { option: true } ],userAgent: [ undefined, { option: true } ],- viewport: [ undefined, { option: true } ],+ viewport: [ { width: 1280, height: 720 }, { option: true } ],actionTimeout: [ undefined, { option: true } ],navigationTimeout: [ undefined, { option: true } ],baseURL: [ async ({ }, use) => {