0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-28 18:26:15 +01:00
posthog/cypress
Michael Matloka b1f304754f
Redesigned person & group pages (#7988)
* Implement new person page layout

* Simplify default 404 page similar to person 404

* Set page headings to weight 600 instead of 700 to align with design

* Fix style of person loading state and page title

* Don't use deprecated `substr`

* Rework `LemonRow` compact mode

* Rework group page too

* Update group 404 message

* Fix `personsLogic`

* Add comment

* Fix type name conflict

* Update Person.cy-spec.js

* Update person.js

* Update Person.cy-spec.js

* Fix display of extra person IDs

* Update Person.cy-spec.js

* Improve property key/value sizing

* Update person.js

* Optimize personsLogic's urlToAction

* Put property deletion button in its own rightmost column

* Add `SessionRecordingsTable` empty state

* Use `IconDeleteForever` instead of `IconClose` for deletion

* Update person.js

* Fix sync of person and cohorts

* Fix "Should merge person"
2022-01-18 21:24:19 +01:00
..
fixtures Yeetcode (#7830) 2022-01-18 14:32:28 -05:00
integration Redesigned person & group pages (#7988) 2022-01-18 21:24:19 +01:00
plugins
support E2E don't login before each test (#8111) 2022-01-18 16:16:44 +01:00
README.md
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(/.*\/decide\/.*/, (req) =>
      req.reply(
          decideResponse({
                '6619-query-events-by-date': true,
          })
      )
  )