Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Security Solution] Unskip perform bulk action ESS FTR tests (#197660)
**Closes: #196470 **Closes: #196462 ## Summary This PR unskips `perform_bulk_action_ess.ts` functional test. ## Details `perform_bulk_action_ess.ts` includes a number of functional tests where some of them were flaky. Investigation revealed that creating enabled rules and performing bulk actions may lead to race conditions. Under that conditions rule's SO isn't updated as expected. For example legacy rule actions aren't persisted in rule's SO when it's expected by the test. This PR includes `perform_bulk_action_ess.ts` refactoring to create disabled rules in the majority of tests. Enabled rules are created only in tests checking behavior upon rules disabling. These tests were checked multiple times and didn't demonstrate flakiness. Additionally `@kbn/expect` was replaced with `expect` to make asserting more transparent and avoid unclear error messages. ## Flaky test results [100 runs](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/7274) 🟢
- Loading branch information