When we create detection rules in Cypress tests, in most cases we create them enabled. This shouldn't be needed for many of the tests, e.g. it's not needed for the majority of rule management tests. Enabled rules consume resources of the BE which negatively affects the performance of Cypress tests themselves.
By default, create rules disabled. Only enable them or create enabled where necessary.
Epic: https://github.com/elastic/kibana/issues/153633 Related to: https://github.com/elastic/kibana/pull/147349
Summary
When we create detection rules in Cypress tests, in most cases we create them enabled. This shouldn't be needed for many of the tests, e.g. it's not needed for the majority of rule management tests. Enabled rules consume resources of the BE which negatively affects the performance of Cypress tests themselves.
By default, create rules disabled. Only enable them or create enabled where necessary.