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

[ResponseOps][Cases] Fix SyncAlertsToggle flaky test #200870

Merged
merged 1 commit into from
Nov 21, 2024

Conversation

adcoelho
Copy link
Contributor

@adcoelho adcoelho commented Nov 20, 2024

Fixes #190270

Summary

We already wrap SyncAlertsToggle in <FormTestComponent> so I removed createAppMockRenderer which wasn't necessary.

@adcoelho adcoelho added technical debt Improvement of the software architecture and operational architecture release_note:skip Skip the PR/issue when compiling release notes Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) v9.0.0 Feature:Cases Cases feature backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) labels Nov 20, 2024
@adcoelho adcoelho self-assigned this Nov 20, 2024
@adcoelho adcoelho requested a review from a team as a code owner November 20, 2024 09:34
@elasticmachine
Copy link
Contributor

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

@elasticmachine
Copy link
Contributor

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

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

cc @adcoelho

@adcoelho adcoelho merged commit d91d82c into elastic:main Nov 21, 2024
36 checks passed
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.x

https://github.com/elastic/kibana/actions/runs/11950305955

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Nov 21, 2024
Fixes elastic#190270

## Summary

We already wrap `SyncAlertsToggle` in `<FormTestComponent>` so I removed
`createAppMockRenderer` which wasn't necessary.

(cherry picked from commit d91d82c)
@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
8.x

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request Nov 21, 2024
#200870) (#201093)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[ResponseOps][Cases] Fix &#x60;SyncAlertsToggle&#x60; flaky test
(#200870)](#200870)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT
[{"author":{"name":"Antonio","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-11-21T09:26:10Z","message":"[ResponseOps][Cases]
Fix `SyncAlertsToggle` flaky test (#200870)\n\nFixes #190270\r\n\r\n##
Summary\r\n\r\nWe already wrap `SyncAlertsToggle` in
`<FormTestComponent>` so I removed\r\n`createAppMockRenderer` which
wasn't
necessary.","sha":"d91d82c2b9581821cf5ee30e8987a13f2d33b907","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["technical
debt","release_note:skip","Team:ResponseOps","v9.0.0","Feature:Cases","backport:prev-minor"],"title":"[ResponseOps][Cases]
Fix `SyncAlertsToggle` flaky
test","number":200870,"url":"https://github.com/elastic/kibana/pull/200870","mergeCommit":{"message":"[ResponseOps][Cases]
Fix `SyncAlertsToggle` flaky test (#200870)\n\nFixes #190270\r\n\r\n##
Summary\r\n\r\nWe already wrap `SyncAlertsToggle` in
`<FormTestComponent>` so I removed\r\n`createAppMockRenderer` which
wasn't
necessary.","sha":"d91d82c2b9581821cf5ee30e8987a13f2d33b907"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/200870","number":200870,"mergeCommit":{"message":"[ResponseOps][Cases]
Fix `SyncAlertsToggle` flaky test (#200870)\n\nFixes #190270\r\n\r\n##
Summary\r\n\r\nWe already wrap `SyncAlertsToggle` in
`<FormTestComponent>` so I removed\r\n`createAppMockRenderer` which
wasn't necessary.","sha":"d91d82c2b9581821cf5ee30e8987a13f2d33b907"}}]}]
BACKPORT-->

Co-authored-by: Antonio <[email protected]>
paulinashakirova pushed a commit to paulinashakirova/kibana that referenced this pull request Nov 26, 2024
Fixes elastic#190270

## Summary

We already wrap `SyncAlertsToggle` in `<FormTestComponent>` so I removed
`createAppMockRenderer` which wasn't necessary.
CAWilson94 pushed a commit to CAWilson94/kibana that referenced this pull request Dec 12, 2024
Fixes elastic#190270

## Summary

We already wrap `SyncAlertsToggle` in `<FormTestComponent>` so I removed
`createAppMockRenderer` which wasn't necessary.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) Feature:Cases Cases feature release_note:skip Skip the PR/issue when compiling release notes Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) technical debt Improvement of the software architecture and operational architecture v8.18.0 v9.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Failing test: Jest Tests.x-pack/plugins/cases/public/components/case_form_fields - SyncAlertsToggle it renders
4 participants