Skip to content

Integration tests for D3FC#458

Merged
texodus merged 1 commit intomasterfrom
d3fc-simple-tests
Mar 1, 2019
Merged

Integration tests for D3FC#458
texodus merged 1 commit intomasterfrom
d3fc-simple-tests

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

Development

Successfully merging this pull request may close these issues.

2 participants