mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-12 22:48:41 +00:00
Add huxley screenshot tests
Summary: Add in a testing page, which just renders the location hash in the body. Use this to make some screenshot tests in huxley. Note, these screenshots were made in Firefox on a Linux computer, so running the tests somewhere else might produce something else. Test Plan: - Serve KaTeX (`make serve`) - Run a Selenium Server (I used selenium 2.40.0) - Run `huxley` from the test/huxley/ directory - Ensure that all of the tests pass Reviewers: alpert Reviewed By: alpert Differential Revision: http://phabricator.khanacademy.org/D7258
This commit is contained in:
1
test/huxley/NestedFractions.huxley/record.json
Normal file
1
test/huxley/NestedFractions.huxley/record.json
Normal file
@@ -0,0 +1 @@
|
||||
{"py/object": "huxley.run.Test", "screen_size": {"py/tuple": [1024, 768]}, "steps": [{"py/object": "huxley.steps.ScreenshotTestStep", "index": 0, "offset_time": 0}]}
|
BIN
test/huxley/NestedFractions.huxley/screenshot0.png
Normal file
BIN
test/huxley/NestedFractions.huxley/screenshot0.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 16 KiB |
Reference in New Issue
Block a user