Skip to main content

8 posts tagged with "jasmine"

View All Tags

Summary​

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

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)

Summary​

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

View detailed code diff on GitHub

Bug Fixes​

  • deps: update dependency typedoc to ^0.25.2 (95dfd3d)

Features​

  • jasmine: support for Jasmine 5 (ee80215), closes #1088 #913
  • jasmine: support for Jasmine 5 (9b34e1e)
  • protractor: support for Jasmine 5 (f638532)
  • webdriverio: support for Jasmine 5 (881196f)

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 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

Summary​

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

View detailed code diff on GitHub

Bug Fixes​

  • core: allow proxying location and description fields by QuestionAdapter (6761685), closes #1344
  • deps: update dependency fast-glob to ^3.2.12 (94854a1)
  • jasmine: remove warn jasmine#addSpecFiles (9fef049)
  • playwright: updated Playwright to 1.27.1 (a1fcecc)
  • playwright: upgraded Playwright to 1.27.1 (1345644)

Summary​

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

Related external tickets: jasmine/jasmine#1939

View detailed code diff on GitHub

Bug Fixes​

  • core: formatted can be configured to produce single- or multi-line descriptions (21145a3)
  • core: inspected produces a better description of functions used as parameters (15535c6)
  • core: 3.0 RC (469d54e), closes #805
  • core: answerProxy renamed to ProxyAnswer to better reflect its purpose (a98fe41)
  • core: corrected type defs of Question.as (681ce22)
  • core: exported createProxyAnswer to make it easier to use (5471989)
  • core: removed Loop as it will be replaced (0b63d27)
  • core: removed Property as it will be replaced by new Question (fd7fa10)
  • core: removed Transform and mapping functions as they'll be replaced with new Question (506eaea)
  • core: renamed "Model" type to "Adapter" to better reflect its purpose (b4ea7a1), closes #805
  • cucumber: support for recognising non-Serenity AssertionErrors in older version of Cucumber (31e9e99)
  • deps: updated WebdriverIO (9de63d4)
  • deps: web (b075b8e)
  • jasmine: upgraded Jasmine to 3.10.0 (707dbff), closes jasmine/jasmine#1939
  • protractor: fixed the interaction to Switch (762ca84)
  • protractor: lastScriptExecution.result() returns undefined instead of null for void functions (997d87a)
  • protractor: modernised ProtractorParam to return a Screenplay Model (43c2032)
  • protractor: removed interaction to ResizeBrowserWindow in favour of Page.setViewportSize() (b8e471d)
  • protractor: replaced obsolete "Window", replaced by "Page" in @serenity-js/web (a3442c4)
  • web: added missing export (c5ffc0a), closes #805
  • web: corrected timestamp rounding when retrieving the expiry date of a cookie (d636965)
  • webdriverio: ensure getLastScriptExecutionResult returns undefined for void functions (aa00dfd)
  • webdriverio: fixed synchronisation issue in ModalDialog (12324b2), closes #805
  • webdriverio: separated UIElement.hoverOver from UIElement.scrollIntoView (cf4ca2c)
  • webdriverio: updated WebdriverIO to 7.13.2 (ef79d19)
  • webdriverio: updated WebdriverIO to 7.16.7 (3316e29)
  • web: ensure all Web interactions extend the same base class (b358c0b)
  • web: fixed the interaction to Select (10b7b74)
  • web: optimised PhotoTakingStrategy (085b7f7)
  • web: removed Cookie as it will be re-implemented (cb3d081)
  • web: removed incorrect export (ebf80c0)
  • web: removed incorrect import (90cb025)
  • web: removed window-specific APIs from BrowseTheWeb that got replaced by Page (918f447), closes #805
  • web: renamed Element and associated classes to PageElement to avoid name conflicts (1e4204b)
  • web: renamed PageElementList to PageElements to improve readability (a9903a7), closes #805
  • web: standardised getters across PageElement implementations (336472b)
  • web: wordsmithing of interface names (5a1e76a)

Features​

  • core: question.about creates a proxy around the answer to simplify the API (25e0841)
  • core: question.about produces "props" that proxy the methods of the underlying model (f771872)
  • protractor: compatibility with @serenity-js/web (9df4db2), closes #805
  • protractor: removed Protractor-specific Target implementations in favour of @serenity-js/web (5cfc7e5)
  • web: a common way to run the tests for all the web adapters (c7e584a)
  • web: added Page.viewportSize and Page.setViewportSize methods (4cabbe2)
  • web: all Screenplay APIs migrated from @serenity-js/webdriverio to @serenity-js/web (7b6b95d)
  • webdriverio: support for native WebdriverIO services (8d5ad22)
  • web: interaction to set a Cookie (c056439), closes #805
  • web: interaction to setViewportSize of a Page (dd7f180)
  • web: introduced UIElementQuestion to help ensure no NPEs in UI-related questions (fe29121)
  • web: migrated Photographer from @serenity-js/protractor to @serenity-js/web (4506dac), closes #805
  • web: ModalDialog available for both Protractor and WebdriverIO adapters (ef3c566), closes #805
  • web: new module @serenity-js/web to provide Web-related Screenplay Pattern APIs (bead861)
  • web: page provides an abstraction around browser window (2e70a3b)
  • web: Page.url() and Page.title() replace Website.url() and Website.title() (49fe009), closes #805
  • web: removed Target in favour of PageElement (69496c4), closes #805
  • web: support for switching browsing context (a73a635), closes #805
  • web: support for working with cookies (39cde6d), closes #805

BREAKING CHANGES​

  • core: Introduced @serenity-js/web - a shared library for Serenity/JS Web integration modules such as @serenity-js/protractor and @serenity-js/webdriverio. Dropped support for Node 12.