Skip to content

Commit 35b41e0

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

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
@@ -191,7 +191,7 @@ describe('IgxGrid - Column Pinning #grid', () => {
191191

192192
it('should correctly initialize pinned columns z-index values.', () => {
193193

194-
const headers = GridFunctions.getColumnGroupHeaders(fix);
194+
const headers = GridFunctions.getColumnHeaders(fix);
195195

196196
// First two headers are pinned
197197
expect(headers[0].componentInstance.zIndex).toEqual(9999);
@@ -201,7 +201,7 @@ describe('IgxGrid - Column Pinning #grid', () => {
201201
fix.detectChanges();
202202

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

0 commit comments

Comments
 (0)