From 610c7348462d2a00f5d6d2a2687a4bada95114fe Mon Sep 17 00:00:00 2001 From: "anna.shakhova" Date: Thu, 12 Dec 2024 11:57:24 +0100 Subject: [PATCH] Form: test improvements (T1257945) --- .../js/__internal/ui/form/m_form.layout_manager.utils.ts | 2 +- .../testing/tests/DevExpress.ui.widgets.form/form.tests.js | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/devextreme/js/__internal/ui/form/m_form.layout_manager.utils.ts b/packages/devextreme/js/__internal/ui/form/m_form.layout_manager.utils.ts index b28691077274..78f497dfae08 100644 --- a/packages/devextreme/js/__internal/ui/form/m_form.layout_manager.utils.ts +++ b/packages/devextreme/js/__internal/ui/form/m_form.layout_manager.utils.ts @@ -314,7 +314,7 @@ function _convertToLabelOptions({ }, ); - const editorsRequiringIdForLabel = [ + const editorsRequiringIdForLabel: FormItemComponent[] = [ 'dxRadioGroup', 'dxCheckBox', 'dxLookup', diff --git a/packages/devextreme/testing/tests/DevExpress.ui.widgets.form/form.tests.js b/packages/devextreme/testing/tests/DevExpress.ui.widgets.form/form.tests.js index 8a7934801d17..7242846968ab 100644 --- a/packages/devextreme/testing/tests/DevExpress.ui.widgets.form/form.tests.js +++ b/packages/devextreme/testing/tests/DevExpress.ui.widgets.form/form.tests.js @@ -4614,7 +4614,6 @@ QUnit.test('form should be dirty when some editors are dirty', function(assert) pointerMock($label).click(); assert.equal(editorInstance.option('opened'), openOnFieldClick, `drop down list is hidden by ${openOnFieldClick ? 'triggered input click' : 'label click'}`); - }); });