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 addresses #817 and introduces improvements to the following Serenity/JS modules:

View detailed code diff on GitHub

Features

  • core: get the number of notes stored in the notepad with Notepad#size() (a5c00b9)
  • core: improved support for recording and reading notes (6afc610), closes #817

BREAKING CHANGES

  • core: This implementation replaces the previous implementations of TakeNote, TakeNotes and Note, so tests using those interfaces will need to be updated.

Summary

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

View detailed code diff on GitHub

Bug Fixes

  • web: corrected an inefficient regular expression in By selector description generator (1b537d2)
  • web: replaced legacy PromiseLike return types with native Promise types (436b3cb)

Summary

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

View detailed code diff on GitHub

Bug Fixes

  • web: auto-generated descriptions of nested PageElements are easier to read (5a51d91)
  • web: corrected return types of question about Selected page elements (b32f280)

Features

  • web: Attribute.called(name).of(pageElement) returns a QuestionAdapter (e220665)
  • web: CssClasses.of(pageElement) returns a QuestionAdapter (0942887)
  • web: Value.of(pageElement) returns a QuestionAdapter (c45b483)

Summary

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

View detailed code diff on GitHub

Bug Fixes

  • core: updated dependency on error-stack-parser (ea50285)
  • web: made the constructor of BrowseTheWeb protected, since it's an abstract class (dbfbed0)

Features

  • serenity-bdd: updated Serenity BDD CLI to 3.2.0, which introduces new HTML reports (9abdbd6)
  • web: support for working with frames and an interaction to Switch.to(frameOrPage) (ef73ef2), closes #805

Summary

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

View detailed code diff on GitHub

Summary

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

View detailed code diff on GitHub

Bug Fixes

  • core: removed deprecated interface DressingRoom; please use Cast instead (d68b44b)
  • core: removed deprecated interface WithStage (45d1c2b)
  • core: removed deprecated task to See.if (dd5e2f5)
  • cucumber: SECURITY: removed overrides for colors.js since the issue has now been addressed (481e327), closes cucumber/cucumber-js#1885

Features

  • assertions: isPresent works with any Optional (cea75dc), closes #1103
  • core: f and d question description formatters (c9f3fad)
  • core: replaced Adapter with QuestionAdapter and introduced Optional (8d84ad3), closes #1103
  • core: support for Optional chaining, expectation isPresent, refactored Expectations (1841ee5), closes #1099 #1099 #1103