mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 17:46:45 +00:00
fix(editor): Waiting executions broken - Chat, Form, Wait (no-changelog) (#15343)
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user