Summary
This release addresses #2165 and introduces improvements to the following Serenity/JS modules:
@serenity-js/core
@serenity-js/cucumber
@serenity-js/jasmine
@serenity-js/mocha
@serenity-js/playwright-test
@serenity-js/serenity-bdd
View detailed code diff on GitHub
Bug Fixes
- core: introduced RequirementsHierarchy to centralise requirements detection logic (0a3d6f0)
- core: recognise
specs
as a potential requirements hierarchy root (d95d850) - core: removed dependency on Moment.js (edd1d64)
- core: simplified the Timestampt validation regex and improved error messages (b453a23)
- core: support for timezones and simplified date time strings when creating Timestamps (754f8e2)
- cucumber: ensure Cucumber adapter emits events with absolute file paths (f93d9cc)
- cucumber: support for Cucumber 10.3.1 (8f41a03)
- deps: update dependency lru-cache to v10.2.0 (a580d1e)
- deps: update dependency typedoc-plugin-mdn-links to v3.1.13 (92c8652)
- deps: update dependency typedoc-plugin-mdn-links to v3.1.14 (fdb2616)
- deps: update playwright dependencies to v1.41.1 (a1a39ee)
- serenity-bdd: upgraded Serenity BDD CLI to 4.0.46 (218c08f)
Features
- core: added Masked.valueOf() Question (e9ff5ab), closes #2165
- cucumber: support for nested requirements reporting (40f8842)
- cucumber: support for nested requirements reporting (2d0b885)
- jasmine: support for nested requirements reporting (137fef7)
- jasmine: support for using specDir to indicate the requirements hierarchy root (585cb81)
- mocha: support for nested requirements reporting (f8e70ce)
- playwright-test: improved requirements reporting (3b99112)
- playwright-test: support for nested requirements reporting (37ef679)
- serenity-bdd: upgraded Serenity BDD to 4.0.44 (4e2f1e3)