mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
feat: Add credentials E2E test suite and page object (#4596)
* fix: Fix inferred type of X cannot be named error after pnpm update * feat: Change page objects to expose actions and getters. Add credential creation suite
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
export type IE2ETestPageElement = (...args: any[]) =>
|
||||
| Cypress.Chainable<JQuery<HTMLElement>>
|
||||
| Cypress.Chainable<JQuery<HTMLInputElement>>
|
||||
| Cypress.Chainable<JQuery<HTMLButtonElement>>;
|
||||
|
||||
export interface IE2ETestPage {
|
||||
url?: string;
|
||||
elements: Record<string, IE2ETestPageElement>;
|
||||
get(id: string, ...args: unknown[]): ReturnType<IE2ETestPageElement>;
|
||||
getters: Record<string, IE2ETestPageElement>;
|
||||
actions: Record<string, (...args: any[]) => void>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user