diff --git a/projects/igniteui-angular/src/lib/grids/grid/grid-row-selection.spec.ts b/projects/igniteui-angular/src/lib/grids/grid/grid-row-selection.spec.ts index 759d6815295..23fd3886304 100644 --- a/projects/igniteui-angular/src/lib/grids/grid/grid-row-selection.spec.ts +++ b/projects/igniteui-angular/src/lib/grids/grid/grid-row-selection.spec.ts @@ -1929,7 +1929,11 @@ describe('IgxGrid - Row Selection #grid', () => { }); fit('Should have correct indices on all pages', () => { - // TODO + grid.nextPage(); + fix.detectChanges(); + + const firstRootRow = grid.getRowByIndex(0); + expect(firstRootRow.nativeElement.querySelector('.rowNumber').textContent).toEqual('15'); }); }); }); diff --git a/projects/igniteui-angular/src/lib/test-utils/grid-samples.spec.ts b/projects/igniteui-angular/src/lib/test-utils/grid-samples.spec.ts index bb8e21bcd6a..f1243377abb 100644 --- a/projects/igniteui-angular/src/lib/test-utils/grid-samples.spec.ts +++ b/projects/igniteui-angular/src/lib/test-utils/grid-samples.spec.ts @@ -1172,13 +1172,14 @@ export class DynamicColumnsComponent extends GridWithSizeComponent { @Component({ template: ` - + + {{ rowContext.index }}