Skip to content

Commit 75095d0

Browse files
committed
fix(*): fixing more tests
1 parent f10c380 commit 75095d0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

projects/igniteui-angular/src/lib/combo/combo.component.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1055,7 +1055,7 @@ describe('igxCombo', () => {
10551055
expect(input.nativeElement.getAttribute('aria-controls')).toEqual(combo.dropdown.listId);
10561056
expect(input.nativeElement.getAttribute('aria-labelledby')).toEqual(combo.placeholder);
10571057

1058-
const dropdown = fixture.debugElement.query(By.css(`.${CSS_CLASS_COMBO_DROPDOWN}`));
1058+
const dropdown = fixture.debugElement.query(By.css(`div[role="listbox"]`));
10591059
expect(dropdown.nativeElement.getAttribute('aria-labelledby')).toEqual(combo.placeholder);
10601060

10611061
combo.open();

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -979,7 +979,7 @@ describe('IgxPivotGrid #pivotGrid', () => {
979979

980980
const chips = excelMenu.querySelectorAll('igx-chip');
981981
expect(chips[0].id).toBe('SellerName');
982-
expect(chips[0].attributes.getNamedItem('aria-selected').nodeValue).toEqual('aria-selected');
982+
expect(chips[0].attributes.getNamedItem('aria-selected').nodeValue).toEqual('true');
983983
expect(chips[1].id).toBe('ProductCategory');
984984
expect(chips[1].attributes.getNamedItem('aria-selected')).toEqual(null);
985985

0 commit comments

Comments
 (0)