Skip to content
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

Rework integrations tests to compare pdf screenshots instead of raw content #1162

Merged
merged 4 commits into from
Sep 9, 2020

Conversation

blikblum
Copy link
Member

@blikblum blikblum commented Sep 7, 2020

What kind of change does this PR introduce?
It changes how integration tests work. Instead of comparing raw content compares image screenshots.
Hopefully this fixes the inconsistencies across different systems #1154 #1161

Checklist:

  • Unit Tests
  • Documentation
  • Update CHANGELOG.md
  • Ready to be merged

This was referenced Sep 7, 2020
@blikblum
Copy link
Member Author

blikblum commented Sep 9, 2020

This is ready to go.

In the current iteration works in two different systems (windows / linux)

The only limitation if when using system fonts where each system render differently, something somewhat expected.

@blikblum blikblum merged commit 55732ab into foliojs:master Sep 9, 2020
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