red-ui/cypress/support/index.d.ts
2020-11-10 11:05:46 +02:00

21 lines
432 B
TypeScript

/// <reference types="cypress" />
declare namespace Cypress {
interface Chainable {
/**
* Should run before each spec!
*/
init(user?: string): Chainable<Element>;
/**
* Should run after each spec!
*/
cleanup(): Chainable<Element>;
/**
* Deletes user uploads before tests
*/
deleteAllProjects(): Chainable<Element>;
}
}