mirror of
https://github.com/PostHog/posthog.git
synced 2024-12-01 04:12:23 +01:00
8b174819e4
* add filtering by recording * document for API docs, only show API docs for Notebooks when in debug * Update query snapshots * add not working button * wat * Update UI snapshots for `chromium` (2) * Update UI snapshots for `chromium` (2) * Update query snapshots * Update query snapshots * Update UI snapshots for `chromium` (2) * Update UI snapshots for `chromium` (2) * Update UI snapshots for `webkit` (2) * Update UI snapshots for `chromium` (2) * Update UI snapshots for `webkit` (2) * Update UI snapshots for `chromium` (2) * Update query snapshots * Update UI snapshots for `chromium` (2) * Update query snapshots * wat * Update UI snapshots for `chromium` (2) * Update UI snapshots for `chromium` (2) * Update UI snapshots for `chromium` (2) * Update query snapshots * move logic interactions closer to thome * Update query snapshots * Update query snapshots * wait for the editor before acting on it * add a method for getting an arbitrary node position * fix * Update query snapshots * Update UI snapshots for `chromium` (2) * why an array, yesterday me? * fix * contains style API filtering * without no-op clicks * fix * Update UI snapshots for `chromium` (2) * refresh notebook comment button on notebook created * inline variable * removes speculative change * move knowledge around * add timestamps to existing book in timestamp order * Fi * add a cypress test * Update UI snapshots for `chromium` (2) * somet stuff * Update query snapshots * slightly neater waiting for the editor * Update UI snapshots for `chromium` (2) * Update UI snapshots for `chromium` (2) * do we know editor is going to be present? * Update UI snapshots for `chromium` (2) * Update UI snapshots for `chromium` (2) * witha finally? * add todo * handle commenting when already in a notebook * allow in-notebook commenting to insert in timestamp order * Update UI snapshots for `chromium` (1) * Update UI snapshots for `chromium` (1) * feat: add examples and extend notebook backend filtering to be more generic (#17032) * feat: add examples and allow relatively generic notebook filtering * depluralise and absence is truthy --------- Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> |
||
---|---|---|
.. | ||
data/exports | ||
e2e | ||
fixtures | ||
productAnalytics | ||
support | ||
README.md | ||
tsconfig.json | ||
wait.py |
Testing Feature Flags
The Cypress tests run with a PostHog instance that has no feature flags set up.
To test feature flags you can intercept the call to the decide
endpoint
// sometimes the system under test calls `/decide`
// and sometimes it calls https://app.posthog.com/decide
cy.intercept('https://app.posthog.com/decide/*', (req) =>
req.reply(
decideResponse({
// add feature flags here, for e.g.
// 'feature-flag-key': true,
})
)
)