Skip to content

Commit b9ba1ee

Browse files
kibanamachinermyz
andauthored
[9.1] [APM] Fix service_map scout test (#232217) (#232373)
# Backport This will backport the following commits from `main` to `9.1`: - [[APM] Fix service_map scout test (#232217)](#232217) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Sergi Romeu","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-08-20T11:20:25Z","message":"[APM] Fix service_map scout test (#232217)","sha":"053f63a52adb0ff666c86cbcbc6074d80c6fb6c9","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:obs-ux-infra_services","backport:version","v9.2.0","v9.1.3","v8.19.3"],"title":"[APM] Fix service_map scout test","number":232217,"url":"https://github.com/elastic/kibana/pull/232217","mergeCommit":{"message":"[APM] Fix service_map scout test (#232217)","sha":"053f63a52adb0ff666c86cbcbc6074d80c6fb6c9"}},"sourceBranch":"main","suggestedTargetBranches":["9.1","8.19"],"targetPullRequestStates":[{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/232217","number":232217,"mergeCommit":{"message":"[APM] Fix service_map scout test (#232217)","sha":"053f63a52adb0ff666c86cbcbc6074d80c6fb6c9"}},{"branch":"9.1","label":"v9.1.3","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.19","label":"v8.19.3","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Sergi Romeu <[email protected]>
1 parent 5fcdfd4 commit b9ba1ee

File tree

1 file changed

+5
-0
lines changed
  • x-pack/solutions/observability/plugins/apm/test/scout/ui/parallel_tests/sevice_map

1 file changed

+5
-0
lines changed

x-pack/solutions/observability/plugins/apm/test/scout/ui/parallel_tests/sevice_map/service_map.spec.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ test.describe('Service Map', { tag: ['@ess', '@svlOblt'] }, () => {
2424
expect(page.url()).toContain('/app/apm/service-map');
2525
await serviceMapPage.waitForServiceMapToLoad();
2626
await serviceMapPage.zoomInBtn.click();
27+
await serviceMapPage.serviceMap.focus();
2728
await serviceMapPage.centerServiceMapBtn.click();
29+
await serviceMapPage.serviceMap.focus();
2830
await serviceMapPage.waitForServiceMapToLoad();
2931
});
3032

@@ -36,8 +38,11 @@ test.describe('Service Map', { tag: ['@ess', '@svlOblt'] }, () => {
3638
expect(page.url()).toContain('/services/opbeans-java/service-map');
3739
await serviceMapPage.waitForServiceMapToLoad();
3840
await serviceMapPage.zoomOutBtn.click();
41+
await serviceMapPage.serviceMap.focus();
3942
await serviceMapPage.centerServiceMapBtn.click();
43+
await serviceMapPage.serviceMap.focus();
4044
await serviceMapPage.zoomInBtn.click();
45+
await serviceMapPage.serviceMap.focus();
4146
await serviceMapPage.waitForServiceMapToLoad();
4247
});
4348

0 commit comments

Comments
 (0)