Skip to content

[Uptime] Migrate functional_with_es_ssl alert tests to Scout#272030

Draft
shahzad31 wants to merge 1 commit into
elastic:mainfrom
shahzad31:cleanup/uptime-es-ssl-ftr-to-scout
Draft

[Uptime] Migrate functional_with_es_ssl alert tests to Scout#272030
shahzad31 wants to merge 1 commit into
elastic:mainfrom
shahzad31:cleanup/uptime-es-ssl-ftr-to-scout

Conversation

@shahzad31
Copy link
Copy Markdown
Contributor

Summary

The observability functional_with_es_ssl FTR config existed solely to run two legacy uptime alerting UI suites (apps/uptime/alert_flyout.ts and apps/uptime/simple_down_alert.ts). This migrates the still-needed coverage to the existing uptime Scout UI suite and removes the standalone FTR config.

  • Add monitor_status_alert_flyout.spec.ts — opens the monitor status rule flyout from the rules app and verifies the form renders (migrated from the overview page alert flyout controls block).
  • Add simple_down_alert.spec.ts — enables/disables a simple status alert from the monitor list and verifies the created rule via API. The connector is created via the actions API in setup instead of relying on a preconfigured my-slack1 connector.
  • Dropped (not migrated): the TLS alert flyout block — already covered by the existing tls_alert_flyout.spec.ts.
  • Delete x-pack/solutions/observability/test/functional_with_es_ssl/ entirely, plus its entry in .buildkite/ftr-manifests/ftr_oblt_stateful_configs.yml and the now-stale .github/CODEOWNERS lines.
  • Regenerated the uptime Scout UI .meta/ui/standard.json.

Net: -447 / +181 lines, one fewer stateful FTR config in CI.

Test plan

  • node scripts/eslint on the new specs — clean
  • node scripts/type_check --project .../uptime/test/scout/ui/tsconfig.json — passes
  • Ran both new specs locally against a stateful Scout server — 3 passed (setup-local + MonitorStatusFlyoutInAlertingApp + SimpleDownAlert)
  • CI green

Note: the local node scripts/check.js --scope branch gate flagged two tsc errors in kbn-esql-language and expression_xy that are unrelated to this change (pre-existing on main); this PR touches neither file.

Made with Cursor

The observability `functional_with_es_ssl` FTR config only existed to run two
legacy uptime alerting UI suites (`alert_flyout` and `simple_down_alert`).
These are migrated to the existing uptime Scout UI suite and the standalone FTR
config is removed:

- Add `monitor_status_alert_flyout.spec.ts` (monitor status rule flyout).
- Add `simple_down_alert.spec.ts` (enable/disable simple status alert from the
  monitor list, with a connector created via API instead of a preconfigured one).
- The TLS alert flyout block is already covered by `tls_alert_flyout.spec.ts`,
  so it is dropped rather than migrated.
- Delete `x-pack/solutions/observability/test/functional_with_es_ssl/` and its
  CI manifest entry + stale CODEOWNERS lines.

Co-authored-by: Cursor <cursoragent@cursor.com>
@shahzad31 shahzad31 added the release_note:skip Skip the PR/issue when compiling release notes label May 30, 2026
@github-actions github-actions Bot added the author:actionable-obs PRs authored by the actionable obs team label May 30, 2026
@infra-vault-gh-plugin-prod
Copy link
Copy Markdown

🤖 Jobs for this PR can be triggered through checkboxes. 🚧

ℹ️ To trigger the CI, please tick the checkbox below 👇

  • Click to trigger kibana-pull-request for this PR!
  • Click to trigger kibana-deploy-project-from-pr for this PR!
  • Click to trigger kibana-deploy-cloud-from-pr for this PR!
  • Click to trigger kibana-entity-store-performance-from-pr for this PR!
  • Click to trigger kibana-storybooks-from-pr for this PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author:actionable-obs PRs authored by the actionable obs team release_note:skip Skip the PR/issue when compiling release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant