Commit b284da5
[9.2] [APM] Settings page: Migrate and fix flaky tests (elastic#237172) (elastic#240096)
# Backport
This will backport the following commits from `main` to `9.2`:
- [[APM] Settings page: Migrate and fix flaky tests
(elastic#237172)](elastic#237172)
<!--- Backport version: 10.1.0 -->
### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)
<!--BACKPORT
[{"author":{"name":"jennypavlova","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-10-22T13:08:38Z","message":"[APM]
Settings page: Migrate and fix flaky tests (elastic#237172)\n\nCloses
elastic#237021\nCloses elastic#228236\nCloses elastic#228297\nCloses elastic#228238\nCloses
elastic#206016\n\n## Summary\n\nThis PR migrates the APM settings page from
Cypress to Playwright. It\naims to improve the structure and complexity
by:\n- Keep the tests to a minimum and expand the component tests\n-
Moves 'clears filter values when field is selected' e2e test
to\n/x-pack/solutions/observability/plugins/apm/public/components/app/settings/custom_link/index.test.tsx\n-
Advanced configuration e2e test was moved to component
test:\nx-pack/solutions/observability/plugins/apm/public/components/app/settings/agent_configurations/agent_configuration_create_edit/settings_page/settings_page.test.tsx\n-
Tries to cover Serverless vs ESS cases and permission-based tests
as\ne2e, including the happy path\n\nTo cover the permission testing, I
added 2 of the roles as custom roles\nfor APM in Scout - it required a
small type change there.\n\n1 parent d7412c9 commit b284da5
File tree
30 files changed
+2043
-1094
lines changed- x-pack/solutions/observability/plugins/apm
- ftr_e2e/cypress/e2e/settings
- public/components/app/settings
- agent_configurations/agent_configuration_create_edit
- service_page
- settings_page
- agent_explorer/agent_instances
- agent_instances_details
- custom_link/create_edit_custom_link_flyout
- test/scout/ui
- fixtures
- page_objects
- parallel_tests/settings
30 files changed
+2043
-1094
lines changedx-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/settings/agent_configurations.cy.ts
Lines changed: 0 additions & 482 deletions
This file was deleted.
Lines changed: 0 additions & 97 deletions
This file was deleted.
Lines changed: 0 additions & 102 deletions
This file was deleted.
Lines changed: 0 additions & 150 deletions
This file was deleted.
0 commit comments