mirror of
https://github.com/open-webui/open-webui
synced 2024-11-24 21:13:59 +00:00
14 lines
450 B
TypeScript
14 lines
450 B
TypeScript
// 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>;
|
|
}
|
|
}
|