15 lines
292 B
TypeScript
Raw Normal View History

2019-12-07 13:28:52 +02:00
/// <reference types="cypress" />
declare namespace Cypress {
interface Chainable {
/**
* Custom command to log in the user
*
* @example cy.login(account)
*/
login(options: {
account: 'default' | 'default2';
}): Promise<{ [key: string]: any }>;
}
}