mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-10 22:54:05 -08:00
d46050c974
* use user-folder override consistently everywhere, including for the `.cache` folder * use consistent config for e2e tesing, skipping config loading from env and config files * simplify all the cypress commands, and run all e2e tests on master * add tests for skipping owner setup * add todos Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
19 lines
654 B
TypeScript
19 lines
654 B
TypeScript
// 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>>
|
|
findChildByTestId(childTestId: string): Chainable<JQuery<HTMLElement>>
|
|
createFixtureWorkflow(fixtureKey: string, workflowName: string): void;
|
|
signin(email: string, password: string): void;
|
|
// todo: rename to setup
|
|
signup(email: string, firstName: string, lastName: string, password: string): void;
|
|
skipSetup(): void;
|
|
}
|
|
}
|
|
}
|
|
|
|
export {};
|