Commit e86ca4b
# Backport
This will backport the following commits from `main` to `8.x`:
- [Migrate onboarding Cypress tests to Scout
(#205482)](#205482)
<!--- Backport version: 9.6.4 -->
### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)
<!--BACKPORT [{"author":{"name":"Mykola
Harmash","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-01-10T08:44:29Z","message":"Migrate
onboarding Cypress tests to Scout (#205482)\n\nThis change converts
Cypress tests for the custom logs flow into\r\nPlaywright using [the
Scout\r\nwrapper](https://github.com/elastic/kibana/tree/main/packages/kbn-scout).\r\n\r\n>
[!NOTE]\r\n> As Scout package is still being developed, the PR pipeline
configured\r\nto runs Playwright tests only when code in certain plugins
have been\r\nchanged and not on every PR.\r\n\r\n### How to run tests
locally\r\n\r\nStart the Scout server\r\n```bash\r\nnode
scripts/scout.js start-server --stateful\r\n```\r\n\r\nIn a separate
terminal run the tests\r\n```bash\r\nnpx playwright test --config
x-pack/solutions/observability/plugins/observability_onboarding/ui_tests/playwright.config.ts\r\n```\r\n\r\nPlaywright
runs browsers in a headless mode by default, user `--headed`\r\noption
if
needed","sha":"6ed214a69f75a69305cbb06515bdb5e9e75ac3ae","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:skip","v9.0.0","ci:project-deploy-observability"],"title":"Migrate
onboarding Cypress tests to
Scout","number":205482,"url":"https://github.com/elastic/kibana/pull/205482","mergeCommit":{"message":"Migrate
onboarding Cypress tests to Scout (#205482)\n\nThis change converts
Cypress tests for the custom logs flow into\r\nPlaywright using [the
Scout\r\nwrapper](https://github.com/elastic/kibana/tree/main/packages/kbn-scout).\r\n\r\n>
[!NOTE]\r\n> As Scout package is still being developed, the PR pipeline
configured\r\nto runs Playwright tests only when code in certain plugins
have been\r\nchanged and not on every PR.\r\n\r\n### How to run tests
locally\r\n\r\nStart the Scout server\r\n```bash\r\nnode
scripts/scout.js start-server --stateful\r\n```\r\n\r\nIn a separate
terminal run the tests\r\n```bash\r\nnpx playwright test --config
x-pack/solutions/observability/plugins/observability_onboarding/ui_tests/playwright.config.ts\r\n```\r\n\r\nPlaywright
runs browsers in a headless mode by default, user `--headed`\r\noption
if
needed","sha":"6ed214a69f75a69305cbb06515bdb5e9e75ac3ae"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/205482","number":205482,"mergeCommit":{"message":"Migrate
onboarding Cypress tests to Scout (#205482)\n\nThis change converts
Cypress tests for the custom logs flow into\r\nPlaywright using [the
Scout\r\nwrapper](https://github.com/elastic/kibana/tree/main/packages/kbn-scout).\r\n\r\n>
[!NOTE]\r\n> As Scout package is still being developed, the PR pipeline
configured\r\nto runs Playwright tests only when code in certain plugins
have been\r\nchanged and not on every PR.\r\n\r\n### How to run tests
locally\r\n\r\nStart the Scout server\r\n```bash\r\nnode
scripts/scout.js start-server --stateful\r\n```\r\n\r\nIn a separate
terminal run the tests\r\n```bash\r\nnpx playwright test --config
x-pack/solutions/observability/plugins/observability_onboarding/ui_tests/playwright.config.ts\r\n```\r\n\r\nPlaywright
runs browsers in a headless mode by default, user `--headed`\r\noption
if needed","sha":"6ed214a69f75a69305cbb06515bdb5e9e75ac3ae"}}]}]
BACKPORT-->
---------
Co-authored-by: kibanamachine <[email protected]>
1 parent 7f23710 commit e86ca4b
File tree
34 files changed
+1270
-2036
lines changed- .buildkite
- pipelines/pull_request
- scripts
- pipelines/pull_request
- steps/functional
- .github
- x-pack/solutions/observability/plugins/observability_onboarding
- e2e
- cypress
- e2e
- logs
- custom_logs
- support
- ui_tests
- fixtures
- page_objects
- tests/custom_logs
34 files changed
+1270
-2036
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | 112 | | |
125 | 113 | | |
126 | 114 | | |
| |||
405 | 393 | | |
406 | 394 | | |
407 | 395 | | |
| 396 | + | |
408 | 397 | | |
409 | 398 | | |
410 | 399 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
684 | 684 | | |
685 | 685 | | |
686 | 686 | | |
687 | | - | |
688 | 687 | | |
689 | 688 | | |
690 | 689 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1473 | 1473 | | |
1474 | 1474 | | |
1475 | 1475 | | |
1476 | | - | |
1477 | 1476 | | |
1478 | 1477 | | |
1479 | 1478 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1362 | 1362 | | |
1363 | 1363 | | |
1364 | 1364 | | |
1365 | | - | |
1366 | | - | |
1367 | 1365 | | |
1368 | 1366 | | |
1369 | 1367 | | |
| |||
Lines changed: 0 additions & 51 deletions
This file was deleted.
Lines changed: 0 additions & 32 deletions
This file was deleted.
Lines changed: 0 additions & 36 deletions
This file was deleted.
0 commit comments