You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
509 B
21 lines
509 B
3 years ago
|
/// <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>;
|
||
|
}
|
||
|
}
|