0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-28 00:46:45 +01:00
Commit Graph

49 Commits

Author SHA1 Message Date
Marius Andra
8aff38ebc3
fix(toolbar): remove jsURL (#26061) 2024-11-07 15:10:27 +01:00
Zach Waterfield
74e7b3dc4b
chore: remove SUBSCRIBE_TO_ALL_PRODUCTS ff (#23418)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-07-03 15:43:33 -04:00
Zach Waterfield
c62058c33f
feat: add a portal redirect endpoint (#23375)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Eric Duong <eric@posthog.com>
Co-authored-by: Dylan Martin <dylan@posthog.com>
Co-authored-by: Sandy Spicer <sandy@posthog.com>
Co-authored-by: Robbie <robbie.coomber@gmail.com>
Co-authored-by: Xavier Vello <xavier.vello@gmail.com>
Co-authored-by: Paul D'Ambra <paul@posthog.com>
Co-authored-by: Marcus Hof <13001502+MarconLP@users.noreply.github.com>
Co-authored-by: Juraj Majerik <juro.majerik@gmail.com>
Co-authored-by: Tom Owers <tom@posthog.com>
Co-authored-by: Phani Raj <phani@posthog.com>
2024-07-02 15:25:04 -04:00
Bianca Yang
6acfaf55f5
feat: Final piece of deprecating available features, DB references (#22402)
* remove db ref

* update the migration

* remove referencess from test fixture jsons

* some more removals

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Update query snapshots

* Update query snapshots

* Update query snapshots

* Update query snapshots

* Update UI snapshots for `chromium` (1)

* Update query snapshots

* fix migration

* add reverse sql

* fix the migration

* Update UI snapshots for `chromium` (2)

* Update query snapshots

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Update query snapshots

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Update query snapshots

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Update query snapshots

* Update UI snapshots for `chromium` (2)

* Update query snapshots

* Update UI snapshots for `chromium` (2)

* Update query snapshots

* Update query snapshots

* i think i finally fixed the migration issue

* Update UI snapshots for `chromium` (2)

* Update query snapshots

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* update migration post merge

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-30 16:41:22 +00:00
Ben White
f930bf59cd
chore: Swap to just /api/billing (#22545) 2024-05-30 13:25:02 +01:00
Joe Martin
11f39694b4
chore: Remove user email opt-out from customization options (#22388) 2024-05-22 12:59:16 +02:00
Raquel Smith
b52532c567
chore: remove team collab feature (#22170)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-08 13:00:02 -07:00
Tiina Turban
a68e2b80f7
fix: connectors rename revert follow-up (#21440) 2024-04-23 14:46:42 +02:00
Tiina Turban
dc624fc0e8
revert: "chore: rename apps → connectors (#21341)" (#21418) 2024-04-09 13:55:17 +02:00
Cory Watilo
e0070de1b5
chore: rename apps → connectors (#21341)
* rename apps → connectors

* Update UI snapshots for `chromium` (1)

* 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>
2024-04-08 13:36:36 +00:00
Zach Waterfield
6762a4869c
feat: product plan support response times (#21317)
* Rename 'with subscription' to 'pay-per-use'

* Add support level to plan types

* Update UI to show the plan support level response time

* Remove support slas

* support level -> support response times

* Add support response time to mocks

* update mocks
2024-04-04 13:27:54 -04:00
Bianca Yang
d8e7d1a4a7
feat: Add Cypress Tests for Onboarding Flow (#20676)
* wip

* iteration 1

* some small fixes

* update

* Update UI snapshots for `chromium` (1)

* fix up product intro page test

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `webkit` (2)

* rebase on main, fix a type issue

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* remove console log

* remove extraneous file

* fix tests again...

* Update UI snapshots for `chromium` (2)

* more test tweaks

* Update UI snapshots for `chromium` (2)

* yet another set of fixeds

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `webkit` (2)

* one more test tweak

* fix(admin): follow up for org page performance improvements (#20912)

* feat: Add clickhouse migration to create a dictionary (#20665)

* feat: Add clickhouse migration to create a dictionary

* refactor: Use dictionary created in migration for squashing

* fix: Test file drop references to dictionary

* fix: Update comment

* chore: Master merge

* fix: Typo in dictionary

Co-authored-by: James Greenhill <fuziontech@gmail.com>

---------

Co-authored-by: James Greenhill <fuziontech@gmail.com>

* fix: picking embedding input samples (#20913)

* fix: Split healthcheck to separate nginx unit app (#20917)

Split healthcheck to separate nginx unit app

When posthog is under load the healthcheck can stop responding.
Split it off into a separate app so it has a dedicated thread to handle it

* chore: BillingProduct cleanup (#20910)

* fix: show names on frontend (#20918)

* fix(experiment): revert default goal back to Trends (#20921)

* Add missing healthcheck routes to app (#20923)

* Add missing healthcheck routes to app

* Switch healthz to _health

* chore: Add context to deployment messages (#20911)

Add context to deployment messages

Co-authored-by: xneyder <xneyder@gmail.com>

* chore(environments): Add migration to backfill projects (#20887)

* chore(environments): Add migration to backfill projects

* Fix `noop`

* Add `project_id` to plugin server test setup

* Fix `project_id`

* Also add `posthog_project` to plugin server tests

* Update `createTeam`

* Fix func tests

* refactor(style): do not use star imports for locals (#20915)

* feat(sentry): enable sampling via http header (#20916)

* fix: Add missing underscore to healthcheck routes (#20926)

Add missing underscore to healthcheck routes

* chore(deps): Update posthog-js to 1.115.0 (#20924)

* fix(toolbar): Keep flags in sync (#20927)

* fix(toolbar): Keep flags in sync

* add test

* fix: some typos in summary settings (#20925)

* fix: some typos in summary settings

* Update UI snapshots for `chromium` (2)

* don't compare instance equality you fool

* feels wrong for reset to change opt in status...

* Fix

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>

* fix: custom player inspector events should respect mini filters (#20929)

* fix: custom player inspector events should respect mini filters

* all the alls

* fix: don't show billing step on self-hosted (#20931)

don't show billing step on self-hosted

* chore: improve onboarding spacing consistency (#20838)

* Make the space between sections consistent

* add more space above team section

* Improve the topbar spacing and positioning

* Move the breadcrumbs above and center the title

* Make spacing consistent across all SDKs

* Add chain op to plans for when they aren't available

* Make sdk margin top consistent with other steps

* Update the invite onboarding step title

* Move the breadcrumbs to be left aligned

* Set top bar title to onboarding in onboarding

* Fix cypress tests

* Update cypress tests

* Remove stale snapshots

* remove billing changes

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>

* fix: flappy snapshot (#20930)

* attempt fix for flappy snapshot

* Update UI snapshots for `chromium` (2)

* fix another one

* Update UI snapshots for `chromium` (2)

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>

* fix storybook

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* fix some tests

* another round of fixes

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Thomas Obermüller <thomas.obermueller@gmail.com>
Co-authored-by: Tomás Farías Santana <tomas@tomasfarias.dev>
Co-authored-by: James Greenhill <fuziontech@gmail.com>
Co-authored-by: David Newell <d.newell1@outlook.com>
Co-authored-by: Frank Hamand <frankhamand@gmail.com>
Co-authored-by: Juraj Majerik <juro.majerik@gmail.com>
Co-authored-by: danielxnj <115043334+danielxnj@users.noreply.github.com>
Co-authored-by: xneyder <xneyder@gmail.com>
Co-authored-by: Michael Matloka <dev@twixes.com>
Co-authored-by: PostHog Bot <69588470+posthog-bot@users.noreply.github.com>
Co-authored-by: Neil Kakkar <neilkakkar@gmail.com>
Co-authored-by: Paul D'Ambra <paul@posthog.com>
Co-authored-by: Raquel Smith <raquelmsmith@users.noreply.github.com>
Co-authored-by: Zach Waterfield <zlwaterfield@gmail.com>
2024-03-18 21:19:26 -07:00
Bianca Yang
485fd52607
feat: Experiment with language on billing pages in app (#20567)
* toggle upgrade language depending on flag value

* forgot some local changes

* update credit card case language

* Update UI snapshots for `chromium` (1)

* add event to record subscription status

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* add tests

* remove length check

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `chromium` (2)

* make common button component

* some more small changes

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `webkit` (2)

* remove extraneous files

* remove optional chaining

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `webkit` (2)

* remove test...rename event

* Update UI snapshots for `chromium` (1)

* didn't save before commiting

* undo changes to billing cypress test

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* finally get cypress to work!

* small fix to test

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* remove from paygate mini

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (1)

* remove paygate test

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* remove extraneous files

* remove files!

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (1)

* update tests

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Raquel Smith <raquelmsmith@users.noreply.github.com>
2024-03-18 12:03:29 -07:00
Raquel Smith
a018d0a8a0
feat: add feature gating for teams plan (#20435) 2024-03-04 07:07:09 -08:00
Raquel Smith
bed4d790e9
feat: use billing info for PayGateMini (#20438)
* refactor PayGateMini

* cypress command for handling subscription status

* fix
2024-02-20 22:43:48 +00:00
Neil Kakkar
ca28a69bff
fix(taxonomic-filter): Make selecting between property types more sea… (#20094) 2024-02-05 15:51:55 +00:00
Juraj Majerik
ee7fa54136
chore(experiments): set up e2e test (#19916) 2024-01-25 11:19:21 +01:00
Bianca Yang
bf052e8b25
fix: fix fixture typos (#19108)
fix fixture typos

Co-authored-by: Bianca Yang <bianca@posthog.com>
2023-12-06 14:30:34 -08:00
Bianca Yang
6c0168350d
feat: Add Unsubscription Survey (#18231)
* Add unsubscription survey

* Ask users why they're unsubscribing before they submit their unsubscription request.

* update to use kea for state management, clean up some logic around finding matching surveys

* resolve typo

* pr feedback

* CTA for contacting support in survey modal
* remove getActiveMatchingSurveys call since we can directly use the surveyID.

* add storybook for billing unsubscribe survey

* add basic cypress tests for the unsubscribe survey

* adding in product type as a response to our multi-question survey

* update survey to show more information about how users might control their costs

* another round of tweaks to survey

* beef up tests

---------

Co-authored-by: Bianca Yang <bianca@posthog.com>
2023-11-02 13:34:45 -07:00
Paul D'Ambra
5da50e633a
fix: throw error so test failures are not swallowed (#17926)
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!)
2023-10-12 00:51:47 +01:00
Ben White
03093a8ad9
feat: Reworked Playlist UI with Notebook support (#17802) 2023-10-10 14:50:17 +02:00
Raquel Smith
abcfdab281
chore: swap google_login key for social_sso (#17634)
swap google_login key for social_sso
2023-09-27 13:06:51 -07:00
Michael Matloka
304e6db8a4
chore: Remove "Version" from hobby/development PostHog (#16722) 2023-08-08 14:18:45 +02:00
David Newell
410e10ed3c
feat: notebooks new line suggestions (#16737)
* single insertion suggestion

* Add tab completion function

* preview styling

* implement proper types

* Do not expose TipTap editor externally

* maintain focus after tabbing

* reference child timestamp node

* cleanup all Node type issues

* fix type missing

* add keyboard handler insertion suggestion tests

* Update UI snapshots for `chromium` (2)

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-26 18:22:53 +01:00
David Newell
c3a21ce9f3
chore: add notebook tests (#16715)
* chore: add inital notebooks tests

* match mocks

* Cleanup mocks

* remove unnecessary mocks
2023-07-21 12:46:40 +01:00
Karl-Aksel Puulmann
a62555a230
chore: rename is_event_property from property definitions API (#13838)
* Rename is_event_property API response value

* is_event_property parameter -> filter_by_event_names

* Add missing test

* Remove some illegal tests
2023-01-23 10:59:37 +02:00
Marius Andra
daf1a0b7fa
feat(toolbar): rename editor to toolbar, add toast on error (#12362)
* feat(toolbar): rename editor to toolbar, add toast on error

* add missing types

* be less noisy when expired token comes a previous page load

Co-authored-by: Michael Matloka <dev@twixes.com>
2022-11-28 22:10:00 +01:00
Tiina Turban
c6b1da5932
fix: hide initial referrer as event property (#11536) 2022-08-30 18:07:02 +02:00
Marius Andra
d86b2f153b
feat(property-filters): Feature flags in a separate tab (#10668)
* is_feature_flag for event property definitions

* feature flag separate tab

* fix test setup

* correct mock for events cypress tests

* add cypress test for feature flag tab of taxonomic filter

Co-authored-by: Paul D'Ambra <paul@posthog.com>
2022-08-09 10:30:37 +01:00
Ben White
f4e64b07a5
feat(sharing): Insight Sharing / Embedding (#10536)
* Added SharingConfiguration
* Added SharingModal for Insights
* Simplified insight permission check
* Merged sharing/exports/embed into one view
* Removed share_token usage wherever possible

Co-authored-by: Marius Andra <marius.andra@gmail.com>
Co-authored-by: benjackwhite <benjackwhite@users.noreply.github.com>
2022-06-30 11:58:58 +00:00
Ben White
57874f9db2
feat(exports): Dashboard / Insight exporting (#9830)
* Adds chromium / selenium for image exporting
* Added uploading of downloads folder to artefacts
* Adds ExportButton to generate desired asset
2022-05-27 14:31:17 +02:00
Paolo D'Amico
9496394952
Remove & clean onboarding-2822 (#8707) 2022-02-23 08:22:01 +01:00
Tim Glaser
6d13d58cd6
Revert "Adds reserved properties for filtering property definitions (second attempt) (#8349)" (#8485)
This reverts commit 3491b161ad.
2022-02-08 13:49:11 +00:00
Paul D'Ambra
3491b161ad
Adds reserved properties for filtering property definitions (second attempt) (#8349)
* Revert "Revert "Adds reserved properties for filtering property definitions (#8291)" (#8340)"

This reverts commit cb6839fe21.

* limit reserved properties to events table, include this in unit tests

* add api level tests for datetime and reserved word filtering of trends

* remove unused constant

* make the cypress test even looser

* delete file that is no longer in master

* extract a query object

* implement reserved attribute querying for date filters

* update datetime cypress test

* separate and clarify tests and ensure date queries only use reserved attributes on event filters

* delete file that isn't in master
2022-02-08 14:25:39 +01:00
Paul D'Ambra
5f7d3c566d
Deprecates property_type_format (#8292)
* remove property_type_format concept

* remove nulls from tests

* deprecate not remove (and see what tests fail)

* plugin server tests care about property_type_format

* fix tests
2022-02-01 14:08:55 +00:00
Karl-Aksel Puulmann
cb6839fe21
Revert "Adds reserved properties for filtering property definitions (#8291)" (#8340)
This reverts commit a6ff568d11.
2022-01-28 15:51:54 +02:00
Paul D'Ambra
a6ff568d11
Adds reserved properties for filtering property definitions (#8291)
* wip

* wip

* wip

* can filter events by reserved words - distinct_id, created_at, and timestamp - in the backend

* add reserved properties when showing property definitions

* capitalise name of property

* properties not reserved words

* get cypress working and make search work with reserved properties

* update event/values endpoint to use property_string_expr and so work with reserved properties

* remove created at from reserved words

* test fix

* fix test

* loosen cypress assertion

* exclude specific properties from the taxonomic property filter

* remove FE property definition fangling

* exclude $time and $timestamp property definitions from the backend

* add reserved properties in the API not the FE using a CTE

* use SQL comments in SQL strings

* remove mypy error

* fix enterprise property definitions

* fix tests and improve comment

* exclude materialised column rows with no values when getting event property definitions

* fix cypress test setup

* clean up dead code

* un-remove some not actually dead code

* correct cypress assertion

* try and fix a cypress test
2022-01-28 12:19:17 +00:00
Paul D'Ambra
1974cbb3d2
Remove hard-coded DateTime knowledge from Property Filter UI (#7892)
* wip

* display known unix timestamps as date strings in property filter select box

* show selected unix timestamp property as a datetime string in the property filter

* remove console.log

* update test to construct property definition correctly

* correct another test

* dates have different operators

* format property filter values for display in Select boxes and the PropertyValue component

* fix typescript error

* it _is_ a type, I don't need to say it is

* don't have before and after for unmatched types of operators

* separate the current applicable operators and the operator to display mapping, and add cypress tests for before and after operator visibility

* correct cypress test

* remove unused method

* remove dangling comment

* why does test fail in CI but not locally

* why does test fail in CI but not locally

* why does test fail in CI but not locally

* log values of operator options, why does this fail in CI but not locally

* why does test fail in CI but not locally

* intercept more decide calls to try and set feature flags from cypress test

* why does test fail in CI but not locally

* Remove cypress install

* add a readme for how to test feature flags so it isn't lost if there are no tests currently testing feature flags
2022-01-13 20:10:39 +00:00
Michael Matloka
ebb75bd2fa
Unify "Hogflix" casing (#7700) 2021-12-14 15:34:01 +01:00
Paolo D'Amico
87e91e1352
Remove legacy sessions (#7401)
Co-authored-by: Rick Marron <rcmarron@gmail.com>
2021-11-29 21:11:10 -08:00
Paolo D'Amico
ae6b8eef90
User V2 Part II - Frontend changes (#3866) 2021-04-08 13:40:29 -07:00
Paolo D'Amico
da61c55666
Description & tagging on dashboards (#3756) 2021-03-26 17:38:13 -07:00
Paolo D'Amico
6cc09eaef7
Support custom identifier for person name (#3581) 2021-03-23 15:40:37 -07:00
Michael Matloka
3c0737f0fd
Plugins access control (#3486)
* Add Organization.PluginsAccess

* Rename PluginsAccess to PluginsAccessLevel

* Use Organization.plugins_access_level in can_…_plugins_via_api

* Add migration for Organization.plugins_access_level

* Remove unused PLUGINS_CLOUD_WHITELISTED_ORG_IDS

* Update access.py

* Add OrganizationPluginsAccessLevel TS enum

* Fix merge

* Disable LocalPlugin UI on Cloud

* Move away from PluginAccess interface

* Extend PluginsAccessLevel range

* Refactor PluginsAccessLevel for brevity

* Remove PluginAccess interface completely

* Add plugins managed globally

* Update migration

* Show managing org name in "Managed" plugin tag

* Smoothen some rough edges

* Smoothen more edges

* Restore correct MULTI_TENANCY default

* All the edges

* Fix most existing tests

* Remove PLUGINS_*_VIA_API env var support

* Update pluginsNeedingUpdates

* Remove can_*_plugins_via_api from instance status page

* Add tests and polish permissioning

* Update migration

* Fix typing

* Make plugin drawer UI less intrusive

* Update migration

* Fix Uninstall button condition

* Use unified _preflight status endpoint instead of the custom plugins one

* Fix plugin update label condition

* Fix "Check for updates" button condition

* Explain PluginsAccessLevel choices with comments

* Hide global plugin installation option on self-hosted

* Don't actions.loadRepository() as install org

* Improve permissioning with tests

* Satisfy mypy

* Add plugins access level to admin and fix org admin

* Check plugins access level more

* Rename endWithPeriod

* Refactor FE access control checks to accessControl.ts

* Deduplicate permissioning

* Add exception message

* Align backend and frontend plugins access level helpers

* Add plugins access level helper tests

* Fix ChartFilter
2021-03-17 15:01:55 +01:00
Karl-Aksel Puulmann
b7bdad90eb
Add test for bar charts (#3474)
* 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
2021-02-26 16:50:36 +02:00
Eric Duong
66641546d7
Trend component test (#3278)
* temp changes

* more tests

* initial trend tests

* merge master

* remove creepover

* remove stubs

* remove unnecessary check

* remove flaky test

* change fixture

* remove console

* focus tests

* update names

* make test more specific

* remove unecessary check

* fix insights file

* checkout insight file
2021-02-17 13:50:41 +02:00
Karl-Aksel Puulmann
c6d00fc3ee
Allow viewing sessions/recordings on persons page (#3302)
* Add spec for being able to reach session recording to sessions page

* Add basic Person page component test

* Fix viewing session recorings on person page

I broke this in a recent PR by narrowing the URLs down too much to fix
another bug (logics clashing).

* Persons tests pass again
2021-02-11 21:14:28 +02:00
Eric Duong
1dac0ad699
Persons component test (#3266)
* 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 devdependency

* add scaffold

* person test

* fix type

* fix check

* inline fixture

Co-authored-by: Karl-Aksel Puulmann <oxymaccy@gmail.com>
2021-02-10 08:25:17 +02:00
Karl-Aksel Puulmann
30b6692920
React component tests with cypress (#3233)
* 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
2021-02-09 17:28:01 +02:00