Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

fix(storybook): replace @testing-library/react import with @testing-library/dom (#59496)

mendral-app[bot]696063267b85
diff --git a/frontend/snapshots.yml b/frontend/snapshots.yml
index 85f54d7f6b39..1be3ff3ed6fb 100644
--- a/frontend/snapshots.yml
+++ b/frontend/snapshots.yml
@@ -513,17 +513,17 @@ snapshots:
components-hogcharts-linechart--error-boundary--light:
hash: v1.k794b7964.71c1966fb319e455c7d712cd4a480e99ea73e66b04d72d4d1fe4222b058a5a3e.A2RMx3ED_wk_NM0l603i9XWa8hTv5r9JQgHOT5M7L9U
components-hogcharts-linechart--hovering-interior--dark:
- hash: v1.k794b7964.1ac82720ff22a7740a73a28b585019501455d93775554575d4ec1868356208bc.HWMaktyFrJBRz0n0JWlcymcOREoUgMtbrwziV_eVxcE
+ hash: v1.k794b7964.ef98fd77573e2acaf7bf7bfca859813671b738d8ee2877cc5e55e2b34535cf55.aR1BfOgHFXK08TIMw7PMiiz6Ameaz8lRvAjeXo070_Q
components-hogcharts-linechart--hovering-interior--light:
hash: v1.k794b7964.a5de82ff7b46d82c52fc0d8ce4b4aba505884feadbc44c02bf216186ce1c8edd.wryTORlIhCWy9Ysreyx0oBnf_PwqdA3XUDWpiwx0uTQ
components-hogcharts-linechart--hovering-multi-series--dark:
- hash: v1.k794b7964.11d54b94370b999de8977132e50b4922f7edb9a87fdba8c42db0f7a58e48d095.L6hlWxJuv0iwtqypuSwtCnVO0h3rBreA-khfP5Qjko0
+ hash: v1.k794b7964.799f9aa75bc48ce4a6cdc0dcf5416758391d7d0fed8b513d24a9c18ba7331ff7.7okiBWGhBRr8A5BpL0tlt7086bDKl_B2TE6FH-E3TeQ
components-hogcharts-linechart--hovering-multi-series--light:
- hash: v1.k794b7964.70f132cdf8f58bbf43c6106ac793ac4f501afe8a94c7ed14346a8976aabe6e6d.6AF-ONm6_CqLz9nn5YutOAKlPcDXTpp26xS4OCT0n0A
+ hash: v1.k794b7964.0637d025985bb2187effa8e57f784f942e86de9e1c594c7e59fb49d1a4648de7.DWD4y-zS9gEy-6Ai7pcbenHlY87rjq-wBkYqdeKwNGo
components-hogcharts-linechart--hovering-over-aux-series--dark:
- hash: v1.k794b7964.d6ffc9d394d108971972f738635489d1cb489f3c387cf020bf4a344b1ff1b5db.1yZXwFuGm4Irs8WBI8X7xiHIcekjqhBH6CStMPd2LJ0
+ hash: v1.k794b7964.6b522e2b58799b5e9dbb17bee0e99b42c2ffc788c88cabe8f44e68ef82388086.7qlPt0jhAFGfLQ1whJLLTmgeJu1SIWk5rh7RVuUnJio
components-hogcharts-linechart--hovering-over-aux-series--light:
- hash: v1.k794b7964.26041628ac0d2ad10d7c6766f892dc690682b9769961f3ca2bea359e1282f6c4.0jSpO7C8YFuz2uqw1vmYwAOPgWjEBRqlDRHGAO1iFnI
+ hash: v1.k794b7964.3c2769b13db2f7447396f79660f704885e2e378a3cfd5968d61e6c72703a2f18.MjtcmlOjrin3pCpNGPJ7awvzw0FGv1x3qF3MkRPA0-Y
components-hogcharts-linechart--in-progress-tail--dark:
hash: v1.k794b7964.c1f47391f93db83d4d9943cc8dec3bd9fcbbe8084ca3df54a1a74ebdf5afc656.q1YrKA5xq1YQMAYEh27agv4WfGjiWgVU5KaPC5LOLIM
components-hogcharts-linechart--in-progress-tail--light:
diff --git a/frontend/src/lib/hog-charts/story-helpers.tsx b/frontend/src/lib/hog-charts/story-helpers.tsx
index e3537edb3f0a..ddd1a54d0487 100644
--- a/frontend/src/lib/hog-charts/story-helpers.tsx
+++ b/frontend/src/lib/hog-charts/story-helpers.tsx
@@ -1,4 +1,4 @@
-import { fireEvent, waitFor } from '@testing-library/react'
+import { fireEvent, waitFor } from '@testing-library/dom'
import { useEffect, useState } from 'react'
import type { ChartTheme } from './core/types'