Skip to content

Commit e3ee79b

Browse files
committed
chore(*): update failing tests
1 parent e65507d commit e3ee79b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1249,14 +1249,15 @@ describe('IgxGrid - Filtering actions', () => {
12491249
fix.detectChanges();
12501250

12511251
const firstMonth = calendar.querySelector('.igx-calendar__month');
1252+
const firstMonthText = (firstMonth as HTMLElement).innerText;
12521253
firstMonth.dispatchEvent(new Event('click'));
12531254
tick();
12541255
fix.detectChanges();
12551256

12561257
calendar = outlet.getElementsByClassName('igx-calendar')[0];
12571258
const month = calendar.querySelector('.igx-calendar-picker__date');
12581259

1259-
expect(month.innerHTML.trim()).toEqual('Jan');
1260+
expect(month.innerHTML.trim()).toEqual(firstMonthText);
12601261
}));
12611262

12621263
it('Should correctly select year from year view datepicker/calendar component', fakeAsync(() => {

0 commit comments

Comments
 (0)