mirror of
https://github.com/n8n-io/n8n.git
synced 2025-02-02 07:01:30 -08:00
## Summary Follow-up to https://github.com/n8n-io/n8n/pull/8240 Adds e2e tests for the template credential setup in workflow editor ## Related tickets and issues https://linear.app/n8n/issue/ADO-1463/feature-enable-users-to-close-and-re-open-the-setup
13 lines
261 B
TypeScript
13 lines
261 B
TypeScript
/**
|
|
* Getters
|
|
*/
|
|
|
|
export const getWorkflowCredentialsModal = () => cy.getByTestId('setup-workflow-credentials-modal');
|
|
|
|
/**
|
|
* Actions
|
|
*/
|
|
|
|
export const closeModal = () =>
|
|
getWorkflowCredentialsModal().find("button[aria-label='Close this dialog']").click();
|