[APM] Migrate the Transaction Overview tests to Scout/Playwright/Component/API tests#245972
Conversation
|
Pinging @elastic/obs-presentation-team (Team:obs-presentation) |
…saction-overview-tests
Flaky Test Runner Stats🎉 All tests passed! - kibana-flaky-test-suite-runner#10065[✅] x-pack/solutions/observability/plugins/apm/test/scout/ui/parallel.playwright.config.ts: 15/15 tests passed. |
src/platform/packages/shared/kbn-scout/src/playwright/fixtures/scope/test/scout_page/index.ts
Outdated
Show resolved
Hide resolved
...orm/packages/shared/kbn-scout/src/playwright/fixtures/scope/test/scout_page/single_thread.ts
Outdated
Show resolved
Hide resolved
Flaky Test Runner Stats🎉 All tests passed! - kibana-flaky-test-suite-runner#10078[✅] x-pack/solutions/observability/plugins/apm/test/scout/ui/parallel.playwright.config.ts: 15/15 tests passed. |
jennypavlova
left a comment
There was a problem hiding this comment.
Well done 💯 I added some suggestions ⬇️
...lutions/observability/plugins/apm/test/scout/ui/fixtures/page_objects/transaction_details.ts
Outdated
Show resolved
Hide resolved
...plugins/apm/test/scout/ui/parallel_tests/transactions_overview/transactions_overview.spec.ts
Show resolved
Hide resolved
...plugins/apm/test/scout/ui/parallel_tests/transactions_overview/transactions_overview.spec.ts
Outdated
Show resolved
Hide resolved
...observability/plugins/apm/test/scout/ui/parallel_tests/service_groups/service_groups.spec.ts
Outdated
Show resolved
Hide resolved
...observability/plugins/apm/test/scout/ui/parallel_tests/service_groups/service_groups.spec.ts
Outdated
Show resolved
Hide resolved
…saction-overview-tests
Flaky Test Runner Stats🎉 All tests passed! - kibana-flaky-test-suite-runner#10097[✅] x-pack/solutions/observability/plugins/apm/test/scout/ui/parallel.playwright.config.ts: 15/15 tests passed. |
jennypavlova
left a comment
There was a problem hiding this comment.
Thanks for addressing the comments, just a few small things ⬇️
...utions/observability/plugins/apm/test/scout/ui/fixtures/page_objects/agent_configurations.ts
Outdated
Show resolved
Hide resolved
...plugins/apm/test/scout/ui/parallel_tests/transactions_overview/transactions_overview.spec.ts
Outdated
Show resolved
Hide resolved
jennypavlova
left a comment
There was a problem hiding this comment.
LGTM 💯 Thanks for all the fixes!
.../api_integration_deployment_agnostic/apis/apm/transactions/transactions_groups_order.spec.ts
Outdated
Show resolved
Hide resolved
.../api_integration_deployment_agnostic/apis/apm/transactions/transactions_groups_order.spec.ts
Outdated
Show resolved
Hide resolved
Flaky Test Runner Stats🎉 All tests passed! - kibana-flaky-test-suite-runner#10111[✅] x-pack/solutions/observability/plugins/apm/test/scout/ui/parallel.playwright.config.ts: 15/15 tests passed. |
Flaky Test Runner Stats🟠 Some tests failed. - kibana-flaky-test-suite-runner#10114[✅] x-pack/solutions/observability/test/api_integration_deployment_agnostic/configs/stateful/oblt.apm.stateful.config.ts: 25/25 tests passed. |
Flaky Test Runner Stats🎉 All tests passed! - kibana-flaky-test-suite-runner#10117[✅] x-pack/solutions/observability/test/api_integration_deployment_agnostic/configs/stateful/oblt.apm.stateful.config.ts: 25/25 tests passed. |
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]
History
cc @sbelastic |
Flaky Test Runner Stats🎉 All tests passed! - kibana-flaky-test-suite-runner#10129[✅] x-pack/solutions/observability/test/api_integration_deployment_agnostic/configs/stateful/oblt.apm.stateful.config.ts: 25/25 tests passed. |
…donly * commit 'bb1f55fa520b30ceb923af069ef403b24dcb1606': (52 commits) [CPS][Maps] Support CPS Picker in Maps (elastic#246382) [APM] Migrate the Transaction Overview tests to Scout/Playwright/Component/API tests (elastic#245972) [Cases] Change nested field search to be case insensitive (elastic#246643) [ES|QL] PromQL parser initial implementation (elastic#246552) [Agent Builder] Adds keyboard shortcut and toggle behavior to AI Agent button (elastic#246659) Retry on "all shards failed" from ES (elastic#246533) [Streams] Test enable wired streams flow (elastic#246113) [Agent Builder] Fast-follow bugfixes for MCP Tool type (elastic#246665) [Entity Store][API] Fix snake case on CRUD API List response (elastic#246003) [ResponseOps][Slack] Simplify channel configuration (elastic#245423) Add Canonical Name Badge to Documentation (elastic#246647) [Streams] Add simulation filtering by conditions (elastic#245400) [o11y AI] Add `get_hosts` tool (elastic#246541) [agent builder] create_visualization: support heatmap and regionmap (elastic#246671) [AI Infra] Chat experience: Selection modal title change (elastic#246683) [Background search] Change polling behavior (elastic#244760) [ES|QL ] Common Lookup Join Fields Are Not Listed First (elastic#246582) Add missing `dynamic: false` (elastic#246685) [Metrics in Discover] Unskip metrics api test (elastic#246593) [ES|QL] Show next actions after simple field assignment in RERANK ON Clause (elastic#246676) ...
…onent/API tests (elastic#245972) Closes elastic#238515 ## Summary Migrating transactions overview tests from Cypress to Scout ### Running tests e2e Run server (first terminal): `node scripts/scout.js start-server --stateful` Run tests (second terminal): ` npx playwright test --project local --ui --config x-pack/solutions/observability/plugins/apm/test/scout/ui/parallel.playwright.config.ts ` ### Running tests api Run server (first terminal): `node scripts/functional_tests_server --config x-pack/solutions/observability/test/api_integration_deployment_agnostic/configs/stateful/oblt.apm.stateful.config.ts` Run tests (second terminal): `node scripts/functional_test_runner --config x-pack/solutions/observability/test/api_integration_deployment_agnostic/configs/stateful/oblt.apm.stateful.config.ts --include=x-pack/solutions/observability/test/api_integration_deployment_agnostic/apis/apm/transactions/transactions_groups_order.spec.ts` ### New tests result output <img width="1919" height="1122" alt="image" src="https://github.com/user-attachments/assets/7167375c-879d-410a-912a-ab6581011fdf" /> ### Checklist Check the PR satisfies following conditions. Reviewers should verify this PR satisfies this list as well. - [x] [Flaky Test Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was used on any tests changed --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
…onent/API tests (elastic#245972) Closes elastic#238515 Migrating transactions overview tests from Cypress to Scout Run server (first terminal): `node scripts/scout.js start-server --stateful` Run tests (second terminal): ` npx playwright test --project local --ui --config x-pack/solutions/observability/plugins/apm/test/scout/ui/parallel.playwright.config.ts ` Run server (first terminal): `node scripts/functional_tests_server --config x-pack/solutions/observability/test/api_integration_deployment_agnostic/configs/stateful/oblt.apm.stateful.config.ts` Run tests (second terminal): `node scripts/functional_test_runner --config x-pack/solutions/observability/test/api_integration_deployment_agnostic/configs/stateful/oblt.apm.stateful.config.ts --include=x-pack/solutions/observability/test/api_integration_deployment_agnostic/apis/apm/transactions/transactions_groups_order.spec.ts` <img width="1919" height="1122" alt="image" src="https://github.com/user-attachments/assets/7167375c-879d-410a-912a-ab6581011fdf" /> Check the PR satisfies following conditions. Reviewers should verify this PR satisfies this list as well. - [x] [Flaky Test Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was used on any tests changed --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> (cherry picked from commit 23c0e3c)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…t/Component/API tests (#245972) (#252497) # Backport This will backport the following commits from `main` to `9.2`: - [[APM] Migrate the Transaction Overview tests to Scout/Playwright/Component/API tests (#245972)](#245972) <!--- Backport version: 10.2.0 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Samuel Brito","email":"samuel.brito@elastic.co"},"sourceCommit":{"committedDate":"2025-12-17T14:38:47Z","message":"[APM] Migrate the Transaction Overview tests to Scout/Playwright/Component/API tests (#245972)\n\nCloses https://github.com/elastic/kibana/issues/238515\n\n## Summary\n\nMigrating transactions overview tests from Cypress to Scout\n\n### Running tests e2e\n\nRun server (first terminal):\n\n`node scripts/scout.js start-server --stateful`\n\nRun tests (second terminal):\n\n`\nnpx playwright test --project local --ui --config\nx-pack/solutions/observability/plugins/apm/test/scout/ui/parallel.playwright.config.ts\n`\n\n\n### Running tests api\n\nRun server (first terminal):\n\n`node scripts/functional_tests_server --config\nx-pack/solutions/observability/test/api_integration_deployment_agnostic/configs/stateful/oblt.apm.stateful.config.ts`\n\nRun tests (second terminal):\n\n`node scripts/functional_test_runner --config\nx-pack/solutions/observability/test/api_integration_deployment_agnostic/configs/stateful/oblt.apm.stateful.config.ts\n--include=x-pack/solutions/observability/test/api_integration_deployment_agnostic/apis/apm/transactions/transactions_groups_order.spec.ts`\n\n### New tests result output\n\n<img width=\"1919\" height=\"1122\" alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/7167375c-879d-410a-912a-ab6581011fdf\"\n/>\n\n### Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers should verify this PR satisfies this list as well.\n\n\n- [x] [Flaky Test\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\nused on any tests changed\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"23c0e3c05ca2cc666a95d8a89756e8307fd2886e","branchLabelMapping":{"^v9.3.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:skip","v9.3.0","Team:obs-presentation"],"title":"[APM] Migrate the Transaction Overview tests to Scout/Playwright/Component/API tests","number":245972,"url":"https://github.com/elastic/kibana/pull/245972","mergeCommit":{"message":"[APM] Migrate the Transaction Overview tests to Scout/Playwright/Component/API tests (#245972)\n\nCloses https://github.com/elastic/kibana/issues/238515\n\n## Summary\n\nMigrating transactions overview tests from Cypress to Scout\n\n### Running tests e2e\n\nRun server (first terminal):\n\n`node scripts/scout.js start-server --stateful`\n\nRun tests (second terminal):\n\n`\nnpx playwright test --project local --ui --config\nx-pack/solutions/observability/plugins/apm/test/scout/ui/parallel.playwright.config.ts\n`\n\n\n### Running tests api\n\nRun server (first terminal):\n\n`node scripts/functional_tests_server --config\nx-pack/solutions/observability/test/api_integration_deployment_agnostic/configs/stateful/oblt.apm.stateful.config.ts`\n\nRun tests (second terminal):\n\n`node scripts/functional_test_runner --config\nx-pack/solutions/observability/test/api_integration_deployment_agnostic/configs/stateful/oblt.apm.stateful.config.ts\n--include=x-pack/solutions/observability/test/api_integration_deployment_agnostic/apis/apm/transactions/transactions_groups_order.spec.ts`\n\n### New tests result output\n\n<img width=\"1919\" height=\"1122\" alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/7167375c-879d-410a-912a-ab6581011fdf\"\n/>\n\n### Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers should verify this PR satisfies this list as well.\n\n\n- [x] [Flaky Test\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\nused on any tests changed\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"23c0e3c05ca2cc666a95d8a89756e8307fd2886e"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.3.0","branchLabelMappingKey":"^v9.3.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/245972","number":245972,"mergeCommit":{"message":"[APM] Migrate the Transaction Overview tests to Scout/Playwright/Component/API tests (#245972)\n\nCloses https://github.com/elastic/kibana/issues/238515\n\n## Summary\n\nMigrating transactions overview tests from Cypress to Scout\n\n### Running tests e2e\n\nRun server (first terminal):\n\n`node scripts/scout.js start-server --stateful`\n\nRun tests (second terminal):\n\n`\nnpx playwright test --project local --ui --config\nx-pack/solutions/observability/plugins/apm/test/scout/ui/parallel.playwright.config.ts\n`\n\n\n### Running tests api\n\nRun server (first terminal):\n\n`node scripts/functional_tests_server --config\nx-pack/solutions/observability/test/api_integration_deployment_agnostic/configs/stateful/oblt.apm.stateful.config.ts`\n\nRun tests (second terminal):\n\n`node scripts/functional_test_runner --config\nx-pack/solutions/observability/test/api_integration_deployment_agnostic/configs/stateful/oblt.apm.stateful.config.ts\n--include=x-pack/solutions/observability/test/api_integration_deployment_agnostic/apis/apm/transactions/transactions_groups_order.spec.ts`\n\n### New tests result output\n\n<img width=\"1919\" height=\"1122\" alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/7167375c-879d-410a-912a-ab6581011fdf\"\n/>\n\n### Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers should verify this PR satisfies this list as well.\n\n\n- [x] [Flaky Test\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\nused on any tests changed\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"23c0e3c05ca2cc666a95d8a89756e8307fd2886e"}}]}] BACKPORT--> Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Closes #238515
Summary
Migrating transactions overview tests from Cypress to Scout
Running tests e2e
Run server (first terminal):
node scripts/scout.js start-server --statefulRun tests (second terminal):
npx playwright test --project local --ui --config x-pack/solutions/observability/plugins/apm/test/scout/ui/parallel.playwright.config.tsRunning tests api
Run server (first terminal):
node scripts/functional_tests_server --config x-pack/solutions/observability/test/api_integration_deployment_agnostic/configs/stateful/oblt.apm.stateful.config.tsRun tests (second terminal):
node scripts/functional_test_runner --config x-pack/solutions/observability/test/api_integration_deployment_agnostic/configs/stateful/oblt.apm.stateful.config.ts --include=x-pack/solutions/observability/test/api_integration_deployment_agnostic/apis/apm/transactions/transactions_groups_order.spec.tsNew tests result output
Checklist
Check the PR satisfies following conditions.
Reviewers should verify this PR satisfies this list as well.