UNPKG

adminjs

Version:
21 lines (17 loc) 509 B
/// <reference types="cypress" /> declare namespace Cypress { type AbLoginParams = { email?: string; password?: string; loginPath?: string; } type AbKeepLoggedInParams = { cookie?: string; } interface Chainable<Subject> { abLogin(params?: AbLoginParams): Chainable<any>; abLoginAPI(params?: AbLoginParams): Chainable<any>; abGetProperty(propertyPath: string, selector?: string): Chainable<any>; abKeepLoggedIn(params?: AbKeepLoggedInParams): Chainable<any>; } }