fix: correct catalog error contrast and add catalog Storybook coverage
Quality / test (push) Canceled after 0s

This commit is contained in:
2026-09-10 07:04:40 -04:00
parent c85693c919
commit 6b528350c0
6 changed files with 83 additions and 1 deletions
+10
View File
@@ -0,0 +1,10 @@
// Forces a narrow viewport for stories that specifically exercise mobile-only
// CSS breakpoints, since @storybook/addon-viewport does not affect the
// headless iframe size that @storybook/test-runner navigates to directly.
export default {
async preVisit(page, context) {
if (context.id?.startsWith('pages-catalogpage--mobile')) {
await page.setViewportSize({ width: 375, height: 900 });
}
},
};