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

[PipelineViewer] Test PipelineViewer sub-components #20329

Conversation

justinkambic
Copy link
Contributor

Changes

This PR adds tests for the sub-components of the updated PipelineViewer view.

Do not review this PR until #20252 is merged, as it relies on the changes from that PR.

Testing this PR

The tests here achieve a fairly high degree of coverage of the components in question. If the tests are passing, review that the code is satisfactory.

@elasticmachine
Copy link
Contributor

💔 Build Failed

@justinkambic justinkambic force-pushed the monitoring/test-pipeline-viewer-subcomponents branch 2 times, most recently from 87ece48 to 0baa8c0 Compare July 2, 2018 16:24
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@justinkambic justinkambic force-pushed the monitoring/test-pipeline-viewer-subcomponents branch from 616a914 to ad21850 Compare July 5, 2018 13:48
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@justinkambic justinkambic force-pushed the monitoring/test-pipeline-viewer-subcomponents branch from ad21850 to 0bf80b3 Compare July 6, 2018 17:54
@elasticmachine
Copy link
Contributor

💔 Build Failed

@justinkambic justinkambic force-pushed the monitoring/test-pipeline-viewer-subcomponents branch from 0bf80b3 to 5c7a413 Compare July 8, 2018 16:44
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@justinkambic
Copy link
Contributor Author

@mattapperson would you mind giving me a review on this when you get a chance? 😺

@justinkambic justinkambic merged commit d4d5fe1 into elastic:master Jul 9, 2018
justinkambic added a commit that referenced this pull request Jul 9, 2018
* Rename config view to PipelineViewer.

* Decouple CollapsibleStatement from if/else using props.children.

* Add tests for PipelineViewer component.

* Test Metric component.

* Test CollapsibleStatement component.

* Test PluginStatement component.

* Test Queue component.

* Test StatementListHeading component.

* Test StatementSection component. Move StatementList component to dedicated file.

* Test StatementList component.

* Test Statement component.

* Run prettier on edited files.
@justinkambic
Copy link
Contributor Author

Backported to:
6.x/6.4.0 da2448f

@justinkambic justinkambic deleted the monitoring/test-pipeline-viewer-subcomponents branch July 9, 2018 15:54
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.

4 participants