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

Failing test: Jest Tests.x-pack/plugins/cases/public/components/case_view/components - EditTags add new tags on submit #175619

Closed
kibanamachine opened this issue Jan 25, 2024 · 5 comments · Fixed by #175763
Assignees
Labels
failed-test A test failure on a tracked branch, potentially flaky-test Feature:Cases Cases feature Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams)

Comments

@kibanamachine
Copy link
Contributor

kibanamachine commented Jan 25, 2024

A test failed on a tracked branch

TestingLibraryElementError: Unable to find an element by: [data-test-subj="tag-list-edit-button"]

Ignored nodes: comments, script, style
<body>
  <div />
</body>
    at Object.getElementError (/var/lib/buildkite-agent/builds/kb-n2-4-spot-da3dc5a4f59e7914/elastic/kibana-on-merge/kibana/node_modules/@testing-library/dom/dist/config.js:40:19)
    at /var/lib/buildkite-agent/builds/kb-n2-4-spot-da3dc5a4f59e7914/elastic/kibana-on-merge/kibana/node_modules/@testing-library/dom/dist/query-helpers.js:90:38
    at /var/lib/buildkite-agent/builds/kb-n2-4-spot-da3dc5a4f59e7914/elastic/kibana-on-merge/kibana/node_modules/@testing-library/dom/dist/query-helpers.js:62:17
    at /var/lib/buildkite-agent/builds/kb-n2-4-spot-da3dc5a4f59e7914/elastic/kibana-on-merge/kibana/node_modules/@testing-library/dom/dist/query-helpers.js:111:19
    at Object.getByTestId (/var/lib/buildkite-agent/builds/kb-n2-4-spot-da3dc5a4f59e7914/elastic/kibana-on-merge/kibana/x-pack/plugins/cases/public/components/case_view/components/edit_tags.test.tsx:72:28)
    at Promise.then.completed (/var/lib/buildkite-agent/builds/kb-n2-4-spot-da3dc5a4f59e7914/elastic/kibana-on-merge/kibana/node_modules/jest-circus/build/utils.js:300:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/var/lib/buildkite-agent/builds/kb-n2-4-spot-da3dc5a4f59e7914/elastic/kibana-on-merge/kibana/node_modules/jest-circus/build/utils.js:233:10)
    at _callCircusTest (/var/lib/buildkite-agent/builds/kb-n2-4-spot-da3dc5a4f59e7914/elastic/kibana-on-merge/kibana/node_modules/jest-circus/build/run.js:314:40)
    at _runTest (/var/lib/buildkite-agent/builds/kb-n2-4-spot-da3dc5a4f59e7914/elastic/kibana-on-merge/kibana/node_modules/jest-circus/build/run.js:250:3)
    at _runTestsForDescribeBlock (/var/lib/buildkite-agent/builds/kb-n2-4-spot-da3dc5a4f59e7914/elastic/kibana-on-merge/kibana/node_modules/jest-circus/build/run.js:125:9)
    at _runTestsForDescribeBlock (/var/lib/buildkite-agent/builds/kb-n2-4-spot-da3dc5a4f59e7914/elastic/kibana-on-merge/kibana/node_modules/jest-circus/build/run.js:120:9)
    at run (/var/lib/buildkite-agent/builds/kb-n2-4-spot-da3dc5a4f59e7914/elastic/kibana-on-merge/kibana/node_modules/jest-circus/build/run.js:70:3)
    at runAndTransformResultsToJestFormat (/var/lib/buildkite-agent/builds/kb-n2-4-spot-da3dc5a4f59e7914/elastic/kibana-on-merge/kibana/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/var/lib/buildkite-agent/builds/kb-n2-4-spot-da3dc5a4f59e7914/elastic/kibana-on-merge/kibana/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/var/lib/buildkite-agent/builds/kb-n2-4-spot-da3dc5a4f59e7914/elastic/kibana-on-merge/kibana/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/var/lib/buildkite-agent/builds/kb-n2-4-spot-da3dc5a4f59e7914/elastic/kibana-on-merge/kibana/node_modules/jest-runner/build/runTest.js:444:34)

First failure: CI Build - main

@kibanamachine kibanamachine added the failed-test A test failure on a tracked branch, potentially flaky-test label Jan 25, 2024
@botelastic botelastic bot added the needs-team Issues missing a team label label Jan 25, 2024
@kibanamachine kibanamachine added the Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) label Jan 25, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/response-ops (Team:ResponseOps)

@botelastic botelastic bot removed the needs-team Issues missing a team label label Jan 25, 2024
@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@mistic
Copy link
Member

mistic commented Jan 26, 2024

Skipped.

main: bb3abc7

@cnasikas cnasikas added the Feature:Cases Cases feature label Jan 28, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/response-ops-cases (Feature:Cases)

@cnasikas cnasikas self-assigned this Jan 29, 2024
@cnasikas cnasikas linked a pull request Jan 29, 2024 that will close this issue
2 tasks
cnasikas added a commit that referenced this issue Jan 29, 2024
## Summary

Fixes: #175655,
#175623,
#175622,
#175619,
#175618

### Checklist

Delete any items that are not applicable to this PR.

- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios

### For maintainers

- [x] This was checked for breaking API changes and was [labeled
appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
CoenWarmer pushed a commit to CoenWarmer/kibana that referenced this issue Feb 15, 2024
## Summary

Fixes: elastic#175655,
elastic#175623,
elastic#175622,
elastic#175619,
elastic#175618

### Checklist

Delete any items that are not applicable to this PR.

- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios

### For maintainers

- [x] This was checked for breaking API changes and was [labeled
appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
fkanout pushed a commit to fkanout/kibana that referenced this issue Mar 4, 2024
## Summary

Fixes: elastic#175655,
elastic#175623,
elastic#175622,
elastic#175619,
elastic#175618

### Checklist

Delete any items that are not applicable to this PR.

- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios

### For maintainers

- [x] This was checked for breaking API changes and was [labeled
appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
failed-test A test failure on a tracked branch, potentially flaky-test Feature:Cases Cases feature Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants