-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
[ResponseOps][Cases] Remove appMockRender from flaky tests #201406
Conversation
Pinging @elastic/response-ops (Team:ResponseOps) |
Pinging @elastic/response-ops-cases (Feature:Cases) |
4340962
to
7f2c8b6
Compare
@@ -6,31 +6,21 @@ | |||
*/ | |||
|
|||
import React from 'react'; | |||
import { waitForEuiPopoverOpen, screen } from '@elastic/eui/lib/test/rtl'; | |||
import { waitForEuiPopoverOpen, screen, render } from '@elastic/eui/lib/test/rtl'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should screen
and render
be from '@testing-library/react'
instead? Im not familiar with this eui package
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are right! I missed that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤞
4fa342f
to
76cf636
Compare
Starting backport for target branches: 8.x |
💚 Build Succeeded
Metrics [docs]
History
cc @cnasikas |
💔 All backports failed
Manual backportTo create the backport manually run:
Questions ?Please refer to the Backport tool documentation |
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…1406) (#201504) # Backport This will backport the following commits from `main` to `8.x`: - [[ResponseOps][Cases] Remove appMockRender from flaky tests (#201406)](#201406) <!--- Backport version: 8.9.8 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Christos Nasikas","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-11-23T10:54:29Z","message":"[ResponseOps][Cases] Remove appMockRender from flaky tests (#201406)\n\n## Summary\r\n\r\nThis PR removes the usage of `appMockRender` from some flaky tests in\r\nthe hope they will stop being flaky. We suspect that the `appMockRender`\r\nis the source of flakiness and we would like to verify our assumption.\r\n\r\nFixes: https://github.com/elastic/kibana/issues/189105\r\nFixes: https://github.com/elastic/kibana/issues/195698\r\nFixes: https://github.com/elastic/kibana/issues/189014\r\nFixes: https://github.com/elastic/kibana/issues/176679\r\nFixes: https://github.com/elastic/kibana/issues/188951\r\nFixes: https://github.com/elastic/kibana/issues/192672\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios","sha":"3c2c891a14072e374bd562618358dc8c027aa1ea","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:ResponseOps","v9.0.0","Feature:Cases","backport:prev-minor","v8.18.0"],"number":201406,"url":"https://github.com/elastic/kibana/pull/201406","mergeCommit":{"message":"[ResponseOps][Cases] Remove appMockRender from flaky tests (#201406)\n\n## Summary\r\n\r\nThis PR removes the usage of `appMockRender` from some flaky tests in\r\nthe hope they will stop being flaky. We suspect that the `appMockRender`\r\nis the source of flakiness and we would like to verify our assumption.\r\n\r\nFixes: https://github.com/elastic/kibana/issues/189105\r\nFixes: https://github.com/elastic/kibana/issues/195698\r\nFixes: https://github.com/elastic/kibana/issues/189014\r\nFixes: https://github.com/elastic/kibana/issues/176679\r\nFixes: https://github.com/elastic/kibana/issues/188951\r\nFixes: https://github.com/elastic/kibana/issues/192672\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios","sha":"3c2c891a14072e374bd562618358dc8c027aa1ea"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/201406","number":201406,"mergeCommit":{"message":"[ResponseOps][Cases] Remove appMockRender from flaky tests (#201406)\n\n## Summary\r\n\r\nThis PR removes the usage of `appMockRender` from some flaky tests in\r\nthe hope they will stop being flaky. We suspect that the `appMockRender`\r\nis the source of flakiness and we would like to verify our assumption.\r\n\r\nFixes: https://github.com/elastic/kibana/issues/189105\r\nFixes: https://github.com/elastic/kibana/issues/195698\r\nFixes: https://github.com/elastic/kibana/issues/189014\r\nFixes: https://github.com/elastic/kibana/issues/176679\r\nFixes: https://github.com/elastic/kibana/issues/188951\r\nFixes: https://github.com/elastic/kibana/issues/192672\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios","sha":"3c2c891a14072e374bd562618358dc8c027aa1ea"}},{"branch":"8.x","label":"v8.18.0","labelRegex":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT-->
Summary
This PR removes the usage of
appMockRender
from some flaky tests in the hope they will stop being flaky. We suspect that theappMockRender
is the source of flakiness and we would like to verify our assumption.Fixes: #189105
Fixes: #195698
Fixes: #189014
Fixes: #176679
Fixes: #188951
Fixes: #192672
Checklist