index.d.ts 450 B

12345678910111213
  1. // load the global Cypress types
  2. /// <reference types="cypress" />
  3. declare namespace Cypress {
  4. interface Chainable {
  5. login(email: string, password: string): Chainable<Element>;
  6. register(name: string, email: string, password: string): Chainable<Element>;
  7. registerAdmin(): Chainable<Element>;
  8. loginAdmin(): Chainable<Element>;
  9. uploadTestDocument(suffix: any): Chainable<Element>;
  10. deleteTestDocument(suffix: any): Chainable<Element>;
  11. }
  12. }