kibana/x-pack/test/screenshot_creation
Kibana Machine a197fb196b
[8.x] [Observability] add custom threshold functional test (#184602) (#193248)
# Backport

This will backport the following commits from `main` to `8.x`:
- [[Observability] add custom threshold functional test
(#184602)](https://github.com/elastic/kibana/pull/184602)

<!--- Backport version: 9.4.3 -->

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

<!--BACKPORT [{"author":{"name":"Dominique
Clarke","email":"dominique.clarke@elastic.co"},"sourceCommit":{"committedDate":"2024-09-18T07:56:58Z","message":"[Observability]
add custom threshold functional test (#184602)\n\nCloses
#175301\r\n\r\n##
Summary\r\n\r\nResolves\r\nhttps://github.com/orgs/elastic/projects/1375/views/1?pane=issue&itemId=50879015\r\n\r\nTo
run\r\n```\r\ncd x-pack && node ../scripts/functional_tests_server
--config=test/observability_functional/with_rac_write.config.ts\r\n\r\nor\r\n\r\nnode
scripts/functional_tests_server.js --config
x-pack/test/observability_functional/with_rac_write.config.ts\r\n```\r\nIn
a different terminal\r\n```\r\nnode ../scripts/functional_test_runner
--config=test/observability_functional/with_rac_write.config.ts --grep
\"Custom threshold rule\"\r\n\r\nor\r\n\r\nnode
scripts/functional_test_runner
--config=x-pack/test/observability_functional/with_rac_write.config.ts
--grep \"Custom threshold
rule\"\r\n```\r\n\r\n---------\r\n\r\nCo-authored-by: Maryam Saeidi
<maryam.saeidi@elastic.co>","sha":"0241cf690c631d4865b9c412240ab49357646a26","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["chore","release_note:skip","v9.0.0","ci:project-deploy-observability","Team:obs-ux-management","v8.16.0"],"title":"[Observability]
add custom threshold functional
test","number":184602,"url":"https://github.com/elastic/kibana/pull/184602","mergeCommit":{"message":"[Observability]
add custom threshold functional test (#184602)\n\nCloses
#175301\r\n\r\n##
Summary\r\n\r\nResolves\r\nhttps://github.com/orgs/elastic/projects/1375/views/1?pane=issue&itemId=50879015\r\n\r\nTo
run\r\n```\r\ncd x-pack && node ../scripts/functional_tests_server
--config=test/observability_functional/with_rac_write.config.ts\r\n\r\nor\r\n\r\nnode
scripts/functional_tests_server.js --config
x-pack/test/observability_functional/with_rac_write.config.ts\r\n```\r\nIn
a different terminal\r\n```\r\nnode ../scripts/functional_test_runner
--config=test/observability_functional/with_rac_write.config.ts --grep
\"Custom threshold rule\"\r\n\r\nor\r\n\r\nnode
scripts/functional_test_runner
--config=x-pack/test/observability_functional/with_rac_write.config.ts
--grep \"Custom threshold
rule\"\r\n```\r\n\r\n---------\r\n\r\nCo-authored-by: Maryam Saeidi
<maryam.saeidi@elastic.co>","sha":"0241cf690c631d4865b9c412240ab49357646a26"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/184602","number":184602,"mergeCommit":{"message":"[Observability]
add custom threshold functional test (#184602)\n\nCloses
#175301\r\n\r\n##
Summary\r\n\r\nResolves\r\nhttps://github.com/orgs/elastic/projects/1375/views/1?pane=issue&itemId=50879015\r\n\r\nTo
run\r\n```\r\ncd x-pack && node ../scripts/functional_tests_server
--config=test/observability_functional/with_rac_write.config.ts\r\n\r\nor\r\n\r\nnode
scripts/functional_tests_server.js --config
x-pack/test/observability_functional/with_rac_write.config.ts\r\n```\r\nIn
a different terminal\r\n```\r\nnode ../scripts/functional_test_runner
--config=test/observability_functional/with_rac_write.config.ts --grep
\"Custom threshold rule\"\r\n\r\nor\r\n\r\nnode
scripts/functional_test_runner
--config=x-pack/test/observability_functional/with_rac_write.config.ts
--grep \"Custom threshold
rule\"\r\n```\r\n\r\n---------\r\n\r\nCo-authored-by: Maryam Saeidi
<maryam.saeidi@elastic.co>","sha":"0241cf690c631d4865b9c412240ab49357646a26"}},{"branch":"8.x","label":"v8.16.0","branchLabelMappingKey":"^v8.16.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Dominique Clarke <dominique.clarke@elastic.co>
2024-09-18 04:32:36 -05:00
..
apps [8.x] [Observability] add custom threshold functional test (#184602) (#193248) 2024-09-18 04:32:36 -05:00
page_objects [DOCS] Automate connector-listing.png (#143605) 2022-11-17 18:08:41 -07:00
services [ResponseOps] Docs screenshots - initial set of automated docs screenshots (#138627) 2022-08-15 15:08:28 +02:00
config.ts [ML] Adds anomaly alerts screenshot test suite (#146552) 2022-12-02 11:01:51 +01:00
ftr_provider_context.d.ts [DOCS] Automate connector-listing.png (#143605) 2022-11-17 18:08:41 -07:00