mirror of
https://github.com/n8n-io/n8n.git
synced 2025-02-21 02:56:40 -08:00
fix: update e2e tests
This commit is contained in:
parent
605b03bab4
commit
bda99d43d5
|
@ -18,9 +18,8 @@ describe('Workflows', () => {
|
|||
|
||||
cy.createFixtureWorkflow('Test_workflow_1.json', `Empty State Card Workflow ${uuid()}`);
|
||||
|
||||
// TODO: Uncomment this once tags are fixed
|
||||
// WorkflowPage.getters.workflowTags().should('contain.text', 'some-tag-1');
|
||||
// WorkflowPage.getters.workflowTags().should('contain.text', 'some-tag-2');
|
||||
WorkflowPage.getters.workflowTags().should('contain.text', 'some-tag-1');
|
||||
WorkflowPage.getters.workflowTags().should('contain.text', 'some-tag-2');
|
||||
});
|
||||
|
||||
it('should create multiple new workflows using add workflow button', () => {
|
||||
|
@ -30,9 +29,8 @@ describe('Workflows', () => {
|
|||
|
||||
cy.createFixtureWorkflow('Test_workflow_2.json', `My New Workflow ${uuid()}`);
|
||||
|
||||
// TODO: Uncomment this once tags are fixed
|
||||
// WorkflowPage.getters.workflowTags().should('contain.text', 'other-tag-1');
|
||||
// WorkflowPage.getters.workflowTags().should('contain.text', 'other-tag-2');
|
||||
WorkflowPage.getters.workflowTags().should('contain.text', 'other-tag-1');
|
||||
WorkflowPage.getters.workflowTags().should('contain.text', 'other-tag-2');
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
@ -117,7 +117,7 @@ describe('Undo/Redo', () => {
|
|||
it('should undo/redo moving nodes', () => {
|
||||
WorkflowPage.actions.addNodeToCanvas(SCHEDULE_TRIGGER_NODE_NAME);
|
||||
WorkflowPage.actions.addNodeToCanvas(CODE_NODE_NAME);
|
||||
cy.drag('[data-test-id="canvas-node"].jtk-drag-selected', [150, 150]);
|
||||
cy.drag('[data-test-id="canvas-node"].jtk-drag-selected', [50, 150]);
|
||||
WorkflowPage.getters
|
||||
.canvasNodeByName('Code')
|
||||
.should('have.attr', 'style', 'left: 740px; top: 320px;');
|
||||
|
|
|
@ -158,7 +158,7 @@ describe('Canvas Node Manipulation and Navigation', () => {
|
|||
WorkflowPage.getters.canvasNodeByName(MANUAL_TRIGGER_NODE_DISPLAY_NAME).click();
|
||||
WorkflowPage.actions.addNodeToCanvas(CODE_NODE_NAME);
|
||||
WorkflowPage.actions.zoomToFit();
|
||||
cy.drag('[data-test-id="canvas-node"].jtk-drag-selected', [150, 150]);
|
||||
cy.drag('[data-test-id="canvas-node"].jtk-drag-selected', [50, 150]);
|
||||
WorkflowPage.getters
|
||||
.canvasNodes()
|
||||
.last()
|
||||
|
|
Loading…
Reference in a new issue