diff --git a/packages/devextreme/testing/tests/DevExpress.ui.widgets.editors/lookup.tests.js b/packages/devextreme/testing/tests/DevExpress.ui.widgets.editors/lookup.tests.js index cf50c460288b..6caa6da52eca 100644 --- a/packages/devextreme/testing/tests/DevExpress.ui.widgets.editors/lookup.tests.js +++ b/packages/devextreme/testing/tests/DevExpress.ui.widgets.editors/lookup.tests.js @@ -2202,8 +2202,9 @@ QUnit.module('popup options', { openPopupWithList(instance); - const $overlay = $(`.${OVERLAY_CLASS}.${POPUP_CLASS}`); - const popup = usePopover ? PopoverFull.getInstance($overlay) : PopupFull.getInstance($overlay); + const $popup = $(`.${POPUP_CLASS}`); + const popup = usePopover ? PopoverFull.getInstance($popup) : PopupFull.getInstance($popup); + const { _loopFocus } = popup.option(); assert.strictEqual(_loopFocus, !usePopover, '_loopFocus is correct');