mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
refactor: Set up Cypress as pnpm workspace (no-changelog) (#6049)
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
This commit is contained in:
@@ -1,12 +1,24 @@
|
||||
export type IE2ETestPageElement = (
|
||||
...args: any[]
|
||||
...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, IE2ETestPageElement>;
|
||||
actions: Record<string, (...args: any[]) => void>;
|
||||
getters: Record<string, Getter>;
|
||||
actions: Record<string, (...args: unknown[]) => void>;
|
||||
}
|
||||
|
||||
interface Execution {
|
||||
workflowId: string;
|
||||
}
|
||||
|
||||
export interface ExecutionResponse {
|
||||
data: {
|
||||
results: Execution[];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user