fix(testrunner): explicitly define viewport size fixture (#13801)

Instead of relying on library defaults, let's explicitly define
viewport size fixture so that users can rely on its existance.
This commit is contained in:
Andrey Lushnikov 2022-05-04 10:17:33 -06:00 committed by GitHub
parent cd53346594
commit aaedf1c8ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) => {