diff --git a/packages/documentation/cypress/snapshots/components/range.snapshot.ts b/packages/documentation/cypress/snapshots/components/range.snapshot.ts new file mode 100644 index 0000000000..1ad646958d --- /dev/null +++ b/packages/documentation/cypress/snapshots/components/range.snapshot.ts @@ -0,0 +1,6 @@ +describe('Range', () => { + it('default', () => { + cy.visit('./iframe.html?id=snapshots--range'); + cy.percySnapshot('Ranges', { widths: [400] }); + }); +}); diff --git a/packages/documentation/src/stories/components/range/range.snapshot.stories.ts b/packages/documentation/src/stories/components/range/range.snapshot.stories.ts new file mode 100644 index 0000000000..0714df690d --- /dev/null +++ b/packages/documentation/src/stories/components/range/range.snapshot.stories.ts @@ -0,0 +1,56 @@ +import type { Args, StoryContext, StoryObj } from '@storybook/web-components'; +import meta from './range.stories'; +import { html } from 'lit'; +import { bombArgs } from '../../../utils/bombArgs'; + +export default { + ...meta, + title: 'Snapshots', +}; + +type Story = StoryObj; + +export const Range: Story = { + render: (_args: Args, context: StoryContext) => { + return html` +