n8n/cypress/composables/modals/workflow-credential-setup-modal.ts

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
261 B
TypeScript
Raw Normal View History

/**
* Getters
*/
export const getWorkflowCredentialsModal = () => cy.getByTestId('setup-workflow-credentials-modal');
/**
* Actions
*/
export const closeModal = () =>
getWorkflowCredentialsModal().find("button[aria-label='Close this dialog']").click();