Skip to content
This repository was archived by the owner on Aug 6, 2026. It is now read-only.

Commit f8b99b8

Browse files
authored
test(ui): exclude producer tag story from visual regression
The new Settings/ProducerTag story added 2 new visual snapshots, which fails the Visual Review check until a human approves them. It's a manual demo/record surface that doesn't need a signed baseline, so tag it "test-skip" — the Storybook test-runner skips it from snapshot capture. The story stays visible in Storybook for manual use. Generated-By: PostHog Code Task-Id: 70d325b0-91ae-442c-bbe2-63a84000bfdb
1 parent 86414be commit f8b99b8

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

packages/ui/src/features/settings/sections/NotificationsSettings.stories.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,11 @@ function ProducerTagDemo() {
6666
const meta: Meta<typeof ProducerTagDemo> = {
6767
title: "Settings/ProducerTag",
6868
component: ProducerTagDemo,
69+
// This story is a manual demo/record surface, not a visual-regression target:
70+
// its imported clip and play button don't need a signed baseline. The runner
71+
// (apps/code/.storybook/test-runner.ts) skips stories tagged "test-skip", so
72+
// it's excluded from snapshot capture and won't add unapproved VR snapshots.
73+
tags: ["test-skip"],
6974
// Match the settings dialog's content column so rows size realistically.
7075
decorators: [
7176
(Story) => (

0 commit comments

Comments
 (0)