Skip to main content

Serenity/JS Changelog 🎁

Subscribe to RSS feeds or follow on LinkedIn to stay up to date with new releases!

Summary

This release introduces improvements to the following Serenity/JS modules:

View detailed code diff on GitHub

Bug Fixes

  • core: ensure Wait.for(..) is not terminated prematurely by interactionTimeout (f1a94e2), closes #1604
  • deps: update playwright dependencies to ^1.32.2 (8398ec3)
  • playwright-test: use custom interactionTimeout when provided in the config (71c0401), closes #1604
  • protractor: use custom interactionTimeout when provided in the config (df8f387), closes #1604
  • webdriverio: use custom interactionTimeout when provided in the config (4cc75bf), closes #1604

Summary

This release introduces improvements to the internal structure of Serenity/JS.

View detailed code diff on GitHub

Bug Fixes

  • deps: update playwright dependencies to ^1.32.1 (1ab8b80)
  • deps: update playwright dependencies to ^1.32.1 (bcb6839)
  • deps: update playwright dependencies to ^1.32.1 (3ba8d4c)
  • deps: update website dependencies to v2.4.0 (9d4e427)

Summary

This release addresses #1403, #1520 and introduces improvements to the following Serenity/JS modules:

View detailed code diff on GitHub

Bug Fixes

  • core: re-implemented the interaction to Debug so that it works in JetBrains IDEs (14737f9), closes #1520
  • core: removed deprecated API Cast.whereEveryoneCan (7f2f5b9), closes #1403
  • core: removed deprecated API List.get (6308686), closes #1403
  • core: removed deprecated ContextTag (d09a688), closes #1403
  • deps: update dependency deepmerge to ^4.3.1 (d605a6b)
  • deps: update dependency graceful-fs to ^4.2.11 (3dc2d0b)
  • deps: update dependency typedoc to ^0.23.28 (5d5b8d7)
  • local-server: removed deprecated API StartLocalServer.onOneOfThePreferredPorts (58cc29c), closes #1403
  • playwright: it's now easier to inspect PlaywrightPage using the new interaction to Debug (cbf210a)

Summary

This release introduces improvements to the following Serenity/JS modules:

View detailed code diff on GitHub

Bug Fixes

  • core: moved time-related code to a common package (f29fedc), closes #1522
  • core: support for NPM 9 (0493474)
  • deps: update dependency tiny-types to ^1.19.1 (ce335eb)
  • jasmine: improved filesystem location detection for Jasmine scenarios (ec180d6)
  • rest: support for Axios 1.3.4 (e926bbd)

Features

  • assertions: fault-tolerant interaction to Ensure.eventually (d6297f7), closes #1522
  • core: introduced a new ability ScheduleWork to enable #1083 and #1522 (b275d18)
  • core: max timeout of Wait.until can now be configured globally (8dd6895), closes #1083

Summary

This release introduces improvements to the following Serenity/JS modules:

View detailed code diff on GitHub

Bug Fixes

  • core: introduced Cast.where factory method to make it easier to generate custom casts of actors (26637f1), closes #1523
  • deps: update dependency deepmerge to ^4.3.0 (ac08d09)
  • deps: update dependency yargs to ^17.7.1 (1e7a52b)
  • deps: update playwright dependencies to ^1.31.2 (ebac2ff)
  • deps: update website dependencies (#1531) (4a58010)
  • playwright-test: ensure each new actor gets their own Playwright browser (f4c527b), closes #1523
  • protractor: default actors receive abilities to BrowseTheWebWithProtractor and TakeNotes (edcf734), closes #1523
  • webdriverio: default actors receive abilities to BrowseTheWebWithWebdriverIO and TakeNotes (3880d3b), closes #1523

Summary

This release addresses #1495 and introduces improvements to the following Serenity/JS modules:

View detailed code diff on GitHub

Bug Fixes

  • console-reporter: any post-test StageCrewMember errors will now get printed to terminal (e4935df), closes #1495
  • core: allow for multiple events to be announced using a single call to Stage (2bcae80)
  • core: event TestRunFinished now incidates the Outcome of the test suite (a941056), closes #1495
  • deps: update website dependencies (309c5f3)
  • jasmine: default to using file name as feature name when describe blocks are absent (3542955), closes #1495
  • mocha: default to using file name as feature name when describe blocks are absent (1ca81ef), closes #1495
  • playwright-test: default to using file name as feature name when describe blocks are absent (1295b04), closes #1495
  • serenity-bdd: prevent invalid Serenity BDD JSON reports from being sent to processing (e59d4da), closes #1495