Skip to content

Commit

Permalink
feat: add missing options on playwright config support (#908)
Browse files Browse the repository at this point in the history
  • Loading branch information
ferrandiaz authored Dec 21, 2023
1 parent c690d1d commit 98a2bf5
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions packages/cli/src/constructs/browser-defaults.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ export type Use = {
colorScheme?: string,
geolocation?: {
longitude?: number,
latitude?: number
latitude?: number,
accuracy?: number,
},
locale?: string,
permissions?: string[],
Expand All @@ -32,7 +33,9 @@ export type Use = {
}

export type Expect = {
timeout?: number
timeout?: number,
toHaveScreenshot?: object,
toMatchSnapshot?: object,
}

export type PlaywrightConfig = {
Expand Down

0 comments on commit 98a2bf5

Please sign in to comment.