ai / cypress /support /index.d.ts
github-actions[bot]
GitHub deploy: 7a062bb0a4e6f79f3731b6126c410d618a5a53c7
efeed65
raw
history blame contribute delete
450 Bytes
// load the global Cypress types
/// <reference types="cypress" />
declare namespace Cypress {
interface Chainable {
login(email: string, password: string): Chainable<Element>;
register(name: string, email: string, password: string): Chainable<Element>;
registerAdmin(): Chainable<Element>;
loginAdmin(): Chainable<Element>;
uploadTestDocument(suffix: any): Chainable<Element>;
deleteTestDocument(suffix: any): Chainable<Element>;
}
}