feat: Update e2e tests to run on new canvas (no-changelog) (#12784)

This commit is contained in:
Alex Grozav
2025-01-24 14:38:54 +02:00
committed by GitHub
parent 2c58d47f8e
commit afbbfa3a90
30 changed files with 240 additions and 1593 deletions

View File

@@ -67,6 +67,13 @@ export function getInputPlusHandleByType(nodeName: string, endpointType: Endpoin
);
}
export function getOutputHandle(nodeName: string) {
return cy.ifCanvasVersion(
() => cy.get(`.add-output-endpoint[data-endpoint-name="${nodeName}"]`),
() => cy.get(`[data-test-id="canvas-node-output-handle"][data-node-name="${nodeName}"]`),
);
}
export function getOutputPlusHandle(nodeName: string) {
return cy.ifCanvasVersion(
() => cy.get(`.add-output-endpoint[data-endpoint-name="${nodeName}"]`),