0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-25 11:17:50 +01:00
Commit Graph

6 Commits

Author SHA1 Message Date
Thomas Obermüller
0b25f54e86
test(storybook): add more insight card examples (#15906)
* add global withFeatureFlags story decorator

* add more examples for insight cards

* Update UI snapshots for `chromium` (2)

* use cached results for all dashboard placements

* Update UI snapshots for `chromium` (2)

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-08 21:02:46 +00:00
Michael Matloka
b44dd02b8a
style(3000): Refine sidebar style (#15179)
* style(3000): Refine sidebar style

* Remove extraneous class

* Use slightly darker `border-3000-light`

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (1)

* Improve sidebar scrolling experience

* Fix logo colors in dark mode

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `webkit` (2)

* Make border color translucent

* Update UI snapshots for `chromium` (1)

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-24 15:09:15 +02:00
Michael Matloka
666766429c
test(frontend): Eliminate flakiness of snapshots with charts (#14590)
* Retry pixel data check approach to canvas snapshots

* Increase canvas timeout

* Always make canvases blank

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (1)

* Update snapshots but only clear canvas explicitly

* Update UI snapshots for `chromium` (1)

* Revert "feat(dev): warn about recursive data structures in kea actions (#14573)"

This reverts commit 77d5cf7b08.

* Update UI snapshots

* Increase memory limit

* Don't wait between clearing canvases and taking snapshot

* Update UI snapshots for `chromium` (1)

* Try an in-app approach to chart blanking

* Update UI snapshots for `firefox` (2)

* 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>
2023-03-08 18:06:32 +01:00
Michael Matloka
406b6d9357
test(frontend): Cover practically all the Storybook tests with snapshots (#14001) 2023-02-03 13:06:21 +01:00
Michael Matloka
adacf8ffb4
test(frontend): Automatically test Storybook stories with snapshots (#13839) 2023-01-27 15:51:35 +01:00
Thomas Obermüller
ad1303a0fb
test(e2e-vrt): add playwright visual regression testing for storybook (#13065) 2022-12-07 11:40:56 +01:00