Skip to content

Commit 7c6b274

Browse files
MKirovaMKirova
authored andcommitted
Fix test.
1 parent b4e2eac commit 7c6b274

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,8 +271,9 @@ describe('Basic IgxPivotGrid #pivotGrid', () => {
271271
});
272272

273273
it('should allow changing default aggregation via value chip drop-down.', () => {
274-
fixture.detectChanges();
275274
const pivotGrid = fixture.componentInstance.pivotGrid;
275+
pivotGrid.width = '1500px';
276+
fixture.detectChanges();
276277
const headerRow = fixture.nativeElement.querySelector('igx-pivot-header-row');
277278
const valueChip = headerRow.querySelector('igx-chip[id="UnitsSold"]');
278279
let content = valueChip.querySelector('.igx-chip__content');

0 commit comments

Comments
 (0)