Skip to content

Commit

Permalink
test(e2e): update Banner e2e test to include new stories
Browse files Browse the repository at this point in the history
  • Loading branch information
joshblack committed Apr 19, 2024
1 parent 54a70f4 commit 167c43b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
Binary file not shown.
Binary file not shown.
16 changes: 12 additions & 4 deletions e2e/components/Banner.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,14 @@ const stories: Array<{title: string; id: string; viewports?: Array<keyof typeof
title: 'Critical',
id: 'drafts-components-banner-features--critical',
},
{
title: 'Dismiss',
id: 'drafts-components-banner-features--dismiss',
},
{
title: 'Dismiss With Actions',
id: 'drafts-components-banner-features--dismiss-with-actions',
},
{
title: 'Info',
id: 'drafts-components-banner-features--info',
Expand All @@ -30,17 +38,17 @@ const stories: Array<{title: string; id: string; viewports?: Array<keyof typeof
id: 'drafts-components-banner-features--warning',
},
{
title: 'Dismiss',
id: 'drafts-components-banner-features--dismiss',
title: 'WithActions',
id: 'drafts-components-banner-features--with-actions',
viewports: ['primer.breakpoint.xs', 'primer.breakpoint.sm'],
},
{
title: 'WithHiddenTitle',
id: 'drafts-components-banner-features--with-hidden-title',
},
{
title: 'WithActions',
id: 'drafts-components-banner-features--with-actions',
title: 'WithHiddenTitleAndActions',
id: 'drafts-components-banner-features--with-hidden-title-and-actions',
viewports: ['primer.breakpoint.xs', 'primer.breakpoint.sm'],
},
{
Expand Down

0 comments on commit 167c43b

Please sign in to comment.