From dfbacbd2aa478258d57c5229411fccba0d67e7ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?marker=20dao=20=C2=AE?= Date: Wed, 9 Oct 2024 12:39:57 +0200 Subject: [PATCH] refactor(lookup): Remove extra class --- .../tests/DevExpress.ui.widgets.editors/lookup.tests.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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');