Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(cleanup): remove legacy visual regression tests #19527

Merged
merged 6 commits into from
Jan 9, 2024

Conversation

thmsobrmlr
Copy link
Contributor

@thmsobrmlr thmsobrmlr commented Dec 27, 2023

Problem

We have two separate ways to run visual regression tests: (a) Page objects that we customize manually (b) Screenshots of storybook while using storybook features to achieve the desired UI state. We've pretty much chosen approach 2 so far an. Let's revisit page objects and Playwright once we look into e2e tests again.

Changes

This PR removes legacy tests, since we are hardly using them any more & this simplifies our setup.

How did you test this code?

CI run

@thmsobrmlr thmsobrmlr force-pushed the remove-main-app-content branch from 4df2973 to 9bf54ca Compare December 27, 2023 16:23
@thmsobrmlr thmsobrmlr marked this pull request as ready for review December 28, 2023 09:36
@thmsobrmlr thmsobrmlr requested a review from Twixes December 28, 2023 10:24
@thmsobrmlr thmsobrmlr force-pushed the remove-main-app-content branch from 9bf54ca to 254db22 Compare December 28, 2023 11:01
Base automatically changed from remove-main-app-content to master December 28, 2023 11:21
@posthog-bot
Copy link
Contributor

This PR hasn't seen activity in a week! Should it be merged, closed, or further worked on? If you want to keep it open, post a comment or remove the stale label – otherwise this will be closed in another week.

Copy link
Member

@Twixes Twixes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While I think there's a bit of value to these tests, I agree they're very crufty, so alright – let's get rid of them

package.json Outdated Show resolved Hide resolved
@posthog-bot posthog-bot removed the stale label Jan 8, 2024
# Conflicts:
#	playwright/e2e-vrt/lemon-ui/LemonButton.spec.ts-snapshots/Lemon-Button-displays-disabled-reason-correctly-1-chromium-linux.png
@thmsobrmlr thmsobrmlr enabled auto-merge (squash) January 9, 2024 14:45
@thmsobrmlr thmsobrmlr merged commit fec25c9 into master Jan 9, 2024
99 of 100 checks passed
@thmsobrmlr thmsobrmlr deleted the remove-legacy-vrt branch January 9, 2024 15:00
jacobwgillespie pushed a commit to jacobwgillespie/posthog that referenced this pull request Jan 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants