Skip to content

[WIP] Regression image tests #155

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

rspencer01
Copy link
Collaborator

No description provided.

We were using `await` on the compression stream but this meant that
somtimes the rest of the HTML document was being loaded before the
resources had been inflated.

Now, we decompress in a blocking manner by manually pumping the promise
so that we eliminate all the async.
The HTML has changed as we've edited the jsinflate file
…ssions

The empty test is causing problems when trying to render images as
wkhtmltox is refusing to render an empty image.
Our current regression suite checks that the rendered HTML doesn't
change. However, sometimes we want to change the HTML (and so will bless
the output), but don't expect the rendered _image_ to change. This test
makes sure that we are aware of any pixel changes in the image output of
pybloqs.

Note: This makes the regression testing now _very_ sensitive,
particularly to third party changes. We will need to freeze all the
versions of our dependencies that we use in order for this to not become
unnecessarily noisy.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant