Skip to content

Commit c3150ed

Browse files
committed
test(grid): fix pinning test #8119
1 parent dcb7ac1 commit c3150ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ describe('IgxGrid - Column Pinning #grid', () => {
202202

203203
// First three headers are pinned
204204
const secondColumnGroupHeader = GridFunctions.getColumnHeaders(fix)[2];
205-
expect(secondColumnGroupHeader.componentInstance.zIndex).toEqual(9997);
205+
expect(secondColumnGroupHeader.parent.componentInstance.zIndex).toEqual(9997);
206206
});
207207

208208
it('should not pin/unpin columns which are already pinned/unpinned', () => {

0 commit comments

Comments
 (0)