Skip to content

Commit

Permalink
chore: update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
TomMenga committed Jul 8, 2024
1 parent 64c1dd8 commit fea9348
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 36 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ snapshots["sbb-step-label renders with icon DOM"] =
data-button=""
dir="ltr"
icon-name="tick-small"
id="sbb-step-label-3"
id="sbb-step-label-2"
role="tab"
slot="step-label"
tabindex="-1"
Expand Down Expand Up @@ -74,7 +74,7 @@ snapshots["sbb-step-label renders disabled DOM"] =
data-disabled=""
dir="ltr"
disabled=""
id="sbb-step-label-5"
id="sbb-step-label-4"
role="tab"
slot="step-label"
tabindex="-1"
Expand Down Expand Up @@ -130,35 +130,3 @@ snapshots["sbb-step-label A11y tree Firefox"] =
`;
/* end snapshot sbb-step-label A11y tree Firefox */

snapshots["sbb-step-label renders A11y tree Chrome"] =
`<p>
{
"role": "WebArea",
"name": "",
"children": [
{
"role": "tab",
"name": "Label"
}
]
}
</p>
`;
/* end snapshot sbb-step-label renders A11y tree Chrome */

snapshots["sbb-step-label renders A11y tree Firefox"] =
`<p>
{
"role": "document",
"name": "",
"children": [
{
"role": "tab",
"name": "Label"
}
]
}
</p>
`;
/* end snapshot sbb-step-label renders A11y tree Firefox */

4 changes: 2 additions & 2 deletions src/elements/stepper/step-label/step-label.snapshot.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ describe('sbb-step-label', () => {
it('Shadow DOM', async () => {
await expect(root).shadowDom.to.be.equalSnapshot();
});

testA11yTreeSnapshot();
});

describe('renders with icon', async () => {
Expand Down Expand Up @@ -53,4 +51,6 @@ describe('sbb-step-label', () => {
await expect(root).shadowDom.to.be.equalSnapshot();
});
});

testA11yTreeSnapshot(html`<sbb-step-label>Label</sbb-step-label>`);
});

0 comments on commit fea9348

Please sign in to comment.