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

[visConfig/tests] test with own element, cleanup after #14215

Merged
merged 1 commit into from
Oct 2, 2017

Conversation

spalger
Copy link
Contributor

@spalger spalger commented Sep 28, 2017

The vis config tests currently add the vis-wrapper class to the body of the test runner, which means that running the tests adds overflow: hidden to the document body and prevents scrolling the results.

This changes the tests to create and use their own <div> for the tests, and then remove that <div> once the tests are done.

Copy link
Member

@ppisljar ppisljar left a comment

Choose a reason for hiding this comment

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

LGTM, thanks

@spalger spalger merged commit 0a4a2a1 into elastic:master Oct 2, 2017
spalger added a commit that referenced this pull request Oct 2, 2017
spalger added a commit that referenced this pull request Oct 2, 2017
spalger added a commit that referenced this pull request Oct 2, 2017
@spalger
Copy link
Contributor Author

spalger commented Oct 2, 2017

5.6: c3c161e
6.0: 3f546dc
6.1/6.x: ff1e20e

@spalger spalger deleted the fix/vis-config-test-cleanup branch October 2, 2017 21:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants