mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-31 23:47:28 -08:00
1c52bf9362
Co-authored-by: Oleg Ivaniv <me@olegivaniv.com>
30 lines
712 B
TypeScript
30 lines
712 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[];
|
|
};
|
|
}
|
|
|
|
export type OpenContextMenuOptions = {
|
|
method?: 'right-click' | 'overflow-button';
|
|
anchor?: 'topRight' | 'topLeft' | 'center' | 'bottomRight' | 'bottomLeft';
|
|
};
|