[Discover] [Rule Form v2] Search source alert tests depend on Stack Management application #179702
Labels
bug
Fixes for quality problems that affect the customer experience
Feature:Discover
Discover Application
Team:DataDiscovery
Discover App Team (Document Explorer, Saved Search, Surrounding documents, Graph)
Team:ResponseOps
Label for the ResponseOps team (formerly the Cases and Alerting teams)
Projects
Changes to the rule creation flow in Stack Management broke Discover tests related to the search source alert. This PR affected only the UI for Stack Management and Observability, but ultimately triggered codeowner review from Discover because of this test dependency.
In
x-pack/test/functional_with_es_ssl/apps/discover_ml_uptime/discover/search_source_alert.ts
(and itstest_serverless
equivalent), there are several places where this line of code is called:The tests appear to be doing this to create a rule, which then gets evaluated.
It's not sustainable for Discover tests to be dependent on a different application, especially with the work we're doing on Rule Flow V2. This test will likely break again in the future for changes unrelated to Discover. Therefore, we need to keep this test in the Discover app entirely, or to have it create rules through API calls.
The text was updated successfully, but these errors were encountered: