Skip to content

v1.7.0

Compare
Choose a tag to compare
@github-actions github-actions released this 31 Jan 19:00
· 21 commits to main since this release
ae93c11

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 to 800Kb #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