0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-30 19:41:46 +01:00
posthog/cypress
Marius Andra a9fae11074
App context + persist feature flags + joy (#4652)
* preload user via django

* create django app context

* persist feature flags in localStorage

* add preflight into app context

* return undefined if no context

* keep user as `null`, it'll be overriden before anything renders anyway via `afterMount`

* remove broken and unused user code

* call `registerInstrumentationProps` when preloading `preflight`

* for cypress premium tests: add a search param to opt-out of using the preloaded context, so we could intercept the users api call
2021-06-09 11:08:49 +02:00
..
fixtures Rename is_ee_enabled to is_clickhouse_enabled (#4216) 2021-05-13 16:56:54 +02:00
integration Frontend Models (persistent logic) (#4627) 2021-06-08 15:16:10 +02:00
plugins Add test for bar charts (#3474) 2021-02-26 16:50:36 +02:00
support App context + persist feature flags + joy (#4652) 2021-06-09 11:08:49 +02:00
wait.py