Skip to content

Commit dcb7ac1

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

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -194,8 +194,8 @@ describe('IgxGrid - Column Pinning #grid', () => {
194194
const headers = GridFunctions.getColumnHeaders(fix);
195195

196196
// First two headers are pinned
197-
expect(headers[0].componentInstance.zIndex).toEqual(9999);
198-
expect(headers[1].componentInstance.zIndex).toEqual(9998);
197+
expect(headers[0].parent.componentInstance.zIndex).toEqual(9999);
198+
expect(headers[1].parent.componentInstance.zIndex).toEqual(9998);
199199

200200
grid.pinColumn('Region');
201201
fix.detectChanges();

0 commit comments

Comments
 (0)