From c07517c642d055ddcbe13178a637910d3eafe90f Mon Sep 17 00:00:00 2001 From: Alan Sangma Date: Fri, 10 Nov 2023 18:32:33 -0800 Subject: [PATCH] test(panel, flowitem): add screenshot tests for overflow (#8028) --- .../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`