fix(editor): Waiting executions broken - Chat, Form, Wait (no-changelog) (#15343)

This commit is contained in:
Suguru Inoue
2025-05-13 17:01:00 +02:00
committed by GitHub
parent 3176f6fc89
commit 694af6c9f0
10 changed files with 279 additions and 58 deletions

View File

@@ -120,6 +120,18 @@ export function getNodeByName(name: string) {
);
}
export function getNodesWithSpinner() {
return cy
.getByTestId('canvas-node')
.filter((_, el) => Cypress.$(el).find('[data-icon=sync-alt]').length > 0);
}
export function getWaitingNodes() {
return cy
.getByTestId('canvas-node')
.filter((_, el) => Cypress.$(el).find('[data-icon=clock]').length > 0);
}
export function getNodeRenderedTypeByName(name: string) {
return cy.ifCanvasVersion(
() => getNodeByName(name),