Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pomahtri committed Jun 17, 2024
1 parent cff8cc4 commit bb4e76f
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1066,7 +1066,7 @@ QUnit.module('Customize keyboard navigation', {
assert.equal($editor.find('.dx-texteditor-input').val(), 'D', 'input value');

// act
this.triggerKeyDown('enter');
this.triggerKeyDown('enter', false, false, $editor.find('input'));
this.clock.tick(10);

$editor = $('.dx-texteditor').eq(0);
Expand Down Expand Up @@ -1117,7 +1117,7 @@ QUnit.module('Customize keyboard navigation', {
assert.equal($editor.find('.dx-texteditor-input').val(), 'D', 'input value');

// act
this.triggerKeyDown('enter');
this.triggerKeyDown('enter', false, false, $editor.find('input'));
this.clock.tick(10);

$editor = $('.dx-texteditor').eq(0);
Expand Down Expand Up @@ -1169,7 +1169,7 @@ QUnit.module('Customize keyboard navigation', {
assert.equal($editor.find('.dx-texteditor-input').val(), 'D', 'input value');

// act
this.triggerKeyDown('enter');
this.triggerKeyDown('enter', false, false, $editor.find('input'));
this.clock.tick(10);

$editor = $('.dx-texteditor').eq(0);
Expand Down Expand Up @@ -1220,7 +1220,7 @@ QUnit.module('Customize keyboard navigation', {
assert.equal($editor.find('.dx-texteditor-input').val(), 'D', 'input value');

// act
this.triggerKeyDown('enter');
this.triggerKeyDown('enter', false, false, $editor.find('input'));
this.clock.tick(10);

$editor = $('.dx-texteditor').eq(0);
Expand Down Expand Up @@ -1272,7 +1272,7 @@ QUnit.module('Customize keyboard navigation', {
assert.equal($editor.find('.dx-texteditor-input').val(), 'D', 'input value');

// act
this.triggerKeyDown('enter');
this.triggerKeyDown('enter', false, false, $editor.find('input'));
this.clock.tick(10);

$editor = $('.dx-texteditor').eq(0);
Expand Down Expand Up @@ -2007,7 +2007,7 @@ QUnit.module('Customize keyboard navigation', {
assert.ok(this.keyboardNavigationController._isFastEditingStarted(), 'Fast editing mode');
assert.equal($input.val(), '#_1.00', 'input value');

this.triggerKeyDown('enter');
this.triggerKeyDown('enter', false, false, $input);
this.clock.tick(10);

// arrange, assert
Expand Down

0 comments on commit bb4e76f

Please sign in to comment.