test: Update 20-workflow-executions e2e tests for new canvas (#12136)

This commit is contained in:
Alex Grozav
2024-12-11 12:12:47 +02:00
committed by GitHub
parent 0468945c99
commit e6985f79db
3 changed files with 15 additions and 1 deletions

View File

@@ -30,6 +30,12 @@ export class WorkflowExecutionsTab extends BasePage {
actions = {
toggleNodeEnabled: (nodeName: string) => {
cy.ifCanvasVersion(
() => {},
() => {
cy.get('body').click(); // Cancel selection if it exists
},
);
workflowPage.getters.canvasNodeByName(nodeName).click();
cy.get('body').type('d', { force: true });
},