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

feat(tests): Implement tests with Playwright #90

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

infinia-yzl
Copy link
Owner

@infinia-yzl infinia-yzl commented Aug 24, 2024

Fixes: #89

Description

This sets the baseline for Playwright tests and covers primary use-cases.

Added a step to upload snapshots on failure. This solves:

  1. If new changes require snapshot updates and the user's device isn't on Linux. Even if running on Linux, Vercel's preview site shows the Vercel toolbar that doesn't show locally.
  2. Visual regressions debugging.

Therefore, visual changes requires the dev to download the snapshots from the CI artifacts and commit them as part of the changes.

Copy link

vercel bot commented Aug 24, 2024

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

Name Status Preview Comments Updated (UTC)
opentierboy ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 24, 2024 1:53pm

- Add About test
- Fix About layout for small screen
- Add regression tests
- Tweak playwright.config.ts
@infinia-yzl infinia-yzl changed the title feat(tests): Implement Playwright tests feat(tests): Implement tests with Playwright Aug 24, 2024
- Tweak playwright.config.ts
- Debug snapshots
- Add step to upload snapshots on failure
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.

[FEATURE] Implement automated testing
1 participant