Skip to content

Commit

Permalink
feat: added TS types for http proxy [sc-22386] (#982)
Browse files Browse the repository at this point in the history
  • Loading branch information
ejanusevicius authored Nov 26, 2024
1 parent 01e8493 commit 0c49535
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions packages/cli/src/constructs/playwright-config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
import { CheckProps } from './check'

/**
* Ref: https://playwright.dev/docs/network#http-proxy
*/
type HttpProxy = {
server: string,
username?: string,
password?: string,
}

export type Use = {
baseURL?: string,
colorScheme?: string,
Expand Down Expand Up @@ -31,6 +40,7 @@ export type Use = {
contextOptions?: object,
bypassCSP?: boolean,
userAgent?: string,
proxy?: HttpProxy,
}

export type Expect = {
Expand Down

0 comments on commit 0c49535

Please sign in to comment.