-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Failing test: Jest Tests.x-pack/plugins/cases/public/components/case_form_fields - CustomFields renders correctly #188133
Comments
Pinging @elastic/response-ops (Team:ResponseOps) |
New failure: kibana-on-merge - main |
Pinging @elastic/response-ops-cases (Feature:Cases) |
New failure: kibana-on-merge - main |
New failure: kibana-on-merge - main |
New failure: kibana-on-merge - main |
New failure: kibana-on-merge - 8.15 |
fixes #178457 fixes #187554 ## Summary I think this test was skipped by mistake. The [failing build](https://buildkite.com/elastic/kibana-on-merge/builds/42401#018e2f40-5109-4a2a-a877-f0aeed20f20f) points to `x-pack/plugins/cases/public/components/create/custom_fields.test.tsx` but this file does not exist anymore. [In the commit where the pipeline failed](https://github.com/elastic/kibana/tree/cd16d03ca9627b21452eff6b72d771318e85557f) the file `x-pack/plugins/cases/public/components/create/template.test.tsx` did not exist. The `renders correctly` test is **very** different between these two files so I think there was some mistake here. Additionally, there is [this skipped test](#188133) which IMO is the correct one. I fix that in a different PR. PS: I kept looking into our flaky test list and I think the same is the case for #187554 the file skipped there does not match the one in the failing pipeline and it did not exist at the time of that commit. I think there was some confusion and time difference between the failing tests and the tests being skipped. When the tests were skipped the original file did not exist anymore and prob all custom field related `renders correctly` tests were skipped indiscriminately 🤷
fixes #188133 ## Summary I simplified the failing test a bit to make it less likely to timeout. 1. We checked for the test **and** the `id` to make sure the component was rendered, it was redundant. 2. We looked for all custom fields(4) and I reduced the check to just 2(which have different types). 3. Updated another test that looked for a label to look for an `id`(for consistency).
New failure: kibana-on-merge - main |
New failure: kibana-on-merge - 8.x |
New failure: kibana-on-merge - main |
New failure: kibana-on-merge - 8.x |
New failure: kibana-on-merge - 8.x |
New failure in PR: #193792 |
New failure: kibana-on-merge - main |
New failure: kibana-on-merge - 8.x |
A test failed on a tracked branch
First failure: kibana-on-merge - main
The text was updated successfully, but these errors were encountered: