add visual tests for ddox rendering#107
Conversation
MartinNowak
commented
Oct 25, 2015
- using phantomcss for diff comparison
8d50682 to
06ee95e
Compare
- using phantomcss for diff comparison
06ee95e to
93f8280
Compare
|
There is a small heroku app running for the uploads. |
|
Interesting! That would also be especially interesting in conjunction with custom style tests, so that unintended CSS "APi" changes get caught. How is the process for updating the reference images for intended visual changes - downloading the images off the heroku app? |
Yes you can do that, in fact due to sub-pixel differences on different platforms, the ones produced locally might not match. |
|
Just made a dummy style change to show the diffing. |
|
Okay, I guess I could store those on my server, it would just need some kind of basic security mechanisms. Is it maybe possible to upload a private key to Travis for doing client-authentication? |
Looks good. Of course it would be possible to go crazy with some JavaScript to enhance the UI, but I think this is already useful enough. |
|
WRT private keys, this sounds like it could be useful: https://docs.travis-ci.com/user/encryption-keys/ |
Yes you can store them as secure variable, but those aren't available to PRs. |
|
So do PRs have a different pair of keys? Otherwise I'd just encrypt a username/password key and use HTTPS+basic auth for the upload. |
A pastbin for images would be nice. |
|
Nevermind w.r.t. the secure variables, I'm reading up on it now. |
d61d1dd to
93f8280
Compare
|
Okay, I'll merge it like this for now. Will be interesting to see what the syntax highlighting PR does. Sad that Travis doesn't just offer an ssh-agent with a fixed generated key, so that scp could be used. |
Add visual tests for ddox rendering.