From 91c567f0c23188b75dafeb4cb76db6f5351b1bdb Mon Sep 17 00:00:00 2001 From: Alan Sangma Date: Fri, 17 Nov 2023 22:34:44 -0800 Subject: [PATCH] test(panel, flow-item): add screenshot tests for overflow (#8028) (#8161) **Related Issue:** #8028 ## Summary Adds screenshots for panel and flow-item. Follow-up from #8055 cc @driskull --- .../components/flow-item/flow-item.stories.ts | 26 +++++++++++++++++++ .../src/components/panel/panel.stories.ts | 24 +++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/packages/calcite-components/src/components/flow-item/flow-item.stories.ts b/packages/calcite-components/src/components/flow-item/flow-item.stories.ts index e5ceb1b83e9..8ed395722da 100644 --- a/packages/calcite-components/src/components/flow-item/flow-item.stories.ts +++ b/packages/calcite-components/src/components/flow-item/flow-item.stories.ts @@ -242,6 +242,32 @@ export const noDoubleScrollbars_TestOnly = (): string => html` `; +export const overflowContent_TestOnly = (): string => html` +
+ + + + + + + + + + + + + + + + + +
`; + export const withActionBar_TestOnly = (): string => html`
diff --git a/packages/calcite-components/src/components/panel/panel.stories.ts b/packages/calcite-components/src/components/panel/panel.stories.ts index 241cb7fc2a0..58ac6ef9868 100644 --- a/packages/calcite-components/src/components/panel/panel.stories.ts +++ b/packages/calcite-components/src/components/panel/panel.stories.ts @@ -404,6 +404,30 @@ export const flexContentWithFAB_TestOnly = (): string => html``; +export const overflowContent_TestOnly = (): string => html` +
+ + + + + + + + + + + + + + + +
`; + export const overflowContentWithFab_TestOnly = (): string => html`