mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-19 11:01:15 +00:00
refactor(editor): Add Workflows view e2e tests (#4573)
This commit is contained in:
11
cypress/pages/workflow.ts
Normal file
11
cypress/pages/workflow.ts
Normal 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'),
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user