adminjs
Version:
Admin panel for apps written in node.js
21 lines (17 loc) • 509 B
TypeScript
/// <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>;
}
}