Skip to content

[EDR Workflows] Fix artifact FTR tests broken by artifacts regrouping#261845

Merged
szwarckonrad merged 1 commit intoelastic:mainfrom
szwarckonrad:fix/artifact-ftr-header-page-title
Apr 7, 2026
Merged

[EDR Workflows] Fix artifact FTR tests broken by artifacts regrouping#261845
szwarckonrad merged 1 commit intoelastic:mainfrom
szwarckonrad:fix/artifact-ftr-header-page-title

Conversation

@szwarckonrad
Copy link
Copy Markdown
Contributor

@szwarckonrad szwarckonrad commented Apr 7, 2026

The artifacts regrouping PR (#257001) reorganized all endpoint artifacts into a unified page with tabs. This changed the page structure so that header-page-title now belongs to the unified "Artifacts" page and is always present, regardless of whether individual tabs have entries.

Previously, trusted_apps_list.ts was skipped (flaky). Our PR #261180 unskipped it after fixing the underlying flakiness — but by that point the regrouping had already landed, making the header-page-title assertions invalid. The test immediately started failing on merge.

artifact_entries_list.ts has the same header-page-title assertions for all artifact types (trusted apps, event filters, blocklist, host isolation exceptions) — these would fail for the same reason once hit.

Fix: Replace missingOrFail('header-page-title') with existOrFail('*-emptyState') in both test files. The empty state test subject is the correct indicator that a tab has no entries.

Closes #261827
Closes #261829
Closes #261833
Closes #261849
Closes #261850

@szwarckonrad szwarckonrad added release_note:skip Skip the PR/issue when compiling release notes backport:skip This PR does not require backporting Team:Defend Workflows “EDR Workflows” sub-team of Security Solution labels Apr 7, 2026
@szwarckonrad szwarckonrad self-assigned this Apr 7, 2026
@szwarckonrad szwarckonrad marked this pull request as ready for review April 7, 2026 20:45
@szwarckonrad szwarckonrad requested a review from a team as a code owner April 7, 2026 20:45
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/security-defend-workflows (Team:Defend Workflows)

@elasticmachine
Copy link
Copy Markdown
Contributor

⏳ Build in-progress, with failures

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #109 / Cloud Security Posture - Group 5 (KSPM + Flyouts) Security Network Page - Entity Preview flyout via LOOKUP JOIN (v2) expanded flyout - grouped entities - show host entity details
  • [job] [logs] FTR Configs #109 / Cloud Security Posture - Group 5 (KSPM + Flyouts) Security Network Page - Entity Preview flyout via LOOKUP JOIN (v2) expanded flyout - grouped entities - show host entity details
  • [job] [logs] FTR Configs #164 / integrations For each artifact list under management When on the Event Filters entries list should be able to add a new Event Filters entry

cc @szwarckonrad

@szwarckonrad szwarckonrad force-pushed the fix/artifact-ftr-header-page-title branch from 21458b5 to e136f6e Compare April 7, 2026 21:34
@szwarckonrad szwarckonrad merged commit f496844 into elastic:main Apr 7, 2026
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:skip This PR does not require backporting release_note:skip Skip the PR/issue when compiling release notes Team:Defend Workflows “EDR Workflows” sub-team of Security Solution v9.4.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Failing test: X-Pack Endpoint Integrations Functional Tests on Serverless.x-pack/solutions/security/test/security_solution_endpoint/apps/integrations/artifact_entries_list·ts - integrations For each artifact list under management When on the Trusted applications entries list should not show page title if there is no Trusted applications entry Failing test: X-Pack Endpoint Integrations Functional Tests on ESS.x-pack/solutions/security/test/security_solution_endpoint/apps/integrations/artifact_entries_list·ts - integrations For each artifact list under management When on the Trusted applications entries list should not show page title if there is no Trusted applications entry Failing test: X-Pack Endpoint Integrations Functional Tests on ESS.x-pack/solutions/security/test/security_solution_endpoint/apps/integrations/trusted_apps_list·ts - integrations When on the Trusted Apps list should not show page title if there is no trusted app Failing test: X-Pack Endpoint Integrations Functional Tests on Serverless.x-pack/solutions/security/test/security_solution_endpoint/apps/integrations/trusted_apps_list·ts - integrations When on the Trusted Apps list should not show page title if there is no trusted app Failing test: X-Pack Endpoint Integrations Functional Tests on ESS.x-pack/solutions/security/test/security_solution_endpoint/apps/integrations/trusted_apps_list·ts - integrations When on the Trusted Apps list should be able to add a new trusted app and remove it

4 participants