cypress-enterprise-commands
Version:
Reusable Cypress custom commands for enterprise web applications
9 lines (8 loc) • 356 B
TypeScript
declare namespace Cypress {
interface Chainable<Subject> {
inputText(attr: string, str: string): Chainable<any>;
inputTextArea(index: number, text: string): Chainable<any>;
inputDecimal(index: number, value: number): Chainable<any>;
clearAndTypeByPlaceholder(textToType: string): Chainable<JQuery<HTMLElement>>;
}
}