kibana/x-pack/plugins/ux/e2e
Kibana Machine d75b20ed8b
[8.12] [UX INP] Fix label casing (#173605) (#173655)
# Backport

This will backport the following commits from `main` to `8.12`:
- [[UX INP] Fix label casing
(#173605)](https://github.com/elastic/kibana/pull/173605)

<!--- Backport version: 8.9.7 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT
[{"author":{"name":"Shahzad","email":"shahzad31comp@gmail.com"},"sourceCommit":{"committedDate":"2023-12-19T15:20:37Z","message":"[UX
INP] Fix label casing (#173605)\n\n## Summary\r\n\r\nFix label casing
!!","sha":"86561c2ace1924abb1d36c0c7abfd16b46a135c8","branchLabelMapping":{"^v8.13.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:prev-minor","Team:obs-ux-infra_services","Team:obs-ux-management","v8.13.0"],"number":173605,"url":"https://github.com/elastic/kibana/pull/173605","mergeCommit":{"message":"[UX
INP] Fix label casing (#173605)\n\n## Summary\r\n\r\nFix label casing
!!","sha":"86561c2ace1924abb1d36c0c7abfd16b46a135c8"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.13.0","labelRegex":"^v8.13.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/173605","number":173605,"mergeCommit":{"message":"[UX
INP] Fix label casing (#173605)\n\n## Summary\r\n\r\nFix label casing
!!","sha":"86561c2ace1924abb1d36c0c7abfd16b46a135c8"}}]}] BACKPORT-->

Co-authored-by: Shahzad <shahzad31comp@gmail.com>
2023-12-20 02:59:29 -07:00
..
fixtures [es_archives] add 'auto_expand_replicas: 0-1' in index mappings (#162499) 2023-07-26 14:30:54 +01:00
helpers Remove Playwright e2e test from Observability (#153934) 2023-03-29 17:01:35 +02:00
journeys [8.12] [UX INP] Fix label casing (#173605) (#173655) 2023-12-20 02:59:29 -07:00
page_objects
tasks Remove Playwright e2e test from Observability (#153934) 2023-03-29 17:01:35 +02:00
README.md [Observability] [UX] add synthetics e2e documentation (#139749) 2022-09-14 18:31:38 +09:30
synthetics_run.ts Remove Playwright e2e test from Observability (#153934) 2023-03-29 17:01:35 +02:00
tsconfig.json [Synthetics/Uptime] Separate e2e tests by app (#152197) 2023-06-07 17:33:56 +02:00

How to run these tests

These tests rely on the Kibana functional test runner. There is a Kibana config in this directory, and a dedicated script for standing up the test server.

Start the server

From ~/x-pack/plugins/ux/scripts, run node e2e.js --server. Wait for the server to startup. It will provide you with an example run command when it finishes.

Run the tests

From this directory, ~/x-pack/plugins/ux/e2e, you can now run node ../../../../scripts/functional_test_runner --config synthetics_run.ts.

In addition to the usual flags like --grep, you can also specify --no-headless in order to view your tests as you debug/develop.