* Solve ospath issue
* try separate cypress cache
* Separate install
* ls
* try
* Try to put everything in same cache
* Remove cypress plugin snapshot
* fix cohorts and funnels
* fix when new steps in the url get merged with old steps from values (new steps contain actions, old events)
* set default event in funnels
Co-authored-by: Paolo D'Amico <paolodamico@users.noreply.github.com>
* remove legacy vertical tabs
* remove a bunch of more legacy code
* remove crosshair from lifecycle chart
* bring back changes from #4845
* fix trends tests
Co-authored-by: Marius Andra <marius.andra@gmail.com>
* fix multiple table bugs and standardize table overflows
* support more es2019 functions like Object.fromEntries
* simplify getting active breakout value
* unset maxWidth for resizable cols by default
* fix feature flag key cutoff and empty description bug
* ellipsify feature flag table
* labels or dates or days
* fix bugs; refactor table scroll
* fix double key and increase the width just a bit
Co-authored-by: Marius Andra <marius.andra@gmail.com>
Co-authored-by: Sam Winslow <sammywinslow@gmail.com>
* Remove commented out test
* Update VERSION
* Don't run the automerge job on forks
* Revert "Update VERSION"
This reverts commit dc37f20133.
* Change automerge condition
* Change automerge condition a bit more
* Try scrolling
* Scroll by more
* Stop GitHub complaining about no jobs ran in a workflow
* Search for a different event name
* Try a different operator
* Don't default branch push jobs on forks
* Move clicks around
Co-authored-by: PostHog Bot <hey@posthog.com>
* simplify cypress nav menu clicks
* clean unused annotations code
* don't blank all cohorts when deleting one
* add data-test-filters-loading to better target loading indicators in tests
* move event and property definitions to models, refactor models to import via component if user present
* rename Logic to Model
* add personPropertiesModel
* refactor sessionFilters to use personPropertiesModel
* remove personProperties from inside propertyFilterLogic and use the model
* break ternary
* fix cohort and feature flag tests (for virutalized lists)
* wip: support test_ api key
* Renamed test_environment property to
* Added Prod/Test switch to determine which environment to show data for
* moved environment toggle behind feature flag
* corrected key name to standard $ names
* Moved hidden filters to PropertyKeyInfo for improved clarity
* fix typing
* proposed UI
* Renamed to ; Changed to a string and added environment const types: production, test; Moved into a hidden filter along with environment types for the frontend; Corrected tests to use environment constants; is no longer set by default but only when test_ is supplied in the apiKey or is manually supplied; Moved environment to navigationLogic;
* Added filter for test environments so that when it's enabled all test environments are filtered out
* Remove component if feature flag for test-environment is enabled
* adjust style of tooltip
* adjust UI based on @corywatilo's input
* implemented toggle functionality
* Made Environments an enum for clarity
* Moved environment constants to constants.py for consistency
* Moved Environments into constants for consistency
* Using parameter destructuring for better syntax
* Make sure type is set as a string
* Removed test filters
* Created _clean_token to ensure test_ is removed from all the places
* Bug fixes for adding filter property so that it work properly
* Show test account filter
* ensure token isn't None so that mypy checks pass
* Corrected css selector syntax
* removed quote since it's not needed
* Corrected cypress test by excluding featureFlag usage on shared dashboard scene
* Fixed test
* corrected syntax style issues
Co-authored-by: Paolo D'Amico <paolodamico@users.noreply.github.com>
Co-authored-by: Buddy Williams <buddy@Buddys-MacBook-Pro.local>
* Closes #3901 add PropertyKeyInfo to select box list
* add more event properties
* update standard events on insights dropdowns with PropertyKeyInfo
* fix borked styling
* add more events to the property key info list
* update standard events with property key info for events tables
* typescript error fixes
* resolve finicky typescript null object error
* e2e updates
* update e2e
* update e2e trends filter selector
* fix events filter bug
* update break down button event name
* e2e fix
* wrap in div and style fix
* fix person header icon
* refactor and simplify WebhookIntegration
* do not show error messages related to /billing endpoint
* fix a bunch of ts errors
* clarify anonymous users
* minor tweaks
* Replace README contents with a single link to Never Gonna Give You Up
* Assert event name
* Add some clicks
* Remove a sessions Cy test because of insufficient demo data
* Reenable Apply table filter test
* Revert "Replace README contents with a single link to Never Gonna Give You Up"
This reverts commit 1b2fe76304.
* Add test for bar charts
Since our charts are rendered on a canvas we can't really interact well
with it. Instead, we take a screenshot now (new dependency).
* Debug error in CI
* Make sure images are the same size on CI and locally
* Fix links to people from Retention modal and Funnels.
More details under issue https://github.com/PostHog/posthog/issues/3480
* Fix funnel calculations on self-hosted
Broken by renames within https://github.com/PostHog/posthog/pull/3301
* Handle cached calculations in e2e test runner
When executing e2e tests, celery tasks are evaluated immediately. Previously
due to the caching the funnels never loaded as we overwrite the results immediately.
* Add test for navigating to persons from funnels
* Test for retention visualization and person navigation
* Don't colorize sql for output
* Handle setting array props as values
* Handle arrays exact/is_not property filters
Also updates tests to use parameterization
* Avoid autoclosing PropertyFilter popup
As key changes, old one got removed from DOM
* Improve filter UX
Don't allow filter to become multi-line and keep inputs the same size.
Previous flex={1} was doing flex: 1 1 auto which was messing things up
* Fix typescript issue
* Handle array lookups in postgres
* Update types
* Fix fixture to recreate tables
* Make replace spaces logic consistent with what was there before
* Handle list filtering better in postgres
* Update frontend tests
* Handle edge case: Switching between multi operator and single operators
* WIP: get cypress something doing
* Get a test running
* Get css loading, stub posthog
* Move helpers to separate file
* Givens > given2
It plays nicer with beforeEach
* Test for session filters
* Test date navigation
* Test filtering
* Try keep old tests running
* Try get tests running under CI
* Prettify fixtures
* Cleanup, use cypress 6
* Add yarn build
* Fix e2e cypress tests
* given2 => givens
* Rename `frontend-test-runner` to `e2e-test-runner`
* Fix cypress test
* Add webpack-preprocessor as a devDependency
* Improve freezing time
* Make css inclusions automatic for component tests
* Grab all events and properties even if job hasn't run yet
* Use next on generator instead of list comprehension
* Replace IndexError with StopIteration
* Don't raise StopIteration at all
* try delay
Co-authored-by: Michael Matloka <dev@twixes.com>