ci: Improve Flaky Test Debugging and CAT-726 Fix (no-changelog) (#14298)

This commit is contained in:
shortstacked
2025-04-02 09:04:05 +01:00
committed by GitHub
parent a39502f3bb
commit 1e4541603f
13 changed files with 146 additions and 7 deletions

View File

@@ -25,6 +25,12 @@ export type EndpointType =
* Getters
*/
export function executeWorkflowAndWait() {
cy.get('[data-test-id="execute-workflow-button"]').click();
cy.contains('Workflow executed successfully', { timeout: 4000 }).should('be.visible');
cy.contains('Workflow executed successfully', { timeout: 10000 }).should('not.exist');
}
export function getCanvas() {
return cy.getByTestId('canvas');
}