Skip to content

Commit 94ec8b8

Browse files
committed
test(grid-validation): fix failing test
1 parent 5211828 commit 94ec8b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ describe('IgxGrid - Validation #grid', () => {
186186
cell = grid.gridAPI.get_cell_by_visible_index(1, 4);
187187
//min length should be 4
188188
GridFunctions.verifyCellValid(cell, false);
189-
const erorrMessage = cell.errorTooltip.first.elementRef.nativeElement.children[0].textContent;
189+
const erorrMessage = cell.errorTooltip.first.elementRef.nativeElement.children[1].textContent;
190190
expect(erorrMessage).toEqual(' Entry should be at least 4 character(s) long ');
191191
});
192192

0 commit comments

Comments
 (0)