* Allow user to go to settings before a product is set up
* Add a new before onboarding login flow
* Move user-enterprise json to follow other files
* Update user-enterprise.json
* Update user-before-onboarding.json
* Update before-onboarding.cy.ts
* Update UI snapshots for `chromium` (2)
* Update UI snapshots for `chromium` (2)
* Update before-onboarding.cy.ts
* Update user-before-onboarding.json
* Change how the team settings are set
* Update before-onboarding.cy.ts
* Update e2e.ts
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* refactor and clean up old flags
* Update UI snapshots for `chromium` (2)
* Update UI snapshots for `chromium` (2)
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* feat(surveys) Add open-ended choices for multiple and single choice surveys
* Validate question choices in backend
* Update open choice behavior and appearance to reflect posthog-js
* Change multiple and single choice questions to have has_open_choice field
* Fix survey logic test
* Remove key warning
* Change has_open_choice to hasOpenChoice
* Hide Add Open-Ended Choice button behind feature flag
* Remove border from text input
* Pass frontend CI tests
So obvious in retrospect
If you listen to the Cypress fail event without re-throwing then you swallow all test failures
"fun"
When reviewing #17919 I knew the Cypress tests would have to be failing which is what prompted me to check
Introduced in bbb7ed9 (July 10th!)
Marius nerd-sniped us to try this out. Recording of Cypress runs.
Co-authored-by: Paul D'Ambra <paul@posthog.com>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* fix: use cached insight if the scene has it
* add a cypress test
* better empty checking
* Update UI snapshots for `chromium` (2)
* Update UI snapshots for `chromium` (2)
* slightly less bad
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* feat: test a11y with Cypress
* axe test more pages
* archive a11y violations on success too
* remove date from file path
* don't warn if no accessibility files to upload... they're not on all test jobs
* support switching accessibility tests to failing
* support aria label on lemon buttons
* add story book axe add-on
* Defuckulate the tests
* oops
* can't stop skipping a11y failures for home just yet
* feat: test a11y with Cypress
* axe test more pages
* archive a11y violations on success too
* remove date from file path
* don't warn if no accessibility files to upload... they're not on all test jobs
* update cypress
* really click something that's actually there
* obey cypress and use done
* run cypress 9 in CI
* no need for before each when only one test
* no need to set window size to the default
* get tests passing file by file
* delay checking for a graph in a test
* be more specific cypress
* use cy command
* select text like a human
* silly cypress
* try and avoid cypress deciding that a visible field is not valid
* select delete button correctly
* find save button differently
* try and avoid not always typing the first character
* better trends selections
* use cy command to navigate
* conitnue trying to get tests to pass in CI
* another try at setting feature flag names in CI
* can CI find undo button without a wait?
* better assertion for cypress
* up to v10
* fix splitting specs with v10 path
* show cypress how to wait for the test to finish
* remove redundant file
* change return to satisfy new cypress
* move import
* remove tests that have been off for a year
* remove component tests that are covered by main cypress tests
* remove a bunch of component based test setup and upgrade cypress
* get tests running but not all passing on Cypress 9
* don't upgrade yet
* don't upgrade yet
* fix toolbar multiple errors, rearrange mdx stories
* tweak some stories
* add "how to create stories" and "how to mock requests"
* move from __stories__ folders to just __mocks__
* how to build a form and how to use components
* how to build a scene
* fix unrenamed logic
* kea test "toNotHaveDispatchedActions"
* fix dashboard logic test
* add props and key to insight logic (has no effect)
* inform about is_sample's uniqueness
* use common InsightLogicProps
* persist state via BindLogic and shared insightProps
* persist hashParams
* remove cached Urls
* upgrade new to saved logic
* upgrade typegen
* patch metadata logic
* always show title if saved insights active
* fix negative bug
* fix interval filter
* go to view mode after saving
* full reload when going from dashboard to insight
* use clean filter
* createInsight is no longer used
* fix tests
* fix setAllFilters
* clean retention table duplicate code, fix test
* scene has its own key
* unify insightLogicProps key logic
* consolidate logic fetching
* fix test
* fix reloads
* clears the scene funnel
* move setInsight to reducer
* stronger clicks on menu items
* remove wait
* clarify testcases
* 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
* 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