Releases: elastic/synthetics
v1.0.0-beta.46
Breaking Changes
- Network throttling via Chrome devtools emulation is deprecated and no longer gets applied to all any synthetic tests, If users have explicitly configured throttling in their tests, the settings will not be applied and might see the page loads quicker than before.
Throttling will be re-enabled at later point, See the throttling docs for more details.
Full Changelog: v1.0.0-beta.45...v1.0.0-beta.46
v1.0.0-beta.45
Features
- Synthetics now waits for 50 seconds by default for all navigations and actions - Previously it was set to 30 seconds. This can be over-riden for all the tests by passing
navigationTimeout
andactionTimeout
viaPlaywrightOptions
configuration #742
playwrightOptions: {
navigationTimeout: 60000, // 60 seconds
actionTimeout: 10000 // 10 seconds
}
Existing synthetics journeys that have a explicit timeout on the locator and other playwright API's will not be affected.
await page.goto("url", { timeout: 1000}) // not affected
await page.locator(".test", {timeout: 1000}) // not affected
- Capture network information for all requests when at least the first byte data is received. This helps in scenarios where the response was streamed and the test itself was timed out waiting for the
load
or other events #747
Bug Fixes
- Use headless value from playwrightOptions when creating the browser context #741
Full Changelog: v1.0.0-beta.44...v1.0.0-beta.45
v1.0.0-beta.44
Features
- Consolidate monitor schedule for both Lighweight and Browser monitor when using
push command
#724
Bug Fixes
- Round off to the nearest schedule for lighweight monitors when running
push
command #732 - Capture trace metrics including web-vitals for failed steps #739
Note: Playwright version is upgraded to v1.32.3
Full Changelog: v1.0.0-beta.43...v1.0.0-beta.44
v1.0.0-beta.43
Bug Fixes
Full Changelog: v1.0.0-beta.42...v1.0.0-beta.43
v1.0.0-beta.42
Features
- Add support for enabling/disabling alerts for monitors #713
Bug Fixes
- Ignore recursively searching for yml files inside node_modules directory when pushing monitors #714
Full Changelog: v1.0.0-beta.41...v1.0.0-beta.42
v1.0.0-beta.41
Features
- Add support for passing custom
data-test-id
viaPlaywrightOptions
, this would help in the tests for locating the element via the custom attributes via page.getByTestId #706 - Update Playwright library to version
1.31.1
Bug Fixes
- Add proper monitor field
heartbeat.monitors
to lightweight scaffolding template #696 - Reword the
--pattern
option when help command is run #710 - Require node version >= 18.12.0 for running synthetics tests #708
Full Changelog: v1.0.0-beta.40...v1.0.0-beta.41
v1.0.0-beta.40
Features
- Move from
ts-node
toesbuild
for transforming theTypeScript
files at runtime. This includes journeys, synthetics config files which are.ts
extensions and transform the files at runtime along with full source-map support. One of the advantage this provides is the ability to use the sameesbuild
API for both transpiling and bundling of the monitors #687 - Use new Kibana Bulk API endpoints for pushing project monitors #649
- Allow project based monitors to disable throttling via
Synthetics config
or by settingthrottling: false
#690 - Prompt users before overriding Synthetics config file when
init
command is called multiple times inside a Synthetics project #688
Bug fixes
- Update monitor in Kibana when when monitor content or config changes by generating unique hash #683
- Handle when users throw error like objects inside journey #694
Full Changelog: v1.0.0-beta.39...v1.0.0-beta.40
v1.0.0-beta.39
Features
- Improve the performance of push command when monitors are created or updated by chunking the monitors #666
- Add an example lightweight monitor yaml file when a new synthetics project is created via
init
command #650
Bug Fixes
- Parse varying NDJSON chunked responses sizes from Kibana when the API endpoint is behind a proxy #665
- Skip adding empty values for locations when creating new synthetics project using
init
command #658
Full Changelog: v1.0.0-beta.38...v1.0.0-beta.39
v1.0.0-beta.38
Features
-
Improve the validation of project monitor
schedule
for both browser and lightweight monitors. Error would be thrown if users would configure monitor schedule that are not supported. For lightweight monitors, we would save the schedule to the nearest supported schedule frequency #622Current allowed schedule values are 1, 3, 5, 10, 15, 30, 60 minutes respectively.
-
Improve the push command experience by showing the monitor management URL link once the push has been completed successfully #637
Bug fixes
- Pick the correct loader when bundling TypeScript or JavaScript journey files during push command #626
Browser version
Playwright version has been updated to 1.27.1
Full Changelog: v1.0.0-beta.37...v1.0.0-beta.38
v1.0.0-beta.37
Bug Fixes
- fix an issue in newer versions of sharp by creating separate sharp instance to produce screenshots data #623
Full Changelog: v1.0.0-beta.36...v1.0.0-beta.37