mirror of
https://github.com/n8n-io/n8n.git
synced 2024-09-11 13:15:28 +03:00
25 lines
548 B
TypeScript
25 lines
548 B
TypeScript
export type IE2ETestPageElement = (
|
|
...args: unknown[]
|
|
) =>
|
|
| Cypress.Chainable<JQuery<HTMLElement>>
|
|
| Cypress.Chainable<JQuery<HTMLInputElement>>
|
|
| Cypress.Chainable<JQuery<HTMLButtonElement>>;
|
|
|
|
type Getter = IE2ETestPageElement | ((key: string | number) => IE2ETestPageElement);
|
|
|
|
export interface IE2ETestPage {
|
|
url?: string;
|
|
getters: Record<string, Getter>;
|
|
actions: Record<string, (...args: unknown[]) => void>;
|
|
}
|
|
|
|
interface Execution {
|
|
workflowId: string;
|
|
}
|
|
|
|
export interface ExecutionResponse {
|
|
data: {
|
|
results: Execution[];
|
|
};
|
|
}
|