@@ -22,7 +22,7 @@ const CSS_CLASS_BANNER = 'igx-banner';
2222const CSS_CLASS_ROW_EDITED = 'igx-grid__tr--edited' ;
2323const GRID_RESIZE_CLASS = '.igx-grid-th__resize-handle' ;
2424
25- fdescribe ( 'IgxTreeGrid - Integration #tGrid' , ( ) => {
25+ describe ( 'IgxTreeGrid - Integration #tGrid' , ( ) => {
2626 let fix : ComponentFixture < any > ;
2727 let treeGrid : IgxTreeGridComponent ;
2828
@@ -129,19 +129,18 @@ fdescribe('IgxTreeGrid - Integration #tGrid', () => {
129129 treeGrid . moving = true ;
130130
131131 const header = TreeGridFunctions . getHeaderCell ( fix , 'ID' ) . nativeElement ;
132- // const header = treeGrid.headerCellList[0].nativeElement;
133132 const headerRect = header . getBoundingClientRect ( ) ;
134133 const startX = headerRect . width / 2 ;
135134 const startY = headerRect . height / 2 ;
136135
137136 UIInteractions . simulatePointerEvent ( 'pointerdown' , header , startX , startY ) ;
138- await wait ( ) ;
137+ await wait ( 50 ) ;
139138 UIInteractions . simulatePointerEvent ( 'pointermove' , header , startX + 6 , startY + 6 ) ;
140- await wait ( ) ;
139+ await wait ( 50 ) ;
141140 UIInteractions . simulatePointerEvent ( 'pointermove' , header , startX + headerRect . width , startY ) ;
142- await wait ( ) ;
141+ await wait ( 50 ) ;
143142 UIInteractions . simulatePointerEvent ( 'pointerup' , header , startX + headerRect . width , startY ) ;
144- await wait ( ) ;
143+ await wait ( 50 ) ;
145144 fix . detectChanges ( ) ;
146145
147146 TreeGridFunctions . verifyTreeColumn ( fix , 'Name' , 4 ) ;
@@ -315,18 +314,17 @@ fdescribe('IgxTreeGrid - Integration #tGrid', () => {
315314
316315 treeGrid . moving = true ;
317316
318- // const header = TreeGridFunctions.getHeaderCell(fix, 'ID').nativeElement;
319- const header = treeGrid . headerCellList [ 0 ] . nativeElement ;
317+ const header = TreeGridFunctions . getHeaderCell ( fix , 'ID' ) . nativeElement ;
320318 const headerRect = header . getBoundingClientRect ( ) ;
321319 const startX = headerRect . width / 2 ;
322320 const startY = headerRect . height / 2 ;
323321
324322 UIInteractions . simulatePointerEvent ( 'pointerdown' , header , startX , startY ) ;
325323 UIInteractions . simulatePointerEvent ( 'pointermove' , header , startX + 6 , startY + 6 ) ;
326- await wait ( ) ;
324+ await wait ( 100 ) ;
327325 UIInteractions . simulatePointerEvent ( 'pointermove' , header , startX + headerRect . width , startY ) ;
328326 UIInteractions . simulatePointerEvent ( 'pointerup' , header , startX + headerRect . width , startY ) ;
329- await wait ( ) ;
327+ await wait ( 200 ) ;
330328 fix . detectChanges ( ) ;
331329
332330 TreeGridFunctions . verifyTreeColumn ( fix , 'ParentID' , 5 ) ;
0 commit comments