Switch from using huxley to node-huxley
Huxley had some strange problems where screenshots kept getting messed up by becoming different sizes than they were before. Node-huxley seems to have fixed this problem, so we'll try using that instead. Also, fix the sizing tests to the new syntax. Auditors: alpert
BIN
test/huxley/Baseline.hux/firefox-1.png
Normal file
After Width: | Height: | Size: 14 KiB |
5
test/huxley/Baseline.hux/record.json
Normal file
|
@ -0,0 +1,5 @@
|
|||
[
|
||||
{
|
||||
"action": "screenshot"
|
||||
}
|
||||
]
|
|
@ -1 +0,0 @@
|
|||
{"py/object": "huxley.run.Test", "screen_size": {"py/tuple": [1024, 768]}, "steps": [{"py/object": "huxley.steps.ScreenshotTestStep", "index": 0, "offset_time": 0}]}
|
Before Width: | Height: | Size: 11 KiB |
BIN
test/huxley/BasicTest.hux/firefox-1.png
Normal file
After Width: | Height: | Size: 6.2 KiB |
5
test/huxley/BasicTest.hux/record.json
Normal file
|
@ -0,0 +1,5 @@
|
|||
[
|
||||
{
|
||||
"action": "screenshot"
|
||||
}
|
||||
]
|
|
@ -1 +0,0 @@
|
|||
{"py/object": "huxley.run.Test", "screen_size": {"py/tuple": [1024, 768]}, "steps": [{"py/object": "huxley.steps.ScreenshotTestStep", "index": 0, "offset_time": 0}]}
|
Before Width: | Height: | Size: 5.6 KiB |
BIN
test/huxley/Colors.hux/firefox-1.png
Normal file
After Width: | Height: | Size: 8.5 KiB |
5
test/huxley/Colors.hux/record.json
Normal file
|
@ -0,0 +1,5 @@
|
|||
[
|
||||
{
|
||||
"action": "screenshot"
|
||||
}
|
||||
]
|
|
@ -1 +0,0 @@
|
|||
{"py/object": "huxley.run.Test", "screen_size": {"py/tuple": [1024, 768]}, "steps": [{"py/object": "huxley.steps.ScreenshotTestStep", "index": 0, "offset_time": 0}]}
|
Before Width: | Height: | Size: 7.4 KiB |
BIN
test/huxley/Exponents.hux/firefox-1.png
Normal file
After Width: | Height: | Size: 12 KiB |
5
test/huxley/Exponents.hux/record.json
Normal file
|
@ -0,0 +1,5 @@
|
|||
[
|
||||
{
|
||||
"action": "screenshot"
|
||||
}
|
||||
]
|
|
@ -1 +0,0 @@
|
|||
{"py/object": "huxley.run.Test", "screen_size": {"py/tuple": [1024, 768]}, "steps": [{"py/object": "huxley.steps.ScreenshotTestStep", "index": 0, "offset_time": 0}]}
|
Before Width: | Height: | Size: 9.6 KiB |
BIN
test/huxley/FractionTest.hux/firefox-1.png
Normal file
After Width: | Height: | Size: 12 KiB |
5
test/huxley/FractionTest.hux/record.json
Normal file
|
@ -0,0 +1,5 @@
|
|||
[
|
||||
{
|
||||
"action": "screenshot"
|
||||
}
|
||||
]
|
|
@ -1 +0,0 @@
|
|||
{"py/object": "huxley.run.Test", "screen_size": {"py/tuple": [1024, 768]}, "steps": [{"py/object": "huxley.steps.ScreenshotTestStep", "index": 0, "offset_time": 0}]}
|
Before Width: | Height: | Size: 8.9 KiB |
BIN
test/huxley/Functions.hux/firefox-1.png
Normal file
After Width: | Height: | Size: 19 KiB |
5
test/huxley/Functions.hux/record.json
Normal file
|
@ -0,0 +1,5 @@
|
|||
[
|
||||
{
|
||||
"action": "screenshot"
|
||||
}
|
||||
]
|
|
@ -1 +0,0 @@
|
|||
{"py/object": "huxley.run.Test", "screen_size": {"py/tuple": [1024, 768]}, "steps": [{"py/object": "huxley.steps.ScreenshotTestStep", "index": 0, "offset_time": 0}]}
|
Before Width: | Height: | Size: 12 KiB |
BIN
test/huxley/GreekLetters.hux/firefox-1.png
Normal file
After Width: | Height: | Size: 12 KiB |
5
test/huxley/GreekLetters.hux/record.json
Normal file
|
@ -0,0 +1,5 @@
|
|||
[
|
||||
{
|
||||
"action": "screenshot"
|
||||
}
|
||||
]
|
|
@ -1 +0,0 @@
|
|||
{"py/object": "huxley.run.Test", "screen_size": {"py/tuple": [1024, 768]}, "steps": [{"py/object": "huxley.steps.ScreenshotTestStep", "index": 0, "offset_time": 0}]}
|
Before Width: | Height: | Size: 9.8 KiB |
|
@ -1,47 +0,0 @@
|
|||
[BasicTest]
|
||||
url=http://localhost:7936/test/huxley/test.html?m=a
|
||||
|
||||
[FractionTest]
|
||||
url=http://localhost:7936/test/huxley/test.html?m=\dfrac{a}{b}\frac{a}{b}\tfrac{a}{b}
|
||||
|
||||
[NestedFractions]
|
||||
url=http://localhost:7936/test/huxley/test.html?m=\dfrac{\frac{a}{b}}{\frac{c}{d}}\dfrac{\dfrac{a}{b}}{\dfrac{c}{d}}\frac{\frac{a}{b}}{\frac{c}{d}}
|
||||
|
||||
[Exponents]
|
||||
url=http://localhost:7936/test/huxley/test.html?m=a^{a^a_a}_{a^a_a}
|
||||
|
||||
[Colors]
|
||||
url=http://localhost:7936/test/huxley/test.html?m=\blue{a}\color{%%230f0}{b}\color{red}{c}
|
||||
|
||||
[GreekLetters]
|
||||
url=http://localhost:7936/test/huxley/test.html?m=\alpha\beta\gamma\omega
|
||||
|
||||
[Baseline]
|
||||
url=http://localhost:7936/test/huxley/test.html?m=a+b-c\cdot d/e
|
||||
|
||||
[Spacing]
|
||||
url=http://localhost:7936/test/huxley/test.html?m=^3+[-1][1-1]1%%3D1(%%3D1)\lvert a\rvert~b
|
||||
|
||||
[Functions]
|
||||
url=http://localhost:7936/test/huxley/test.html?m=\sin\cos\tan\ln\log
|
||||
|
||||
[Lap]
|
||||
url=http://localhost:7936/test/huxley/test.html?m=ab\llap{f}cd\rlap{g}h
|
||||
|
||||
[Sizing]
|
||||
url=http://localhost:7936/test/huxley/test.html?m=\Huge{x}\LARGE{y}\normalsize{z}\scriptsize{w}
|
||||
|
||||
[SizingBaseline]
|
||||
url=http://localhost:7936/test/huxley/test.html?m=\tiny{a+b}a+b\Huge{a+b}&pre=x&post=M
|
||||
|
||||
[Text]
|
||||
url=http://localhost:7936/test/huxley/test.html?m=\frac{a}{b}\text{c~ {ab} \ e}+fg
|
||||
|
||||
[KaTeX]
|
||||
url=http://localhost:7936/test/huxley/test.html?m=\KaTeX
|
||||
|
||||
[RlapBug]
|
||||
url=http://localhost:7936/test/huxley/test.html?m=\frac{\rlap{x}}{2}
|
||||
|
||||
[SupSubCharacterBox]
|
||||
url=http://localhost:7936/test/huxley/test.html?m=a_2f_2{f}_2{aa}_2{af}_2
|
97
test/huxley/Huxleyfile.json
Normal file
|
@ -0,0 +1,97 @@
|
|||
[
|
||||
{
|
||||
"name": "BasicTest",
|
||||
"screenSize": [1024, 768],
|
||||
"url": "http://localhost:7936/test/huxley/test.html?m=a"
|
||||
},
|
||||
|
||||
{
|
||||
"name": "FractionTest",
|
||||
"screenSize": [1024, 768],
|
||||
"url": "http://localhost:7936/test/huxley/test.html?m=\\dfrac{a}{b}\\frac{a}{b}\\tfrac{a}{b}"
|
||||
},
|
||||
|
||||
{
|
||||
"name": "NestedFractions",
|
||||
"screenSize": [1024, 768],
|
||||
"url": "http://localhost:7936/test/huxley/test.html?m=\\dfrac{\\frac{a}{b}}{\\frac{c}{d}}\\dfrac{\\dfrac{a}{b}}{\\dfrac{c}{d}}\\frac{\\frac{a}{b}}{\\frac{c}{d}}"
|
||||
},
|
||||
|
||||
{
|
||||
"name": "Exponents",
|
||||
"screenSize": [1024, 768],
|
||||
"url": "http://localhost:7936/test/huxley/test.html?m=a^{a^a_a}_{a^a_a}"
|
||||
},
|
||||
|
||||
{
|
||||
"name": "Colors",
|
||||
"screenSize": [1024, 768],
|
||||
"url": "http://localhost:7936/test/huxley/test.html?m=\\blue{a}\\color{%230f0}{b}\\color{red}{c}"
|
||||
},
|
||||
|
||||
{
|
||||
"name": "GreekLetters",
|
||||
"screenSize": [1024, 768],
|
||||
"url": "http://localhost:7936/test/huxley/test.html?m=\\alpha\\beta\\gamma\\omega"
|
||||
},
|
||||
|
||||
{
|
||||
"name": "Baseline",
|
||||
"screenSize": [1024, 768],
|
||||
"url": "http://localhost:7936/test/huxley/test.html?m=a+b-c\\cdot d/e"
|
||||
},
|
||||
|
||||
{
|
||||
"name": "Spacing",
|
||||
"screenSize": [1024, 768],
|
||||
"url": "http://localhost:7936/test/huxley/test.html?m=^3+[-1][1-1]1=1(=1)\\lvert a\\rvert~b"
|
||||
},
|
||||
|
||||
{
|
||||
"name": "Functions",
|
||||
"screenSize": [1024, 768],
|
||||
"url": "http://localhost:7936/test/huxley/test.html?m=\\sin\\cos\\tan\\ln\\log"
|
||||
},
|
||||
|
||||
{
|
||||
"name": "Sizing",
|
||||
"screenSize": [1024, 768],
|
||||
"url": "http://localhost:7936/test/huxley/test.html?m={\\Huge x}{\\LARGE y}{\\normalsize z}{\\scriptsize w}"
|
||||
},
|
||||
|
||||
{
|
||||
"name": "SizingBaseline",
|
||||
"screenSize": [1024, 768],
|
||||
"url": "http://localhost:7936/test/huxley/test.html?m={\\tiny a+b}a+b{\\Huge a+b}&pre=x&post=M"
|
||||
},
|
||||
|
||||
{
|
||||
"name": "Text",
|
||||
"screenSize": [1024, 768],
|
||||
"url": "http://localhost:7936/test/huxley/test.html?m=\\frac{a}{b}\\text{c~ {ab} \\ e}+fg"
|
||||
},
|
||||
|
||||
{
|
||||
"name": "KaTeX",
|
||||
"screenSize": [1024, 768],
|
||||
"url": "http://localhost:7936/test/huxley/test.html?m=\\KaTeX"
|
||||
},
|
||||
|
||||
{
|
||||
"name": "RlapBug",
|
||||
"screenSize": [1024, 768],
|
||||
"url": "http://localhost:7936/test/huxley/test.html?m=\\frac{\\rlap{x}}{2}"
|
||||
},
|
||||
|
||||
{
|
||||
"name": "SupSubCharacterBox",
|
||||
"screenSize": [1024, 768],
|
||||
"url": "http://localhost:7936/test/huxley/test.html?m=a_2f_2{f}_2{aa}_2{af}_2"
|
||||
},
|
||||
|
||||
{
|
||||
"name": "Lap",
|
||||
"screenSize": [1024, 768],
|
||||
"url": "http://localhost:7936/test/huxley/test.html?m=ab\\llap{f}cd\\rlap{g}h"
|
||||
}
|
||||
]
|
BIN
test/huxley/KaTeX.hux/firefox-1.png
Normal file
After Width: | Height: | Size: 12 KiB |
5
test/huxley/KaTeX.hux/record.json
Normal file
|
@ -0,0 +1,5 @@
|
|||
[
|
||||
{
|
||||
"action": "screenshot"
|
||||
}
|
||||
]
|
|
@ -1 +0,0 @@
|
|||
{"py/object": "huxley.run.Test", "screen_size": {"py/tuple": [1024, 768]}, "steps": [{"py/object": "huxley.steps.ScreenshotTestStep", "index": 0, "offset_time": 0}]}
|
Before Width: | Height: | Size: 9.8 KiB |
BIN
test/huxley/Lap.hux/firefox-1.png
Normal file
After Width: | Height: | Size: 14 KiB |
5
test/huxley/Lap.hux/record.json
Normal file
|
@ -0,0 +1,5 @@
|
|||
[
|
||||
{
|
||||
"action": "screenshot"
|
||||
}
|
||||
]
|
|
@ -1 +0,0 @@
|
|||
{"py/object": "huxley.run.Test", "screen_size": {"py/tuple": [1024, 768]}, "steps": [{"py/object": "huxley.steps.ScreenshotTestStep", "index": 0, "offset_time": 0}]}
|
Before Width: | Height: | Size: 11 KiB |
BIN
test/huxley/NestedFractions.hux/firefox-1.png
Normal file
After Width: | Height: | Size: 18 KiB |
5
test/huxley/NestedFractions.hux/record.json
Normal file
|
@ -0,0 +1,5 @@
|
|||
[
|
||||
{
|
||||
"action": "screenshot"
|
||||
}
|
||||
]
|
|
@ -1 +0,0 @@
|
|||
{"py/object": "huxley.run.Test", "screen_size": {"py/tuple": [1024, 768]}, "steps": [{"py/object": "huxley.steps.ScreenshotTestStep", "index": 0, "offset_time": 0}]}
|
Before Width: | Height: | Size: 16 KiB |
BIN
test/huxley/RlapBug.hux/firefox-1.png
Normal file
After Width: | Height: | Size: 6.9 KiB |
5
test/huxley/RlapBug.hux/record.json
Normal file
|
@ -0,0 +1,5 @@
|
|||
[
|
||||
{
|
||||
"action": "screenshot"
|
||||
}
|
||||
]
|
|
@ -1 +0,0 @@
|
|||
{"py/object": "huxley.run.Test", "screen_size": {"py/tuple": [1024, 768]}, "steps": [{"py/object": "huxley.steps.ScreenshotTestStep", "index": 0, "offset_time": 0}]}
|
Before Width: | Height: | Size: 6.1 KiB |
BIN
test/huxley/Sizing.hux/firefox-1.png
Normal file
After Width: | Height: | Size: 16 KiB |
5
test/huxley/Sizing.hux/record.json
Normal file
|
@ -0,0 +1,5 @@
|
|||
[
|
||||
{
|
||||
"action": "screenshot"
|
||||
}
|
||||
]
|
|
@ -1 +0,0 @@
|
|||
{"py/object": "huxley.run.Test", "screen_size": {"py/tuple": [1024, 768]}, "steps": [{"py/object": "huxley.steps.ScreenshotTestStep", "index": 0, "offset_time": 0}]}
|
Before Width: | Height: | Size: 12 KiB |
BIN
test/huxley/SizingBaseline.hux/firefox-1.png
Normal file
After Width: | Height: | Size: 20 KiB |
5
test/huxley/SizingBaseline.hux/record.json
Normal file
|
@ -0,0 +1,5 @@
|
|||
[
|
||||
{
|
||||
"action": "screenshot"
|
||||
}
|
||||
]
|
|
@ -1 +0,0 @@
|
|||
{"py/object": "huxley.run.Test", "screen_size": {"py/tuple": [1024, 768]}, "steps": [{"py/object": "huxley.steps.ScreenshotTestStep", "index": 0, "offset_time": 0}]}
|
Before Width: | Height: | Size: 17 KiB |
BIN
test/huxley/Spacing.hux/firefox-1.png
Normal file
After Width: | Height: | Size: 8.4 KiB |
5
test/huxley/Spacing.hux/record.json
Normal file
|
@ -0,0 +1,5 @@
|
|||
[
|
||||
{
|
||||
"action": "screenshot"
|
||||
}
|
||||
]
|
|
@ -1 +0,0 @@
|
|||
{"py/object": "huxley.run.Test", "screen_size": {"py/tuple": [1024, 768]}, "steps": [{"py/object": "huxley.steps.ScreenshotTestStep", "index": 0, "offset_time": 0}]}
|
Before Width: | Height: | Size: 13 KiB |
BIN
test/huxley/SupSubCharacterBox.hux/firefox-1.png
Normal file
After Width: | Height: | Size: 20 KiB |
5
test/huxley/SupSubCharacterBox.hux/record.json
Normal file
|
@ -0,0 +1,5 @@
|
|||
[
|
||||
{
|
||||
"action": "screenshot"
|
||||
}
|
||||
]
|
|
@ -1 +0,0 @@
|
|||
{"py/object": "huxley.run.Test", "screen_size": {"py/tuple": [1024, 768]}, "steps": [{"py/object": "huxley.steps.ScreenshotTestStep", "index": 0, "offset_time": 0}]}
|
Before Width: | Height: | Size: 9.5 KiB |
BIN
test/huxley/Text.hux/firefox-1.png
Normal file
After Width: | Height: | Size: 16 KiB |
5
test/huxley/Text.hux/record.json
Normal file
|
@ -0,0 +1,5 @@
|
|||
[
|
||||
{
|
||||
"action": "screenshot"
|
||||
}
|
||||
]
|
|
@ -1 +0,0 @@
|
|||
{"py/object": "huxley.run.Test", "screen_size": {"py/tuple": [1024, 768]}, "steps": [{"py/object": "huxley.steps.ScreenshotTestStep", "index": 0, "offset_time": 0}]}
|
Before Width: | Height: | Size: 12 KiB |