chore: (multi-domain) support multiple remote states (#20752)

This commit is contained in:
Matt Schile
2022-03-28 15:26:51 -06:00
committed by GitHub
parent 453d1ca546
commit fedb65c97c
41 changed files with 1480 additions and 602 deletions

View File

@@ -48,16 +48,12 @@ declare namespace Cypress {
}
interface RemoteState {
auth?: {
username: string
password: string
}
auth?: Auth
domainName: string
strategy: 'file' | 'http'
origin: string
fileServer: string
fileServer: string | null
props: Record<string, any>
visiting: string
}
interface Backend {
@@ -68,7 +64,6 @@ declare namespace Cypress {
* @see https://on.cypress.io/firefox-gc-issue
*/
(task: 'firefox:force:gc'): Promise<void>
(task: 'ready:for:domain'): Promise<void>
(task: 'net', eventName: string, frame: any): Promise<void>
}