kibana/x-pack/plugins/synthetics/e2e
Shahzad 16b2c7b934
[8.12] [Synthetics] Increase Project monitor payload limit to 50MiB (#174470) (#174507)
# Backport

This will backport the following commits from `main` to `8.12`:
- [[Synthetics] Increase Project monitor payload limit to 50MiB
(#174470)](https://github.com/elastic/kibana/pull/174470)

<!--- Backport version: 8.9.8 -->

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

<!--BACKPORT
[{"author":{"name":"Shahzad","email":"shahzad31comp@gmail.com"},"sourceCommit":{"committedDate":"2024-01-09T10:11:51Z","message":"[Synthetics]
Increase Project monitor payload limit to 50MiB (#174470)\n\n##
Summary\r\nFollow up to
https://github.com/elastic/synthetics/pull/884\r\n\r\nIncrease Project
monitor payload route limit to 50MiB
!!","sha":"8f9e11d001a53d64d593bf49c4570523d8e48704","branchLabelMapping":{"^v8.13.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","auto-backport","backport:prev-minor","Team:obs-ux-infra_services","v8.13.0"],"number":174470,"url":"https://github.com/elastic/kibana/pull/174470","mergeCommit":{"message":"[Synthetics]
Increase Project monitor payload limit to 50MiB (#174470)\n\n##
Summary\r\nFollow up to
https://github.com/elastic/synthetics/pull/884\r\n\r\nIncrease Project
monitor payload route limit to 50MiB
!!","sha":"8f9e11d001a53d64d593bf49c4570523d8e48704"}},"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/174470","number":174470,"mergeCommit":{"message":"[Synthetics]
Increase Project monitor payload limit to 50MiB (#174470)\n\n##
Summary\r\nFollow up to
https://github.com/elastic/synthetics/pull/884\r\n\r\nIncrease Project
monitor payload route limit to 50MiB
!!","sha":"8f9e11d001a53d64d593bf49c4570523d8e48704"}}]}] BACKPORT-->
2024-01-10 09:28:26 -05:00
..
fixtures/es_archiver [Synthetics] Fix settings data retention update (#148437) 2023-01-09 18:16:21 +01:00
helpers [Synthetics] Adds retesting on failure (#165626) 2023-10-03 12:04:58 +02:00
page_objects [Synthetics/Uptime] Separate e2e tests by app (#152197) 2023-06-07 17:33:56 +02:00
synthetics [8.12] [Synthetics] Increase Project monitor payload limit to 50MiB (#174470) (#174507) 2024-01-10 09:28:26 -05:00
tasks [Synthetics/Uptime] Separate e2e tests by app (#152197) 2023-06-07 17:33:56 +02:00
config.ts [RUM Dashboard] Replace FID with INP (#172467) 2023-12-05 16:57:05 -07:00
README.md [Synthetics] Upgrade synthetics to 1.3.0 (#152419) 2023-07-28 14:52:00 +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/synthetics/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 the same directory you can now run node e2e.js --runner.

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

Uptime App 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/synthetics/scripts, run node uptime_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 the same directory you can now run node node uptime_e2e.js --runner.

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