Skip to content

Commit 92edf11

Browse files
committed
chore(treeGrid): update failing test
1 parent e6aee0d commit 92edf11

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

projects/igniteui-angular/src/lib/grids/tree-grid/tree-grid-selection.spec.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -746,10 +746,10 @@ describe('IgxTreeGrid - Selection #tGrid', () => {
746746

747747
// Clicking on the pager buttons triggers a blur event.
748748

749-
GridFunctions.navigateToNextPage(treeGridCell.nativeElement);
749+
GridFunctions.navigateToNextPage(treeGrid.nativeElement);
750750
treeGridCell.nativeElement.dispatchEvent(new Event('blur'));
751751
fix.detectChanges();
752-
GridFunctions.navigateToFirstPage(treeGridCell.nativeElement);
752+
GridFunctions.navigateToFirstPage(treeGrid.nativeElement);
753753
fix.detectChanges();
754754

755755
expect(treeGrid.selectedCells.length).toBe(0);
@@ -763,10 +763,10 @@ describe('IgxTreeGrid - Selection #tGrid', () => {
763763
expect(treeGrid.selectedCells[0] instanceof IgxTreeGridCellComponent).toBe(true);
764764
expect(TreeGridFunctions.verifyGridCellHasSelectedClass(treeGridCell)).toBe(true);
765765

766-
GridFunctions.navigateToLastPage(treeGridCell.nativeElement);
766+
GridFunctions.navigateToLastPage(treeGrid.nativeElement);
767767
treeGridCell.nativeElement.dispatchEvent(new Event('blur'));
768768
fix.detectChanges();
769-
GridFunctions.navigateToFirstPage(treeGridCell.nativeElement);
769+
GridFunctions.navigateToFirstPage(treeGrid.nativeElement);
770770
fix.detectChanges();
771771

772772
expect(treeGrid.selectedCells.length).toBe(0);

0 commit comments

Comments
 (0)