Releases: elastic/synthetics
Releases · elastic/synthetics
v1.10.0
v1.9.1
v1.9.0
v1.8.0
v1.7.2
v1.7.1
v1.7.0
1.7.0 (2024-01-31)
Features
- Added support for
.only
and.skip
in Journey and Step functions which would allow only the particular journey and step to run and get skipped when running them locally #880
journey.only('test journey', ({}) => {
step.skip('step 1', async () => {
console.log('step 1');
});
step.only('step 2', async () => {
console.log('step 2');
});
});
- Additional, there is a way to do soft assertion on the Step level by marking the step with
.soft
. Failure of soft step will not skip rest of the steps in the journey.
journey('test journey', ({}) => {
step.soft('step 1', async () => {
// errored step
expect('').toEqual('hello');
});
// step 2 will still run
step('step 2', async () => {
// errored step
expect('').toEqual('hello');
});
});
- Double monitor bundle size to 1500Kb when using
npx @elastic/synthetics push
command which is then used for bundling all project monitors, previously this was set to800Kb
#882 - Enable minification of whitespaces when bundling the project monitors. This provided huge savings compared to enabling other options and also simpler when reconstructing the source #886
v1.6.0
Features
- Add buildkite CLI reporter to pretty print the logs for buildkite pipelines #872. We can use the new reporter via the runner
npx @elastic/synthetics journeys --reporter=buildkite-cli
- Update playwright version to 1.40.1 and update formatter to support the new actions #871
- Add Kibana internal origin header to support serverless projects #873
Full Changelog: v1.5.3...v1.6.0
v1.5.3
1.5.3 (2023-11-10)
Bug Fixes
- Fix playwright package version mismatch with the other playwright dependencies #868
Full Changelog: v1.5.2...v1.5.3
v1.5.2
Bug Fixes
Full Changelog: v1.5.1...v1.5.2