From b1b047bfe43b65ec21fcae9923eee6054250b93b Mon Sep 17 00:00:00 2001 From: Tommmaso Menga Date: Wed, 11 Sep 2024 17:19:04 +0200 Subject: [PATCH] test(table): add visual spec for size 'xs' --- src/storybook/styles/table/table.visual.spec.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/storybook/styles/table/table.visual.spec.ts b/src/storybook/styles/table/table.visual.spec.ts index 2c205874e7..78b5ae610e 100644 --- a/src/storybook/styles/table/table.visual.spec.ts +++ b/src/storybook/styles/table/table.visual.spec.ts @@ -18,7 +18,7 @@ describe(`table`, () => { }; const sizeCases = { - size: ['m', 's'], + size: ['m', 's', 'xs'], }; const tableTemplate = (classInfo: ClassInfo): TemplateResult => html` @@ -78,6 +78,7 @@ describe(`table`, () => { visualDiffDefault.with(async (setup) => { await setup.withFixture( tableTemplate({ + 'sbb-table-xs': size === 'xs', 'sbb-table-s': size === 's', 'sbb-table-m': size === 'm', }),