open-ui / cypress /support /index.d.ts
github-actions[bot]
GitHub deploy: e5bb0f014acf570d032e42a9c2d9d8eecc629887
86d1d0d
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>;
}
}