Skip to content

Commit e03c3a8

Browse files
nightskylarkAden-git
authored andcommitted
Fix editor tests (#855)
1 parent e5758e2 commit e03c3a8

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

testing/tests/DevExpress.ui.widgets.editors/dropDownEditor.tests.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -590,7 +590,7 @@ QUnit.module("keyboard navigation inside popup", {
590590

591591
this.$input = this.$element.find(".dx-texteditor-input");
592592

593-
var $popupWrapper = this.instance._popup._wrapper();
593+
var $popupWrapper = $(this.instance._popup._wrapper());
594594
this.$doneButton = $popupWrapper.find(".dx-popup-done.dx-button");
595595
this.$cancelButton = $popupWrapper.find(".dx-popup-cancel.dx-button");
596596

@@ -601,7 +601,7 @@ QUnit.module("keyboard navigation inside popup", {
601601
eventConfig.shiftKey = shiftKey;
602602
}
603603

604-
$element
604+
$($element)
605605
.focus()
606606
.trigger($.Event("keydown", eventConfig));
607607
};

testing/tests/DevExpress.ui.widgets.editors/tagBox.tests.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1683,7 +1683,7 @@ QUnit.testInActiveWindow("the input should be focused on the 'shift+tab' key pre
16831683
opened: true
16841684
});
16851685

1686-
var $selectAllCheckbox = this.instance._popup._wrapper().find(".dx-list-select-all-checkbox");
1686+
var $selectAllCheckbox = $(this.instance._popup._wrapper()).find(".dx-list-select-all-checkbox");
16871687

16881688
$selectAllCheckbox
16891689
.focus()
@@ -1707,7 +1707,7 @@ QUnit.testInActiveWindow("popup should be closed on the 'esc' key press if the s
17071707
opened: true
17081708
});
17091709

1710-
var $selectAllCheckbox = this.instance._popup._wrapper().find(".dx-list-select-all-checkbox");
1710+
var $selectAllCheckbox = $(this.instance._popup._wrapper()).find(".dx-list-select-all-checkbox");
17111711

17121712
$selectAllCheckbox
17131713
.focus()

0 commit comments

Comments
 (0)