: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.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
chore(tests): avoid demo generation in e2e mode access test (#122335)
Paul D'Ambra09439c88d8af
diff --git a/posthog/api/test/test_playwright_setup.py b/posthog/api/test/test_playwright_setup.pyindex 9a384eab9c7b..0fa67ca2e495 100644--- a/posthog/api/test/test_playwright_setup.py+++ b/posthog/api/test/test_playwright_setup.py@@ -130,7 +130,7 @@ class TestPlaywrightSetup(APIBaseTest):self.ensure_url_patterns_loaded()with override_settings(E2E_TESTING=True):- payload = {"organization_name": "E2E Org"}+ payload = {"organization_name": "E2E Org", "no_demo_data": True}response = self.client.post("/api/setup_test/organization_with_team/", payload, format="json")self.assertEqual(response.status_code, status.HTTP_200_OK)