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: removed deprecated function formatted (64d7f21), closes #1260
  • deps: update website dependencies (f8e217b)
  • web: all web modules now correctly support handling iframe context for the current page (bcb8672), closes #1310
  • web: corrected interaction to Clear to avoid issues with elements that have no value attribute (37ae809), closes #1306
  • web: improve handling of closed windows on remote grids (79d387d), closes #1310
  • web: interaction to Clear now supports "contenteditable" elements (d090458), closes #1306

Features

  • web: interaction to Clear works with "contenteditable" elements across all the web tools (c53b00d), closes #1306

Summary

This release addresses #594, #1240, #1259 and introduces improvements to the following Serenity/JS modules:

View detailed code diff on GitHub

Bug Fixes

  • console-reporter: corrected default export so that it's detected as no-arg (e39fc12), closes #1240
  • console-reporter: corrected error reporting when scenarios are executed in parallel (170a31e), closes #1240
  • core: activity is now able to detect invocation location on Node 14 (41f4776), closes #1240
  • core: enabled support for synthetic default imports and ES module interop (3e63d07), closes #1240
  • core: improved implementation of EventQueue to better support parallel scenarios (025e4fd), closes #1240
  • core: simplified SceneFinishes event (9ad947a), closes #1240
  • playwright-test: bulk-attach all Serenity/JS events to Playwright report (a5f3d7c), closes #1240
  • playwright-test: support for Playwright Test Babel loader (f9a5412), closes #1240
  • playwright-test: wait for Photographer to finish taking screenshots before dismissing actors (b0c5adb), closes #1240
  • playwright: corrected not(isPresent()) for PlaywrightPageElement (0693b2f), closes #1240
  • playwright: upgraded Playwright to 1.25.2 (fcbfdda)
  • playwright: upgraded Playwright to 1.26.0 (a13ab3c)
  • rest: removed deprecated ChangeApiUrl (a8ab177), closes #1259
  • web: question about Text.of(element) now trims newline and space characters (c68bbe9)

Features

  • assertions: new assertion about a property of an object (9cc03d5)
  • console-reporter: improved support for tests executed in parallel (01264ce), closes #1240
  • console-reporter: report both total and real time it took to execute all the scenarios (654be57), closes #1240
  • core: serenity/JS stage crew members can now be configured using string (786cdad), closes #1240 #594
  • playwright-test: first draft of the Serenity/JS Playwright Test reporter (b9e3d89), closes #1240
  • playwright-test: improved Playwright Test reports (6c6b537), closes #1240
  • playwright-test: support Screenplay Pattern-style scenarios (c425c54), closes #1240
  • serenity-bdd: support for configuring SerenityBDDReporter using a ClassDescription string (968e349), closes #594

Reverts

  • web: reverted the change to Text that would make it automatically trim the retrieved text (f5a47b7)

Summary

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

View detailed code diff on GitHub

Bug Fixes

  • cucumber: support for Cucumber 8.5.2 (1e0763e)
  • deps: update dependency diff to ^5.1.0 (f21af46)
  • deps: update dependency express to ^4.18.1 (f10f264)
  • deps: update dependency moment to ^2.29.4 (7b0fd6e)
  • deps: update website dependencies (#1278) (5e1de6d)
  • playwright: support for Playwright 1.25.1 (e0ab058)

Summary

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

View detailed code diff on GitHub

Bug Fixes

  • core: extracted common TypeScript configuration (0108370)
  • core: refactored the interaction to Wait.until to improve its reliability (970ea39), closes #1255
  • deps: updated TinyTypes to 1.19.0 (f6d53e4)
  • local-server: pinned portfinder to 1.0.28 (16369a9), closes http-party/node-portfinder#138
  • playwright: corrected internal imports from playwright to playwright-core (c42e7f3)
  • playwright: updated Playwright (3fa7c7e)
  • playwright: updated Playwright to 1.24.2 (9283910)
  • webdriverio: ensure Serenity/JS-specific config is not passed to WebdriverIO-specific services (384738e)
  • webdriverio: use local instead of global browser object in WebdriverioPage (323be75)
  • web: simplified isClickable so that it doesn't include visibility check (33ad47e)

Features

  • core: support for registering custom RuntimeErrors with ErrorSerialiser (feed78c)

Summary

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

View detailed code diff on GitHub

Bug Fixes

  • core: improved how the interaction to Log reports names of the logged values (c4cc60d)
  • cucumber: updated @cucumber/messages (9d970d0)
  • playwright: upgraded Playwright to 1.24.0 (9f8d491)
  • web: simplified the implementation of isClickable and isEnabled (142eb86), closes #1255

Features

  • core: new interaction to Debug.values(..) and Debug.setBreakpoint() (ef54324)
  • cucumber: support for Cucumber v8 (e0029e2), closes #1216
  • web: PageElement-releated expectations now also check if the element is present (de4610c), closes #1255

Summary

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

View detailed code diff on GitHub

Bug Fixes

Summary

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

View detailed code diff on GitHub

Bug Fixes

  • core: ensure all async operations complete before attempting to dismiss the actors (635cd9a), closes #1236
  • core: further improvements to stage/actor synchronisation (1e2e6fb)
  • web: improved reliability of PageElementLocator for WebdriverIO and Protractor (b19d19a), closes #805

Features

  • assertions: isCloseTo(expected, tolerance) (bb0e935)

Summary

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

View detailed code diff on GitHub

Bug Fixes

  • web: corrected promise handling to avoid the unhandled promise rejection warning (daac705)