Skip to content

Commit

Permalink
fix candidate
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Bulychev committed Nov 21, 2023
1 parent 30aa4b2 commit 1329e75
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5909,7 +5909,7 @@ QUnit.module('focus policy', {
assert.strictEqual(focusStub.callCount, 1, 'FocusIn event has not been triggered');
assert.strictEqual(blurStub.callCount, 0, 'FocusOut event has not been triggered');

actionButton.focus();
$(actionButton).trigger('click');
assert.strictEqual(focusStub.callCount, 1, 'new FocusIn event has not been triggered');
assert.strictEqual(blurStub.callCount, 0, 'FocusOut event has not been triggered');
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ QUnit.module('general', {}, () => {
assert.strictEqual(focusStub.callCount, 1, 'FocusIn event has been triggered');
assert.strictEqual(blurStub.callCount, 0, 'FocusOut event has not been triggered');

actionButton.focus();
$(actionButton).trigger('click');
assert.ok($textEditor.hasClass('dx-state-focused'), 'input is still focused');
assert.strictEqual(focusStub.callCount, 1, 'new FocusIn event has not been triggered');
assert.strictEqual(blurStub.callCount, 0, 'FocusOut event has not been triggered');
Expand Down

0 comments on commit 1329e75

Please sign in to comment.