Skip to content

[Ingest pipelines] Component integration tests#65316

Merged
alisonelizabeth merged 16 commits intoelastic:masterfrom
alisonelizabeth:ingest_pipelines/component_tests
May 7, 2020
Merged

[Ingest pipelines] Component integration tests#65316
alisonelizabeth merged 16 commits intoelastic:masterfrom
alisonelizabeth:ingest_pipelines/component_tests

Conversation

@alisonelizabeth
Copy link
Copy Markdown
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 t// 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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Contributor Author

@elasticmachine merge upstream

@elasticmachine
Copy link
Copy Markdown
Contributor

user doesn't have permission to update head repository

Copy link
Copy Markdown
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
Copy Markdown
Contributor Author

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

@kibanamachine
Copy link
Copy Markdown
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 t// v7.8.0 v7.9.0 v8.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants