2022-12-15 07:39:59 -08:00
|
|
|
export type IE2ETestPageElement = (
|
2024-06-10 06:49:50 -07:00
|
|
|
...args: unknown[]
|
2022-12-15 07:39:59 -08:00
|
|
|
) =>
|
2022-11-08 04:21:10 -08:00
|
|
|
| Cypress.Chainable<JQuery<HTMLElement>>
|
2022-11-22 01:37:26 -08:00
|
|
|
| Cypress.Chainable<JQuery<HTMLInputElement>>
|
2022-11-08 04:21:10 -08:00
|
|
|
| Cypress.Chainable<JQuery<HTMLButtonElement>>;
|
|
|
|
|
2024-06-10 06:49:50 -07:00
|
|
|
type Getter = IE2ETestPageElement | ((key: string | number) => IE2ETestPageElement);
|
|
|
|
|
2022-11-08 04:21:10 -08:00
|
|
|
export interface IE2ETestPage {
|
|
|
|
url?: string;
|
2024-06-10 06:49:50 -07:00
|
|
|
getters: Record<string, Getter>;
|
|
|
|
actions: Record<string, (...args: unknown[]) => void>;
|
|
|
|
}
|
|
|
|
|
|
|
|
interface Execution {
|
|
|
|
workflowId: string;
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface ExecutionResponse {
|
|
|
|
data: {
|
|
|
|
results: Execution[];
|
|
|
|
};
|
2022-11-08 04:21:10 -08:00
|
|
|
}
|