cypress-enterprise-commands
Version:
Reusable Cypress custom commands for enterprise web applications
21 lines (20 loc) • 1.33 kB
TypeScript
declare namespace Cypress {
interface Chainable<Subject> {
verifyTextValue(attr: string, str: string): Chainable<any>;
verifyLabelMapping(labelMappings: any): Chainable<any>;
verifyElementsValues(selector: string, labels: any[]): Chainable<any>;
verifyManyTextsBySelector(selector: string, labels: any[]): Chainable<any>;
verifyLabelText(forAttr: string, txt: any): Chainable<any>;
verifyTestAttributeLabelText(testAttr: string, txt: any): Chainable<any>;
verifyCalenderLabel(date: string): Chainable<any>;
verifyElementValueMapping(selctorList: string[], values: any[]): Chainable<any>;
verifyTableHeadersScreen(headers: string[]): Chainable<any>;
verifyParagraphHeaders(headers: string[]): Chainable<any>;
verifyPlaceholderValueAttr(attr: string, index: number, txt: string): Chainable<string>;
verifyManyViaPlaceholderValues(selector: string, labels: any[]): Chainable<any>;
getPlaceholderValueAttr(attr: string, index: number): Chainable<string>;
verifyIntegratedPostedJournalEntrySectionHeaders(JLSectionLabelsList: string[], JLSectionValuesList: string[]): Chainable<any>;
verifyFieldValue(attrName: string, txtEx: string): Chainable<any>;
}
}
declare function removeSpacesBetween(word: any): string;