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

test: add visual regression tests with Argos CI #8947

Merged
merged 2 commits into from
Apr 28, 2023
Merged

Conversation

slorber
Copy link
Collaborator

@slorber slorber commented Apr 28, 2023

Motivation

argos-ci.com has been useful for upgrading to MDX 2, where I used Argos through a separate repo (https://github.com/slorber/docusaurus-visual-tests)

We decided to install it on the Docusaurus repo to generalize the idea and benefit from visual regression tests on all PRs.

The current setup:

  • builds the website locally
  • takes website screenshots with Playwright for all sitemap pages
  • upload all the screenshots to the Argos SaaS

This runs on main and on PR branches and generates a visual diff to inspect on each PR

@slorber slorber added the pr: maintenance This PR does not produce any behavior differences to end users when upgrading. label Apr 28, 2023
@facebook-github-bot facebook-github-bot added the CLA Signed Signed Facebook CLA label Apr 28, 2023
@netlify
Copy link

netlify bot commented Apr 28, 2023

[V2]

Name Link
🔨 Latest commit b874493
🔍 Latest deploy log https://app.netlify.com/sites/docusaurus-2/deploys/644bcd52616ae700081685b2
😎 Deploy Preview https://deploy-preview-8947--docusaurus-2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@github-actions
Copy link

github-actions bot commented Apr 28, 2023

⚡️ Lighthouse report for the deploy preview of this PR

URL Performance Accessibility Best Practices SEO PWA Report
/ 🟠 85 🟢 97 🟢 92 🟢 100 🟠 89 Report
/docs/installation 🟠 75 🟢 100 🟢 92 🟢 100 🟠 89 Report

@github-actions
Copy link

Size Change: 0 B

Total Size: 1.01 MB

ℹ️ View Unchanged
Filename Size
website/.docusaurus/globalData.json 101 kB
website/build/assets/css/styles.********.css 113 kB
website/build/assets/js/main.********.js 752 kB
website/build/index.html 41.3 kB

compressed-size-action

@slorber slorber merged commit 44b5b06 into main Apr 28, 2023
@slorber slorber deleted the slorber/setup-argos-ci branch April 28, 2023 14:04
This was referenced Oct 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Signed Facebook CLA pr: maintenance This PR does not produce any behavior differences to end users when upgrading.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants