Skip to content

chore(playwright): add initial playwright support #273

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

Merged
merged 2 commits into from
May 15, 2025
Merged

Conversation

qw-in
Copy link
Contributor

@qw-in qw-in commented May 14, 2025

Got partially through #252 and realized manually verifying css parity was quite annoying.

Here I've integrated playwright and written a test to do screenshot diffing on applicable routes which should be a good sanity check.

I've tried to tighten down the threshold but fonts & antialiasing mean there may need to be some tweaks.

@qw-in qw-in requested a review from a team May 14, 2025 22:47
@qw-in qw-in self-assigned this May 14, 2025
Copy link

vercel bot commented May 14, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
arcjet-js-example ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 14, 2025 11:07pm

Copy link

socket-security bot commented May 14, 2025

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Added@​playwright/​test@​1.52.010010010099100

View full report

Copy link

socket-security bot commented May 14, 2025

All alerts resolved. Learn more about Socket for GitHub.

This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.

Ignoring alerts on:

View full report

@qw-in
Copy link
Contributor Author

qw-in commented May 14, 2025

@SocketSecurity ignore npm/[email protected]
@SocketSecurity ignore npm/[email protected]

@qw-in qw-in force-pushed the quinn/playwright branch from d422162 to 9bf7cba Compare May 14, 2025 23:06
@qw-in qw-in marked this pull request as ready for review May 14, 2025 23:12
@qw-in qw-in requested a review from a team as a code owner May 14, 2025 23:12
@qw-in qw-in requested a review from a team May 14, 2025 23:12
Copy link
Contributor

@davidmytton davidmytton left a comment

Choose a reason for hiding this comment

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

Ran this inside a devcontainer locally and it all worked! Nice.

@qw-in qw-in merged commit 6683a5f into main May 15, 2025
5 checks passed
@qw-in qw-in deleted the quinn/playwright branch May 15, 2025 13:32
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.

2 participants