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: added visual regression tests #77

Merged
merged 4 commits into from
Aug 23, 2024

Conversation

raphael-arce
Copy link
Contributor

@raphael-arce raphael-arce commented Dec 4, 2023

added visual regression tests with playwright for:

  • Desktop:
    • Edge
    • Chrome
    • Firefox
    • Safari
  • Mobile:
    • Chrome (Pixel 5)
    • Safari (iPhone 12)

I followed this guide: https://docusaurus.io/blog/upgrading-frontend-dependencies-with-confidence-using-visual-regression-testing#workflow-overview
I ignore the part about argos in the guide and used the built-in playwrite screenshot features instead

Copy link

vercel bot commented Dec 4, 2023

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

Name Status Preview Comments Updated (UTC)
oeffentliches-gestalten-docusaurus ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 7, 2024 4:06pm

Copy link

New dependencies detected. Learn more about Socket for GitHub ↗︎

Packages Version New capabilities Transitives Size Publisher
@playwright/test 1.40.1 eval, network, filesystem, shell, environment +2 10.1 MB dgozman-ms

package.json Outdated Show resolved Hide resolved
@raphael-arce
Copy link
Contributor Author

@ff6347 would you be so kind to review this? thx!

.github/workflows/test-and-release.yml Outdated Show resolved Hide resolved
package.json Show resolved Hide resolved
playwright.config.ts Outdated Show resolved Hide resolved
playwright.config.ts Outdated Show resolved Hide resolved
tests/utils.ts Outdated Show resolved Hide resolved
@raphael-arce raphael-arce merged commit 125edeb into main Aug 23, 2024
4 checks passed
@raphael-arce raphael-arce deleted the feat/add-playwright-visual-tests branch August 23, 2024 11:41
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