diff --git a/src/components/autocomplete-grid/autocomplete-grid-option/__snapshots__/autocomplete-grid-option.spec.snap.js b/src/components/autocomplete-grid/autocomplete-grid-option/__snapshots__/autocomplete-grid-option.spec.snap.js index a71da0b9f16..86b060974f1 100644 --- a/src/components/autocomplete-grid/autocomplete-grid-option/__snapshots__/autocomplete-grid-option.spec.snap.js +++ b/src/components/autocomplete-grid/autocomplete-grid-option/__snapshots__/autocomplete-grid-option.spec.snap.js @@ -64,3 +64,35 @@ snapshots["sbb-autocomplete-grid-option default A11y tree Firefox"] = `; /* end snapshot sbb-autocomplete-grid-option default A11y tree Firefox */ +snapshots["sbb-autocomplete-grid-option A11y tree Chrome"] = +`
+ { + "role": "WebArea", + "name": "", + "children": [ + { + "role": "text", + "name": "Option 1" + } + ] +} +
+`; +/* end snapshot sbb-autocomplete-grid-option A11y tree Chrome */ + +snapshots["sbb-autocomplete-grid-option A11y tree Firefox"] = +`+ { + "role": "document", + "name": "", + "children": [ + { + "role": "text leaf", + "name": "Option 1" + } + ] +} +
+`; +/* end snapshot sbb-autocomplete-grid-option A11y tree Firefox */ + diff --git a/src/components/autocomplete-grid/autocomplete-grid-option/autocomplete-grid-option.spec.ts b/src/components/autocomplete-grid/autocomplete-grid-option/autocomplete-grid-option.spec.ts index 121bb932bf9..c29163bb1c5 100644 --- a/src/components/autocomplete-grid/autocomplete-grid-option/autocomplete-grid-option.spec.ts +++ b/src/components/autocomplete-grid/autocomplete-grid-option/autocomplete-grid-option.spec.ts @@ -33,12 +33,12 @@ describe('sbb-autocomplete-grid-option', () => { it('ShadowDom', async () => { await expect(root).shadowDom.to.be.equalSnapshot(); }); - - testA11yTreeSnapshot( - html`