docusaurus/argos
Greg Bergé 2bb4fd0a65
chore(ci): use new Argos playwright integration (#9419)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2023-10-20 17:03:37 +02:00
..
tests chore: remove useless Argos screenshot css (#9273) 2023-08-31 13:56:07 +02:00
.gitignore test: add visual regression tests with Argos CI (#8947) 2023-04-28 16:04:22 +02:00
package.json chore(ci): use new Argos playwright integration (#9419) 2023-10-20 17:03:37 +02:00
playwright.config.ts chore(ci): use new Argos playwright integration (#9419) 2023-10-20 17:03:37 +02:00
README.md test: add visual regression tests with Argos CI (#8947) 2023-04-28 16:04:22 +02:00

Argos visual regression tests

We use Argos CI to detect visual regressions on Docusaurus.

This workspace can be run manually, but is generally run through the Argos GitHub Action.

The workflow execute those following steps:

  • Build the website locally with yarn build:website:fast
  • Start the website server with yarn serve:website on http://localhost:3000
  • Take screenshots of all pages found in sitemap.xml with Playwright
  • Upload all screenshots to Argos CI

This workflow runs for main and PR branches, and add a commit status to each PR with a visual diff that we can easily inspect.


Some additional capabilities: