export DIST=/path/to/voyager/dist/
npm test
Configuration is done by setting env vars
Dist folder of voyager to test against.
set to 1 to test against a dev build (voyager-*-dev.html
)
Configure Puppeteer locators default timeout.
Set this to a very long time together with HEADLESS=false
to debug failing tests
set to 0 to disable tests that are specific to an eCorpus environment
Rewrite snapshots as needed
if set, Write a diff file showing where the screenshot and teh stored snapshot differed
if set, write the screenshot alongside the current snapshot
A BrowserContext is created for each newPage
that is created.