Sometimes you need to throw another tool at the job to test for accessibility, and Puppeteer might be that tool. Puppeteer is a Node.js test API for Headless Chrome with some pretty great features. It might be worth considering when other frameworks let you down for things like accessibility tree snapshots or pesky browser-DOM quirks.
To start Puppeteer via Jest-Puppeteer, run this command:
yarn test:puppeteer
You can also run the tests in watch mode:
yarn test:puppeteer --watch
To update a Puppeteer snapshot in watch mode, press:
u