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

[Ingest pipelines] Component integration tests #65316

Conversation

alisonelizabeth
Copy link
Contributor

@alisonelizabeth alisonelizabeth commented May 5, 2020

This PR adds component integration tests for the Ingest Node Pipelines UI.

Screen Shot 2020-04-28 at 9 00 57 PM

Screen Shot 2020-04-28 at 9 01 49 PM

Screen Shot 2020-04-28 at 9 02 38 PM

Screen Shot 2020-04-28 at 9 03 10 PM

@alisonelizabeth alisonelizabeth added chore v8.0.0 Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more release_note:skip Skip the PR/issue when compiling release notes v7.8.0 Feature:Ingest Node Pipelines Ingest node pipelines management labels May 5, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/es-ui (Team:Elasticsearch UI)

@alisonelizabeth alisonelizabeth marked this pull request as ready for review May 5, 2020 17:53
@alisonelizabeth alisonelizabeth requested a review from a team as a code owner May 5, 2020 17:53
Copy link
Contributor

@sebelga sebelga left a comment

Choose a reason for hiding this comment

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

Great job @alisonelizabeth ! I left a few comments, no blockers. I ran the tests locally and no issues 👍


await act(async () => {
testBed = await setup();
await testBed.waitFor('pipelineForm');
Copy link
Contributor

Choose a reason for hiding this comment

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

Just a note about waitFor. I realized it might not have been the best idea to add setTimout calls inside our tests (which is what waitFor does).
It seems (but I am still investigating) that some of the timing issues we are getting in our tests come from setTimeout calls inside the code being tested (and the form lib has some).
Once I get to the bottom of it I'll share my findings 😊 For now let's keep with this small hack.

@alisonelizabeth
Copy link
Contributor Author

@elasticmachine merge upstream

@elasticmachine
Copy link
Contributor

user doesn't have permission to update head repository

Copy link
Contributor

@cuff-links cuff-links left a comment

Choose a reason for hiding this comment

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

Checked this out locally. Ran several times. LGTM. Coverage is good and takes care of our basic use cases.

@alisonelizabeth
Copy link
Contributor Author

Thanks for the review @cuff-links and @sebelga! Going to run this through CI a few times before merging.

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Feature:Ingest Node Pipelines Ingest node pipelines management release_note:skip Skip the PR/issue when compiling release notes Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more v7.8.0 v7.9.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants