File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/devextreme/testing/tests/DevExpress.ui.widgets Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -225,11 +225,11 @@ module('Expanded items', {
225225 } ) ;
226226 const treeView = $treeView . dxTreeView ( 'instance' ) ;
227227 const $firstItem = $treeView . find ( `.${ TREEVIEW_ITEM_CLASS } ` ) . eq ( 0 ) ;
228- const $icon = $firstItem . parent ( ) . find ( `> .${ TREEVIEW_TOGGLE_ITEM_VISIBILITY_CLASS } ` ) ;
228+ const $icon = $firstItem . find ( `.${ TREEVIEW_TOGGLE_ITEM_VISIBILITY_CLASS } ` ) ;
229229
230230 $icon . trigger ( 'dxclick' ) ;
231231
232- assert . ok ( ! treeView . option ( 'items' ) [ 0 ] . expanded , 'disabled item was not expanded' ) ;
232+ assert . ok ( treeView . option ( 'items' ) [ 0 ] . expanded , 'disabled item was expanded' ) ;
233233 } ) ;
234234
235235 test ( 'disabled item with custom expander icons should expand on click' , function ( assert ) {
You can’t perform that action at this time.
0 commit comments