yueyang / cypress /support /index.d.ts
github-actions[bot]
GitHub deploy: 45fae65ec18d0b265b7151dd469053c8494a72e8
ccaf67e
raw
history blame contribute delete
340 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>;
}
}