refactor(editor): Add Workflows view e2e tests (#4573)

This commit is contained in:
OlegIvaniv
2022-11-11 09:07:14 +01:00
committed by GitHub
parent ed99aa2d59
commit 50f7538779
14 changed files with 287 additions and 11 deletions

11
cypress/pages/workflow.ts Normal file
View File

@@ -0,0 +1,11 @@
import { BasePage } from "./base";
export class WorkflowPage extends BasePage {
url = '/workflow/new';
elements = {
workflowNameInput: () => cy.getByTestId('workflow-name-input').then($el => cy.wrap($el.find('input'))),
workflowImportInput: () => cy.getByTestId('workflow-import-input'),
workflowTags: () => cy.getByTestId('workflow-tags'),
saveButton: () => cy.getByTestId('save-button'),
};
}