n8n/cypress/support/index.ts

15 lines
456 B
TypeScript
Raw Normal View History

// Load type definitions that come with Cypress module
/// <reference types="cypress" />
declare global {
namespace Cypress {
interface Chainable {
getByTestId(selector: string, ...args: (Partial<Loggable & Timeoutable & Withinable & Shadow> | undefined)[]): Chainable<JQuery<HTMLElement>>
signin(email: string, password: string): void;
signup(email: string, firstName: string, lastName: string, password: string): void;
}
}
}
export {};