Skip to content

Commit

Permalink
Drill down spec: remove enter event test, implicit behaviour on button
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianJVarley committed Nov 28, 2023
1 parent e0c71ec commit ac556c6
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions packages/dmn-js-drd/test/spec/features/drill-down/DrillDownSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -253,29 +253,6 @@ describe('features - drilldown', function() {
expect(success).to.be.false;
}
));

// FIXME:
xit('on Enter key pressed', inject(
function(eventBus, drillDown, elementRegistry) {

// given
var drillSpy = sinon.spy(drillDown, 'drillDown');

var overlayEl = queryOverlay('Decision_Table');
console.log(overlayEl.innerHTML);

// when
// press ENTER
triggerFocusIn(overlayEl);
triggerKeyEvent(overlayEl, 'keydown', 13);

// then
expect(drillSpy).to.have.been.calledOnce;

expect(drillSpy).to.have.been.calledWith(overlayEl);
}
));

});


Expand Down

0 comments on commit ac556c6

Please sign in to comment.