fix: Small ui fixes to workflow cred setup modal (no-changelog) (#8280)

This commit is contained in:
Tomi Turtiainen
2024-01-09 18:32:42 +02:00
committed by GitHub
parent 4401db3a2f
commit 23abd8fb49
4 changed files with 31 additions and 11 deletions

View File

@@ -4,9 +4,10 @@
export const getWorkflowCredentialsModal = () => cy.getByTestId('setup-workflow-credentials-modal');
export const getContinueButton = () => cy.getByTestId('continue-button');
/**
* Actions
*/
export const closeModal = () =>
getWorkflowCredentialsModal().find("button[aria-label='Close this dialog']").click();
export const closeModalFromContinueButton = () => getContinueButton().click();