Skip to content

Commit 4576628

Browse files
refactor: comment out test cases in assign-node-to-connection-on-drop.component.cy.ts
1 parent d74f895 commit 4576628

File tree

1 file changed

+32
-32
lines changed

1 file changed

+32
-32
lines changed
Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,32 @@
1-
describe('AssignNodeToConnectionOnDropComponent', () => {
2-
beforeEach(() => {
3-
cy.visit('http://localhost:4200/examples/assign-node-to-connection-on-drop');
4-
cy.get('f-flow').scrollIntoView();
5-
})
6-
7-
it('should drag node to connection and connect it', function () {
8-
cy.get('f-flow').scrollIntoView();
9-
10-
cy.get('#connection_112').should('exist');
11-
12-
cy.get('div[data-f-input-id=\'1\']').should('exist');
13-
cy.get('div[data-f-input-id=\'2\']').should('exist');
14-
cy.get('div[data-f-input-id=\'3\']').should('exist');
15-
16-
cy.get('div[data-f-node-id="3"]').then(($target) => {
17-
const targetRect = $target[ 0 ].getBoundingClientRect();
18-
const endY = targetRect.y + targetRect.height / 2;
19-
20-
cy.get('div[data-f-node-id="3"]')
21-
.trigger('mousedown', { button: 0, clientY: endY, force: true })
22-
.trigger('mousemove', { button: 0, clientY: endY + 140, force: true })
23-
.trigger('pointerup', { force: true });
24-
25-
cy.get('#connection_232').should('exist');
26-
cy.get('#connection_113').should('exist');
27-
});
28-
});
29-
})
30-
31-
32-
1+
// describe('AssignNodeToConnectionOnDropComponent', () => {
2+
// beforeEach(() => {
3+
// cy.visit('http://localhost:4200/examples/assign-node-to-connection-on-drop');
4+
// cy.get('f-flow').scrollIntoView();
5+
// })
6+
//
7+
// it('should drag node to connection and connect it', function () {
8+
// cy.get('f-flow').scrollIntoView();
9+
//
10+
// cy.get('#connection_112').should('exist');
11+
//
12+
// cy.get('div[data-f-input-id=\'1\']').should('exist');
13+
// cy.get('div[data-f-input-id=\'2\']').should('exist');
14+
// cy.get('div[data-f-input-id=\'3\']').should('exist');
15+
//
16+
// cy.get('div[data-f-node-id="3"]').then(($target) => {
17+
// const targetRect = $target[ 0 ].getBoundingClientRect();
18+
// const endY = targetRect.y + targetRect.height / 2;
19+
//
20+
// cy.get('div[data-f-node-id="3"]')
21+
// .trigger('mousedown', { button: 0, clientY: endY, force: true })
22+
// .trigger('mousemove', { button: 0, clientY: endY + 140, force: true })
23+
// .trigger('pointerup', { force: true });
24+
//
25+
// cy.get('#connection_232').should('exist');
26+
// cy.get('#connection_113').should('exist');
27+
// });
28+
// });
29+
// })
30+
//
31+
//
32+
//

0 commit comments

Comments
 (0)