Skip to content

Latest commit

 

History

History
 
 

playwright

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Visual Snapshots with Playwright

This package demonstrates how you can quickly automate visual snapshots with Ladle and Playwright to cover all your stories.

Read the post for more information. (The actual source code here a slightly different since it has a double purpose as an e2e test.)

Run it

Clone this repo, navigate to this folder and run:

pnpm install
pnpm build #build ladle
pnpm test #run tests
pnpm test:update #update snapshots if there are changes