Skip to content

Commit 9115b7d

Browse files
committed
test(pivot): Update pivot state tests
1 parent 6332f07 commit 9115b7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/igniteui-angular/src/lib/grids/state.pivotgrid.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ describe('IgxPivotGridState #pivotGrid :', () => {
228228
pivotGrid.rowSelection = 'single';
229229
const state = fixture.componentInstance.state;
230230
expect(state).toBeDefined('IgxGridState directive is initialized');
231-
const headerRow = fixture.nativeElement.querySelector('igx-pivot-row-dimension-content');
231+
const headerRow = fixture.nativeElement.querySelectorAll('igx-pivot-row-dimension-content')[2];
232232
const header = headerRow.querySelector('igx-pivot-row-dimension-header');
233233
header.click();
234234
fixture.detectChanges();

0 commit comments

Comments
 (0)