Commit ff7c4e8
# Backport
This will backport the following commits from `main` to `9.2`:
- [[scout][discover] adjust locator for data view link
(#244670)](#244670)
<!--- Backport version: 9.6.6 -->
### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)
<!--BACKPORT [{"author":{"name":"Dzmitry
Lemechko","email":"dzmitry.lemechko@elastic.co"},"sourceCommit":{"committedDate":"2025-12-01T08:47:47Z","message":"[scout][discover]
adjust locator for data view link (#244670)\n\n## Summary\n\ncloses
https://github.com/elastic/kibana/issues/242488\n\nAdjusting locator
based on Playwright error message: it failed to\nresolve properly
locator with \"*\":\n\n```\n - waiting for
locator('[data-test-subj*=\"dataView-switch-link\"]')\n 14 × locator
resolved to <button type=\"button\" title=\"logstash-*\"
aria-expanded=\"false\" data-test-subj=\"discover-dataView-switch-link\"
aria-controls=\"i9c16f611-c16a-11f0-bb7d-e37913b192b6\"
class=\"euiButtonEmpty euiFormControlButton
css-1f89pwu-euiButtonDisplay-euiButtonEmpty-m-empty-text-euiFormControlButton-compressed-fullWidth\">…</button>\n
- unexpected value
\"logstash-*\"\n```","sha":"56e89d40c5cccdbab8c299008e960c054db05274","branchLabelMapping":{"^v9.3.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:all-open","test:scout","v9.3.0"],"title":"[scout][discover]
adjust locator for data view
link","number":244670,"url":"https://github.com/elastic/kibana/pull/244670","mergeCommit":{"message":"[scout][discover]
adjust locator for data view link (#244670)\n\n## Summary\n\ncloses
https://github.com/elastic/kibana/issues/242488\n\nAdjusting locator
based on Playwright error message: it failed to\nresolve properly
locator with \"*\":\n\n```\n - waiting for
locator('[data-test-subj*=\"dataView-switch-link\"]')\n 14 × locator
resolved to <button type=\"button\" title=\"logstash-*\"
aria-expanded=\"false\" data-test-subj=\"discover-dataView-switch-link\"
aria-controls=\"i9c16f611-c16a-11f0-bb7d-e37913b192b6\"
class=\"euiButtonEmpty euiFormControlButton
css-1f89pwu-euiButtonDisplay-euiButtonEmpty-m-empty-text-euiFormControlButton-compressed-fullWidth\">…</button>\n
- unexpected value
\"logstash-*\"\n```","sha":"56e89d40c5cccdbab8c299008e960c054db05274"}},"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/244670","number":244670,"mergeCommit":{"message":"[scout][discover]
adjust locator for data view link (#244670)\n\n## Summary\n\ncloses
https://github.com/elastic/kibana/issues/242488\n\nAdjusting locator
based on Playwright error message: it failed to\nresolve properly
locator with \"*\":\n\n```\n - waiting for
locator('[data-test-subj*=\"dataView-switch-link\"]')\n 14 × locator
resolved to <button type=\"button\" title=\"logstash-*\"
aria-expanded=\"false\" data-test-subj=\"discover-dataView-switch-link\"
aria-controls=\"i9c16f611-c16a-11f0-bb7d-e37913b192b6\"
class=\"euiButtonEmpty euiFormControlButton
css-1f89pwu-euiButtonDisplay-euiButtonEmpty-m-empty-text-euiFormControlButton-compressed-fullWidth\">…</button>\n
- unexpected value
\"logstash-*\"\n```","sha":"56e89d40c5cccdbab8c299008e960c054db05274"}}]}]
BACKPORT-->
Co-authored-by: Dzmitry Lemechko <dzmitry.lemechko@elastic.co>
1 parent 2d7af22 commit ff7c4e8
2 files changed
Lines changed: 13 additions & 9 deletions
File tree
- x-pack/platform/plugins/private/discover_enhanced/test/scout/ui/parallel_tests
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
35 | 39 | | |
36 | 40 | | |
37 | 41 | | |
| |||
Lines changed: 9 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | 28 | | |
35 | 29 | | |
36 | 30 | | |
| |||
85 | 79 | | |
86 | 80 | | |
87 | 81 | | |
88 | | - | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
89 | 85 | | |
90 | 86 | | |
91 | 87 | | |
| |||
113 | 109 | | |
114 | 110 | | |
115 | 111 | | |
116 | | - | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
117 | 115 | | |
118 | 116 | | |
119 | 117 | | |
| |||
126 | 124 | | |
127 | 125 | | |
128 | 126 | | |
129 | | - | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
| |||
0 commit comments