Stencil Screenshot Comparison App
Source code to generate the webapp that compares screenshot images.
Testing in Ionic
- Run
npm i
- Run
npm build
- Copy the
www/
folder to Ionic:$ cp -r ./www ../ionic/core/node_modules/\@stencil/core/screenshot/compare/
- Run
npm run test.screenshot
inionic/core
(or if desired pass a folder usingnpm run test.screenshot --f action-sheet
)
Updating in Ionic
- Have
stencil
as a sibling repository - After running build here the files are copied over to Stencil
- Commit and push those build files
- Release a new version of Stencil for Ionic