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:
parent
cd53346594
commit
aaedf1c8ea
|
|
@ -153,7 +153,7 @@ export const test = _baseTest.extend<TestFixtures, WorkerFixtures>({
|
||||||
storageState: [ undefined, { option: true } ],
|
storageState: [ undefined, { option: true } ],
|
||||||
timezoneId: [ undefined, { option: true } ],
|
timezoneId: [ undefined, { option: true } ],
|
||||||
userAgent: [ undefined, { option: true } ],
|
userAgent: [ undefined, { option: true } ],
|
||||||
viewport: [ undefined, { option: true } ],
|
viewport: [ { width: 1280, height: 720 }, { option: true } ],
|
||||||
actionTimeout: [ undefined, { option: true } ],
|
actionTimeout: [ undefined, { option: true } ],
|
||||||
navigationTimeout: [ undefined, { option: true } ],
|
navigationTimeout: [ undefined, { option: true } ],
|
||||||
baseURL: [ async ({ }, use) => {
|
baseURL: [ async ({ }, use) => {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue