Skip to content

Commit

Permalink
Add Button component snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
ReihaneB committed Feb 25, 2024
1 parent 86b5af6 commit 0c652b9
Showing 1 changed file with 92 additions and 0 deletions.
92 changes: 92 additions & 0 deletions src/components/Button/__snapshots__/Button.stories.tsx.snap
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`Components/Button AutoFocus play-test 1`] = `
<main class="inter-normal">
<button type="button"
data-testid="button-component"
>
Click me
</button>
</main>
`;

exports[`Components/Button ClickMultipleTimes play-test 1`] = `
<main class="inter-normal">
<button type="button"
data-testid="button-component"
>
Click me
</button>
</main>
`;

exports[`Components/Button DisableDebounce play-test 1`] = `
<main class="inter-normal">
<button type="button"
data-testid="button-component"
>
Click me
</button>
</main>
`;

exports[`Components/Button Disabled play-test 1`] = `
<main class="inter-normal">
<button type="button"
disabled
data-testid="button-component"
>
Click me
</button>
</main>
`;

exports[`Components/Button FocusOnClick play-test 1`] = `
<main class="inter-normal">
<button type="button"
data-testid="button-component"
>
Click me
</button>
</main>
`;

exports[`Components/Button FocusOnTab play-test 1`] = `
<main class="inter-normal">
<button type="button"
data-testid="button-component"
>
Click me
</button>
</main>
`;

exports[`Components/Button Playground smoke-test 1`] = `
<main class="inter-normal">
<button type="button"
data-testid="button-component"
>
Click me
</button>
</main>
`;

exports[`Components/Button PressEnter play-test 1`] = `
<main class="inter-normal">
<button type="button"
data-testid="button-component"
>
Click me
</button>
</main>
`;

exports[`Components/Button PressSpace play-test 1`] = `
<main class="inter-normal">
<button type="button"
data-testid="button-component"
>
Click me
</button>
</main>
`;

0 comments on commit 0c652b9

Please sign in to comment.