From d5ccafa45b45ce36d1bf2012d99f03a372425f29 Mon Sep 17 00:00:00 2001 From: Anton Sermyazhko Date: Wed, 5 Feb 2020 18:05:26 +0300 Subject: [PATCH] Fix treeList tests --- testing/tests/DevExpress.ui.widgets.treeList/treeList.tests.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/testing/tests/DevExpress.ui.widgets.treeList/treeList.tests.js b/testing/tests/DevExpress.ui.widgets.treeList/treeList.tests.js index d636d014f085..8a24f121e856 100644 --- a/testing/tests/DevExpress.ui.widgets.treeList/treeList.tests.js +++ b/testing/tests/DevExpress.ui.widgets.treeList/treeList.tests.js @@ -23,6 +23,7 @@ import { TreeListWrapper } from '../../helpers/wrappers/dataGridWrappers.js'; import ArrayStore from 'data/array_store'; import TreeList from 'ui/tree_list/ui.tree_list'; import pointerMock from '../../helpers/pointerMock.js'; +import { CLICK_EVENT } from '../../helpers/grid/keyboardNavigationHelper.js'; fx.off = true; @@ -1336,7 +1337,7 @@ QUnit.test('TreeList should focus only one focused row (T827201)', function(asse this.clock.tick(); // act - $(treeList.getCellElement(4, 1)).trigger(pointerEvents.up); + $(treeList.getCellElement(4, 1)).trigger(CLICK_EVENT); this.clock.tick(); // assert