mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-05 03:08:40 +00:00
Add verification mode to screenshotter
Now Travis can run the screenshotter in verification mode. The files in the repository will be seen as the expected outcome, and if the actual result differs from that, it might be attempted four more times before the test case is actually deemed failed. A timeout between page load and screenshot should allow any possible font issues to settle down.
This commit is contained in:
@@ -9,5 +9,4 @@ before_script:
|
||||
- docker pull selenium/standalone-chrome:2.46.0
|
||||
script:
|
||||
- npm test
|
||||
- dockers/Screenshotter/screenshotter.sh
|
||||
- git diff --name-only --exit-code
|
||||
- dockers/Screenshotter/screenshotter.sh --verify
|
||||
|
Reference in New Issue
Block a user