Skip to content

Commit f9f1d02

Browse files
committed
test(MRL): Fix failing keyboard navigation test for MRL in Ivy. #6691
1 parent d4e3061 commit f9f1d02

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

projects/igniteui-angular/src/lib/grids/grid/grid-mrl-keyboard-nav.spec.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1284,8 +1284,9 @@ describe('IgxGrid Multi Row Layout - Keyboard navigation #grid', () => {
12841284
{ field: 'ID', rowStart: 1, colStart: 1, rowEnd: 4 }
12851285
]
12861286
}];
1287+
fix.detectChanges();
1288+
12871289
const grid = fix.componentInstance.grid;
1288-
grid.height = '400px';
12891290
setupGridScrollDetection(fix, grid);
12901291
fix.detectChanges();
12911292

@@ -3119,7 +3120,7 @@ describe('IgxGrid Multi Row Layout - Keyboard navigation #grid', () => {
31193120

31203121
@Component({
31213122
template: `
3122-
<igx-grid #grid [data]="data" height="500px" (onSelection)="cellSelected($event)">
3123+
<igx-grid #grid [data]="data" [height]="'500px'" (onSelection)="cellSelected($event)">
31233124
<igx-column-layout *ngFor='let group of colGroups' [hidden]='group.hidden' [pinned]='group.pinned' [field]='group.group'>
31243125
<igx-column *ngFor='let col of group.columns'
31253126
[rowStart]="col.rowStart" [colStart]="col.colStart" [width]='col.width'

0 commit comments

Comments
 (0)