Skip to content

test: add visual regression tests with Argos CI#8947

Merged
slorber merged 2 commits intomainfrom
slorber/setup-argos-ci
Apr 28, 2023
Merged

test: add visual regression tests with Argos CI#8947
slorber merged 2 commits intomainfrom
slorber/setup-argos-ci

Conversation

@slorber
Copy link
Copy Markdown
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
Copy Markdown

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
Copy Markdown

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
Copy Markdown

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.

2 participants