Features
Solutions
Resources
Developers
Pricing
Log inContact salesStart for free
All questions

Answers about testing

Questions and answers from the Croct community about testing.

testingab-testingstoryblokshopifynextjssanityaudienceshydrogenworkflowstrapicqlsetup
0

Keeping Playwright E2E runs from sending real Croct events and eating MAU

Our nightly Playwright suite runs about 400 tests against a staging deployment of our Next.js app. I noticed the runs show up as sessions in the Croct…

nextjs
testing
playwright
e2e
1 answer·Jan 22, 2026
0

Jest tests hang or render nothing for components that call useContent

I write tests first, so this is blocking me. I have a hero component that calls useContent('home-hero'). In Jest with jsdom, render(<Hero />) produces an…

nextjs
react
testing
jest
2 answers·Aug 6, 2025
0

Cleanest way to mock Croct hooks in Vitest so component tests stay offline

hi, trying to keep our component tests fully offline. Minimal repro: In jsdom the hook never resolves, so render(<Hero />) inside a Suspense boundary just…

react
vite
testing
vitest
2 answers·Jun 24, 2025
  • Product
  • Component CMS
  • AB testing
  • Personalization
  • Segmentation
  • User profiles
  • All features
  • Solutions
  • Customer acquisition
  • Lead generation
  • Geo-targeting
  • Revenue growth
  • Paid search traffic
  • Social ads traffic
  • Resources
  • Documentation
  • Changelog
  • Playbooks
  • Templates
  • Blog
  • Partners
  • Company
  • Service status
  • Contact support
  • Contact sales
  • Case studies
  • Privacy policy
  • Terms of service
© Croct 2026