0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-12-01 04:12:23 +01:00
posthog/cypress
Marius Andra 126f9ce6fb
chore(property-filters): remove "stale-events" and "unseen-event-properties" flags (#9211)
* remove "stale-events" and "unseen-event-properties"

* click "show unseen properties" link manually

* "proper" fix
2022-03-23 14:30:22 +01:00
..
fixtures refactor: Yeet PRIMARY_DB (#9017) 2022-03-21 13:15:50 +01:00
integration chore(property-filters): remove "stale-events" and "unseen-event-properties" flags (#9211) 2022-03-23 14:30:22 +01:00
plugins
support feat(storybook): cleanup volume 5 (#9078) 2022-03-17 12:02:19 +01:00
README.md Remove hard-coded DateTime knowledge from Property Filter UI (#7892) 2022-01-13 20:10:39 +00:00
wait.py Update mypy and typed-ast, fail early if db version not in range (#7599) 2021-12-10 09:29:04 +01:00

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(/.*\/decide\/.*/, (req) =>
      req.reply(
          decideResponse({
                '6619-query-events-by-date': true,
          })
      )
  )