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

Fix the screenshot test. #773

Merged
merged 1 commit into from
Feb 8, 2018
Merged

Fix the screenshot test. #773

merged 1 commit into from
Feb 8, 2018

Conversation

manthey
Copy link
Contributor

@manthey manthey commented Feb 7, 2018

There was some inconsistency in the screenshot test. This should reduce it. It was caused by the map node being detached from the DOM for some of the tests (but not all). In some instances, this resulted in a different background transparency of the map node. By always having each screenshot test in a separate it block, the afterEach function is certain to have run after the setup and before each test.

Copy link
Member

@aashish24 aashish24 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

interesting trick. LGTM

@manthey manthey merged commit d1a5813 into master Feb 8, 2018
@manthey manthey deleted the fix-jquery-3-screenshot-test branch February 8, 2018 13:05
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.

2 participants