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

Integration tests for D3FC #458

Merged
merged 1 commit into from
Mar 1, 2019
Merged

Integration tests for D3FC #458

merged 1 commit into from
Mar 1, 2019

Conversation

texodus
Copy link
Member

@texodus texodus commented Feb 27, 2019

This PR adds simple smoke/integration tests to perspective-viewer-d3fc, using the same puppeteer/record matching approach used by perspective-viewer and friends, details of which can be found in the perspective documentation. These tests are designed to prevent us from merging changes which "obviously" break the plugin, rather than provide fine-grained feedback as to what failed; as such, they are really meant to be run mostly by travis, and before opening a PR, rather than iteratively during development.

The tests also assert that the Chrome console logs no errors while running - and one fix for tooltips was needed to achieve this, checking that the SVG tree itself is still attached to the DOM.

Copy link
Contributor

@andy-lee-eng andy-lee-eng left a comment

Choose a reason for hiding this comment

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

Looks great!

@texodus
Copy link
Member Author

texodus commented Mar 1, 2019

Discussed offline

@texodus texodus merged commit 137e1fb into master Mar 1, 2019
@texodus texodus deleted the d3fc-simple-tests branch March 1, 2019 05:45
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