We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2350b4 commit f3c219fCopy full SHA for f3c219f
src/material/chips/chip-grid.spec.ts
@@ -1003,7 +1003,9 @@ describe('MatChipGrid', () => {
1003
errorTestComponent.formControl.markAsTouched();
1004
fixture.detectChanges();
1005
1006
- expect(containerEl.querySelector('mat-error')!.getAttribute('aria-live')).toBe('polite');
+ expect(
1007
+ containerEl.querySelector('[aria-live]:has(mat-error)')!.getAttribute('aria-live'),
1008
+ ).toBe('polite');
1009
});
1010
1011
it('sets the aria-describedby on the input to reference errors when in error state', fakeAsync(() => {
0 commit comments