test(editor): Add canvas actions E2E tests (#6723) (#6790)

* test(editor): Add canvas actions E2E tests (#6723)

* test(editor): Add canvas actions E2E tests

* test(editor): Open category items in node creator when category dropped on canvas

* test(editor): Have new position counted only once in drag

* test(editor): rename test

(cherry picked from commit 052d82b220)

* test: fix drag positioning
This commit is contained in:
Csaba Tuncsik
2023-07-31 12:32:08 +02:00
committed by GitHub
parent 749468e4fa
commit 3d6f5a24af
5 changed files with 65 additions and 10 deletions

View File

@@ -100,6 +100,9 @@ export class WorkflowPage extends BasePage {
nodeCredentialsCreateOption: () => cy.getByTestId('node-credentials-select-item-new'),
nodeCredentialsEditButton: () => cy.getByTestId('credential-edit-button'),
nodeCreatorItems: () => cy.getByTestId('item-iterator-item'),
nodeCreatorNodeItems: () => cy.getByTestId('node-creator-node-item'),
nodeCreatorActionItems: () => cy.getByTestId('node-creator-action-item'),
nodeCreatorCategoryItems: () => cy.getByTestId('node-creator-category-item'),
ndvParameters: () => cy.getByTestId('parameter-item'),
nodeCredentialsLabel: () => cy.getByTestId('credentials-label'),
getConnectionBetweenNodes: (sourceNodeName: string, targetNodeName: string) =>