Skip to content

Comments

[APM] Migrate the rest of service overview tests to Scout/Playwright/Component/API tests#247395

Merged
sbelastic merged 28 commits intoelastic:mainfrom
sbelastic:238516-service-overview-scout-migration
Dec 31, 2025
Merged

[APM] Migrate the rest of service overview tests to Scout/Playwright/Component/API tests#247395
sbelastic merged 28 commits intoelastic:mainfrom
sbelastic:238516-service-overview-scout-migration

Conversation

@sbelastic
Copy link
Contributor

@sbelastic sbelastic commented Dec 23, 2025

Closes #238516

Summary

Migrating service 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

Run jest tests

yarn test:jest x-pack/solutions/observability/plugins/apm/public/components/app/service_overview/service_overview_instances_table/index.test.tsx

yarn test:jest x-pack/solutions/observability/plugins/apm/public/components/app/service_overview/service_overview_instances_table/instance_actions_menu/menu_sections.test.tsx

Checklist

Check the PR satisfies following conditions.

Reviewers should verify this PR satisfies this list as well.

@sbelastic sbelastic self-assigned this Dec 23, 2025
@sbelastic sbelastic added release_note:skip Skip the PR/issue when compiling release notes backport:skip This PR does not require backporting v9.4.0 Team:obs-presentation Focus: APM UI, Infra UI, Hosts UI, Universal Profiling, Obs Overview and left Navigation labels Dec 23, 2025
@kibanamachine
Copy link
Contributor

Flaky Test Runner Stats

🟠 Some tests failed. - kibana-flaky-test-suite-runner#10230

[❌] x-pack/solutions/observability/plugins/apm/test/scout/ui/parallel.playwright.config.ts: 0/15 tests passed.

see run history

@kibanamachine
Copy link
Contributor

Flaky Test Runner Stats

🟠 Some tests failed. - kibana-flaky-test-suite-runner#10231

[❌] x-pack/solutions/observability/plugins/apm/test/scout/ui/parallel.playwright.config.ts: 0/15 tests passed.

see run history

@kibanamachine
Copy link
Contributor

Flaky Test Runner Stats

🟠 Some tests failed. - kibana-flaky-test-suite-runner#10232

[❌] x-pack/solutions/observability/plugins/apm/test/scout/ui/parallel.playwright.config.ts: 5/15 tests passed.

see run history

@kibanamachine
Copy link
Contributor

Flaky Test Runner Stats

🎉 All tests passed! - kibana-flaky-test-suite-runner#10234

[✅] x-pack/solutions/observability/plugins/apm/test/scout/ui/parallel.playwright.config.ts: 15/15 tests passed.

see run history

@kibanamachine
Copy link
Contributor

Flaky Test Runner Stats

🟠 Some tests failed. - kibana-flaky-test-suite-runner#10236

[❌] x-pack/solutions/observability/plugins/apm/test/scout/ui/parallel.playwright.config.ts: 7/15 tests passed.

see run history

@kibanamachine
Copy link
Contributor

Flaky Test Runner Stats

🟠 Some tests failed. - kibana-flaky-test-suite-runner#10240

[❌] x-pack/solutions/observability/plugins/apm/test/scout/ui/parallel.playwright.config.ts: 11/15 tests passed.

see run history

@kibanamachine
Copy link
Contributor

Flaky Test Runner Stats

🟠 Some tests failed. - kibana-flaky-test-suite-runner#10242

[❌] x-pack/solutions/observability/plugins/apm/test/scout/ui/parallel.playwright.config.ts: 0/15 tests passed.

see run history

@kibanamachine
Copy link
Contributor

Flaky Test Runner Stats

🟠 Some tests failed. - kibana-flaky-test-suite-runner#10244

[❌] x-pack/solutions/observability/plugins/apm/test/scout/ui/parallel.playwright.config.ts: 11/15 tests passed.

see run history

Copy link
Contributor

@AlejandroFrndz AlejandroFrndz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Leaving some thoughts mostly around the page object structure

@kibanamachine
Copy link
Contributor

Flaky Test Runner Stats

🟠 Some tests failed. - kibana-flaky-test-suite-runner#10245

[❌] x-pack/solutions/observability/plugins/apm/test/scout/ui/parallel.playwright.config.ts: 5/15 tests passed.

see run history

@kibanamachine
Copy link
Contributor

Flaky Test Runner Stats

🎉 All tests passed! - kibana-flaky-test-suite-runner#10284

[✅] x-pack/solutions/observability/plugins/apm/test/scout/ui/parallel.playwright.config.ts: 15/15 tests passed.

see run history

Copy link
Contributor

@AlejandroFrndz AlejandroFrndz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We're almost there, but there are still a couple of comments from @miloszmarcinkowski that haven't been addressed yet

Copy link
Contributor

@AlejandroFrndz AlejandroFrndz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@kibanamachine
Copy link
Contributor

Flaky Test Runner Stats

🎉 All tests passed! - kibana-flaky-test-suite-runner#10290

[✅] x-pack/solutions/observability/plugins/apm/test/scout/ui/parallel.playwright.config.ts: 15/15 tests passed.

see run history

@sbelastic sbelastic enabled auto-merge (squash) December 31, 2025 13:10
@sbelastic sbelastic merged commit b6b64ee into elastic:main Dec 31, 2025
13 checks passed
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

History

cc @sbelastic

CAWilson94 pushed a commit to CAWilson94/kibana that referenced this pull request Jan 6, 2026
…Component/API tests (elastic#247395)

Closes elastic#238516

## Summary

Migrating service 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
`

### Run jest tests

`yarn test:jest
x-pack/solutions/observability/plugins/apm/public/components/app/service_overview/service_overview_instances_table/index.test.tsx`

`yarn test:jest
x-pack/solutions/observability/plugins/apm/public/components/app/service_overview/service_overview_instances_table/instance_actions_menu/menu_sections.test.tsx`


### 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 ([last successful
run](elastic#247395 (comment)))
dej611 pushed a commit to dej611/kibana that referenced this pull request Jan 8, 2026
…Component/API tests (elastic#247395)

Closes elastic#238516

## Summary

Migrating service 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
`

### Run jest tests

`yarn test:jest
x-pack/solutions/observability/plugins/apm/public/components/app/service_overview/service_overview_instances_table/index.test.tsx`

`yarn test:jest
x-pack/solutions/observability/plugins/apm/public/components/app/service_overview/service_overview_instances_table/instance_actions_menu/menu_sections.test.tsx`


### 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 ([last successful
run](elastic#247395 (comment)))
devamanv pushed a commit to devamanv/kibana that referenced this pull request Jan 12, 2026
…Component/API tests (elastic#247395)

Closes elastic#238516

## Summary

Migrating service 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
`

### Run jest tests

`yarn test:jest
x-pack/solutions/observability/plugins/apm/public/components/app/service_overview/service_overview_instances_table/index.test.tsx`

`yarn test:jest
x-pack/solutions/observability/plugins/apm/public/components/app/service_overview/service_overview_instances_table/instance_actions_menu/menu_sections.test.tsx`


### 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 ([last successful
run](elastic#247395 (comment)))
sbelastic pushed a commit to sbelastic/kibana that referenced this pull request Feb 9, 2026
…Component/API tests (elastic#247395)

Closes elastic#238516

Migrating service 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
`

`yarn test:jest
x-pack/solutions/observability/plugins/apm/public/components/app/service_overview/service_overview_instances_table/index.test.tsx`

`yarn test:jest
x-pack/solutions/observability/plugins/apm/public/components/app/service_overview/service_overview_instances_table/instance_actions_menu/menu_sections.test.tsx`

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 ([last successful
run](elastic#247395 (comment)))

(cherry picked from commit b6b64ee)
sbelastic added a commit to sbelastic/kibana that referenced this pull request Feb 11, 2026
…Component/API tests (elastic#247395)

Closes elastic#238516

Migrating service 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
`

`yarn test:jest
x-pack/solutions/observability/plugins/apm/public/components/app/service_overview/service_overview_instances_table/index.test.tsx`

`yarn test:jest
x-pack/solutions/observability/plugins/apm/public/components/app/service_overview/service_overview_instances_table/instance_actions_menu/menu_sections.test.tsx`

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 ([last successful
run](elastic#247395 (comment)))

(cherry picked from commit b6b64ee)
sbelastic added a commit to sbelastic/kibana that referenced this pull request Feb 11, 2026
…Component/API tests (elastic#247395)

Closes elastic#238516

Migrating service 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
`

`yarn test:jest
x-pack/solutions/observability/plugins/apm/public/components/app/service_overview/service_overview_instances_table/index.test.tsx`

`yarn test:jest
x-pack/solutions/observability/plugins/apm/public/components/app/service_overview/service_overview_instances_table/instance_actions_menu/menu_sections.test.tsx`

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 ([last successful
run](elastic#247395 (comment)))

(cherry picked from commit b6b64ee)
@sbelastic
Copy link
Contributor Author

💚 All backports created successfully

Status Branch Result
9.3
9.2

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

sbelastic added a commit to sbelastic/kibana that referenced this pull request Feb 13, 2026
…Component/API tests (elastic#247395)

Closes elastic#238516

Migrating service 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
`

`yarn test:jest
x-pack/solutions/observability/plugins/apm/public/components/app/service_overview/service_overview_instances_table/index.test.tsx`

`yarn test:jest
x-pack/solutions/observability/plugins/apm/public/components/app/service_overview/service_overview_instances_table/instance_actions_menu/menu_sections.test.tsx`

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 ([last successful
run](elastic#247395 (comment)))

(cherry picked from commit b6b64ee)
sbelastic added a commit to sbelastic/kibana that referenced this pull request Feb 13, 2026
…Component/API tests (elastic#247395)

Closes elastic#238516

Migrating service 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
`

`yarn test:jest
x-pack/solutions/observability/plugins/apm/public/components/app/service_overview/service_overview_instances_table/index.test.tsx`

`yarn test:jest
x-pack/solutions/observability/plugins/apm/public/components/app/service_overview/service_overview_instances_table/instance_actions_menu/menu_sections.test.tsx`

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 ([last successful
run](elastic#247395 (comment)))

(cherry picked from commit b6b64ee)
@sbelastic
Copy link
Contributor Author

💚 All backports created successfully

Status Branch Result
9.3
9.2

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

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:obs-presentation Focus: APM UI, Infra UI, Hosts UI, Universal Profiling, Obs Overview and left Navigation v9.4.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[APM] Migrate the rest of service overview tests to Scout/Playwright/Component/API tests

5 participants