feat(onElementClick): always allow onElementClick to run

This commit is contained in:
Nate Amack
2020-08-18 10:59:22 -06:00
parent 81eb7fa695
commit 34473166cb
3 changed files with 9 additions and 11 deletions
+2 -2
View File
@@ -12,12 +12,12 @@ describe('Interaction Flow Rendering', () => {
it('tries to select a node by click', () => {
const pointerEvents = Cypress.$('.react-flow__node:first').css('pointer-events');
expect(pointerEvents).to.equal('none');
expect(pointerEvents).to.equal('all');
});
it('tries to select an edge by click', () => {
const pointerEvents = Cypress.$('.react-flow__edge:first').css('pointer-events');
expect(pointerEvents).to.equal('none');
expect(pointerEvents).to.equal('all');
});
it('tries to do a selection', () => {