fix: Show Pinned data in demo mode (#11490)

This commit is contained in:
Mutasem Aldmour
2024-11-01 14:04:58 +01:00
committed by GitHub
parent 5b5bd7291d
commit ca2a583b5c
5 changed files with 70 additions and 19 deletions

View File

@@ -69,6 +69,13 @@ export function getNodeCreatorPlusButton() {
return cy.getByTestId('node-creator-plus-button');
}
export function getCanvasNodes() {
return cy.ifCanvasVersion(
() => cy.getByTestId('canvas-node'),
() => cy.getByTestId('canvas-node').not('[data-node-type="n8n-nodes-internal.addNodes"]'),
);
}
/**
* Actions
*/