serenity-js

A next generation, full-stack acceptance testing framework optimised for collaboration, speed and scale!

APACHE-2.0 License

Downloads
412.4K
Stars
535
Committers
57

Bot releases are visible (Hide)

serenity-js - v3.0.0-rc.11

Published by github-actions[bot] over 2 years ago

3.0.0-rc.11 (2022-02-13)

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

3.0.0-rc.10 (2022-02-03)

3.0.0-rc.9 (2022-02-01)

Features

  • web: isVisible() works with Web elements in Shadow DOM (cf84fb0), closes #1085

3.0.0-rc.8 (2022-01-28)

Bug Fixes

  • core: ensure Question.about doesn't expose internal interfaces (4bfb6bc), closes #1106
  • webdriverio: corrected visibility of the browser field on BrowseTheWebWithWebdriverIO (0de725f)

3.0.0-rc.7 (2022-01-28)

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

3.0.0-rc.6 (2022-01-10)

3.0.0-rc.5 (2022-01-07)

Bug Fixes

  • core: screenplay Adapters will now correctly proxy calls to function-specific object keys (ad6f1e6)
  • jasmine: integrated with Jasmine 3.99.0 (7f03bb5)

Features

  • web: support for advanced PageElement locator patterns (c1ff8b7), closes #1084

3.0.0-rc.4 (2021-12-30)

Bug Fixes

  • core: you can now retrieve the .length property of an Array wrapped in an Adapter (c36e210)

Features

  • web: ElementExpectation makes it easier to define custom PageElement-related Expectations (92ebf7d)
  • web: Text.ofAll accepts mapped PageElements (5314246)

3.0.0-rc.3 (2021-12-29)

Bug Fixes

  • core: refactored Mappable so that it's easier to implement filters (176e0cd), closes #1074
  • core: removed interface Reducible since it's not used any more (1e9f23b)
  • deps: updated tiny-types to 1.17.0 (3187051)
  • examples: updated the examples to use the new PageElement, By, and .where APIs (54961a7), closes #805
  • rest: corrected LastResponse to wrap .status(), .body(), .header() and .headers() in Adapters (aab8e93), closes #1082
  • web: corrected synchronisation in Web questions and interactions (c3a0ad1)
  • web: Photographer skips taking a screenshot if the Window is closed (DevTools protocol) (b682577)
  • web: refactored Selector and NativeElementLocator classes to simplify the implementation (f0c8f11)
  • web: simplified the selectors (b167e42), closes #1074

Features

  • core: forEach for List and PageElements (4592fb7), closes #823
  • core: List supports custom collectors (cd3f2bc)
  • core: new implementation of List.where filters (45b3c80), closes #1074
  • core: support for Screenplay-style collection filters and mapping (List.where & .eachMappedTo) (3d3c02e), closes #1074
  • web: isVisible checks if the element is in viewport and not hidden behind other elements (429040f)
  • web: new PageElement retrieval model based on Selectors (48bd94f)
  • web: re-introduced PageElements.where DSL and universal By selectors (39fe0a1), closes #1081

3.0.0-rc.2 (2021-12-09)

Bug Fixes

  • lerna: corrected versions of internal deps (582b922)

3.0.0-rc.1 (2021-12-09)

Bug Fixes

  • examples: migrated Protractor TodoMVC example to Serenity/JS 3.0 (85a7cd9)
  • serenity-bdd: upgraded Serenity BDD CLI to 2.6.0 (93c32f2)

3.0.0-rc.0 (2021-12-08)

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.
serenity-js - v2.33.1

Published by github-actions[bot] over 2 years ago

2.33.1 (2022-02-10)

Bug Fixes

  • deps: update dependency fast-glob to ^3.2.11 (b980fb1)
  • deps: update dependency graceful-fs to ^4.2.9 (c1228bc)
  • deps: update dependency tiny-types to ^1.17.0 (7b7d6fd)
serenity-js - v3.0.0-rc.10

Published by github-actions[bot] over 2 years ago

3.0.0-rc.10 (2022-02-03)

3.0.0-rc.9 (2022-02-01)

Features

  • web: isVisible() works with Web elements in Shadow DOM (cf84fb0), closes #1085

3.0.0-rc.8 (2022-01-28)

Bug Fixes

  • core: ensure Question.about doesn't expose internal interfaces (4bfb6bc), closes #1106
  • webdriverio: corrected visibility of the browser field on BrowseTheWebWithWebdriverIO (0de725f)

3.0.0-rc.7 (2022-01-28)

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

3.0.0-rc.6 (2022-01-10)

3.0.0-rc.5 (2022-01-07)

Bug Fixes

  • core: screenplay Adapters will now correctly proxy calls to function-specific object keys (ad6f1e6)
  • jasmine: integrated with Jasmine 3.99.0 (7f03bb5)

Features

  • web: support for advanced PageElement locator patterns (c1ff8b7), closes #1084

3.0.0-rc.4 (2021-12-30)

Bug Fixes

  • core: you can now retrieve the .length property of an Array wrapped in an Adapter (c36e210)

Features

  • web: ElementExpectation makes it easier to define custom PageElement-related Expectations (92ebf7d)
  • web: Text.ofAll accepts mapped PageElements (5314246)

3.0.0-rc.3 (2021-12-29)

Bug Fixes

  • core: refactored Mappable so that it's easier to implement filters (176e0cd), closes #1074
  • core: removed interface Reducible since it's not used any more (1e9f23b)
  • deps: updated tiny-types to 1.17.0 (3187051)
  • examples: updated the examples to use the new PageElement, By, and .where APIs (54961a7), closes #805
  • rest: corrected LastResponse to wrap .status(), .body(), .header() and .headers() in Adapters (aab8e93), closes #1082
  • web: corrected synchronisation in Web questions and interactions (c3a0ad1)
  • web: Photographer skips taking a screenshot if the Window is closed (DevTools protocol) (b682577)
  • web: refactored Selector and NativeElementLocator classes to simplify the implementation (f0c8f11)
  • web: simplified the selectors (b167e42), closes #1074

Features

  • core: forEach for List and PageElements (4592fb7), closes #823
  • core: List supports custom collectors (cd3f2bc)
  • core: new implementation of List.where filters (45b3c80), closes #1074
  • core: support for Screenplay-style collection filters and mapping (List.where & .eachMappedTo) (3d3c02e), closes #1074
  • web: isVisible checks if the element is in viewport and not hidden behind other elements (429040f)
  • web: new PageElement retrieval model based on Selectors (48bd94f)
  • web: re-introduced PageElements.where DSL and universal By selectors (39fe0a1), closes #1081

3.0.0-rc.2 (2021-12-09)

Bug Fixes

  • lerna: corrected versions of internal deps (582b922)

3.0.0-rc.1 (2021-12-09)

Bug Fixes

  • examples: migrated Protractor TodoMVC example to Serenity/JS 3.0 (85a7cd9)
  • serenity-bdd: upgraded Serenity BDD CLI to 2.6.0 (93c32f2)

3.0.0-rc.0 (2021-12-08)

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.
serenity-js - v2.33.0

Published by github-actions[bot] over 2 years ago

2.33.0 (2022-02-03)

Features

serenity-js - v3.0.0-rc.9

Published by github-actions[bot] over 2 years ago

3.0.0-rc.9 (2022-02-01)

Features

  • web: isVisible() works with Web elements in Shadow DOM (cf84fb0), closes #1085
serenity-js - v3.0.0-rc.8

Published by github-actions[bot] over 2 years ago

3.0.0-rc.8 (2022-01-28)

Bug Fixes

  • core: ensure Question.about doesn't expose internal interfaces (4bfb6bc), closes #1106
  • webdriverio: corrected visibility of the browser field on BrowseTheWebWithWebdriverIO (0de725f)
serenity-js - v3.0.0-rc.7

Published by github-actions[bot] over 2 years ago

3.0.0-rc.7 (2022-01-28)

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
serenity-js - v3.0.0-rc.6

Published by github-actions[bot] almost 3 years ago

3.0.0-rc.6 (2022-01-10)

3.0.0-rc.5 (2022-01-07)

Bug Fixes

  • core: screenplay Adapters will now correctly proxy calls to function-specific object keys (ad6f1e6)
  • jasmine: integrated with Jasmine 3.99.0 (7f03bb5)

Features

  • web: support for advanced PageElement locator patterns (c1ff8b7), closes #1084

3.0.0-rc.4 (2021-12-30)

Bug Fixes

  • core: you can now retrieve the .length property of an Array wrapped in an Adapter (c36e210)

Features

  • web: ElementExpectation makes it easier to define custom PageElement-related Expectations (92ebf7d)
  • web: Text.ofAll accepts mapped PageElements (5314246)

3.0.0-rc.3 (2021-12-29)

Bug Fixes

  • core: refactored Mappable so that it's easier to implement filters (176e0cd), closes #1074
  • core: removed interface Reducible since it's not used any more (1e9f23b)
  • deps: updated tiny-types to 1.17.0 (3187051)
  • examples: updated the examples to use the new PageElement, By, and .where APIs (54961a7), closes #805
  • rest: corrected LastResponse to wrap .status(), .body(), .header() and .headers() in Adapters (aab8e93), closes #1082
  • web: corrected synchronisation in Web questions and interactions (c3a0ad1)
  • web: Photographer skips taking a screenshot if the Window is closed (DevTools protocol) (b682577)
  • web: refactored Selector and NativeElementLocator classes to simplify the implementation (f0c8f11)
  • web: simplified the selectors (b167e42), closes #1074

Features

  • core: forEach for List and PageElements (4592fb7), closes #823
  • core: List supports custom collectors (cd3f2bc)
  • core: new implementation of List.where filters (45b3c80), closes #1074
  • core: support for Screenplay-style collection filters and mapping (List.where & .eachMappedTo) (3d3c02e), closes #1074
  • web: isVisible checks if the element is in viewport and not hidden behind other elements (429040f)
  • web: new PageElement retrieval model based on Selectors (48bd94f)
  • web: re-introduced PageElements.where DSL and universal By selectors (39fe0a1), closes #1081

3.0.0-rc.2 (2021-12-09)

Bug Fixes

  • lerna: corrected versions of internal deps (582b922)

3.0.0-rc.1 (2021-12-09)

Bug Fixes

  • examples: migrated Protractor TodoMVC example to Serenity/JS 3.0 (85a7cd9)
  • serenity-bdd: upgraded Serenity BDD CLI to 2.6.0 (93c32f2)

3.0.0-rc.0 (2021-12-08)

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.
serenity-js - v2.32.7

Published by github-actions[bot] almost 3 years ago

2.32.7 (2022-01-10)

Bug Fixes

serenity-js - v2.32.6

Published by github-actions[bot] almost 3 years ago

2.32.6 (2022-01-10)

Bug Fixes

serenity-js - v3.0.0-rc.5

Published by github-actions[bot] almost 3 years ago

3.0.0-rc.5 (2022-01-07)

Bug Fixes

  • core: screenplay Adapters will now correctly proxy calls to function-specific object keys (ad6f1e6)
  • jasmine: integrated with Jasmine 3.99.0 (7f03bb5)

Features

  • web: support for advanced PageElement locator patterns (c1ff8b7), closes #1084
serenity-js - v3.0.0-rc.4

Published by github-actions[bot] almost 3 years ago

3.0.0-rc.4 (2021-12-30)

Bug Fixes

  • core: you can now retrieve the .length property of an Array wrapped in an Adapter (c36e210)

Features

  • web: ElementExpectation makes it easier to define custom PageElement-related Expectations (92ebf7d)
  • web: Text.ofAll accepts mapped PageElements (5314246)
serenity-js - v3.0.0-rc.3

Published by github-actions[bot] almost 3 years ago

3.0.0-rc.3 (2021-12-29)

Bug Fixes

  • core: refactored Mappable so that it's easier to implement filters (176e0cd), closes #1074
  • core: removed interface Reducible since it's not used any more (1e9f23b)
  • deps: updated tiny-types to 1.17.0 (3187051)
  • examples: updated the examples to use the new PageElement, By, and .where APIs (54961a7), closes #805
  • rest: corrected LastResponse to wrap .status(), .body(), .header() and .headers() in Adapters (aab8e93), closes #1082
  • web: corrected synchronisation in Web questions and interactions (c3a0ad1)
  • web: Photographer skips taking a screenshot if the Window is closed (DevTools protocol) (b682577)
  • web: refactored Selector and NativeElementLocator classes to simplify the implementation (f0c8f11)
  • web: simplified the selectors (b167e42), closes #1074

Features

  • core: forEach for List and PageElements (4592fb7), closes #823
  • core: List supports custom collectors (cd3f2bc)
  • core: new implementation of List.where filters (45b3c80), closes #1074
  • core: support for Screenplay-style collection filters and mapping (List.where & .eachMappedTo) (3d3c02e), closes #1074
  • web: isVisible checks if the element is in viewport and not hidden behind other elements (429040f)
  • web: new PageElement retrieval model based on Selectors (48bd94f)
  • web: re-introduced PageElements.where DSL and universal By selectors (39fe0a1), closes #1081
serenity-js - v3.0.0-rc.2

Published by github-actions[bot] almost 3 years ago

3.0.0-rc.2 (2021-12-09)

Bug Fixes

  • lerna: corrected versions of internal deps (582b922)
serenity-js - v3.0.0-rc.1

Published by github-actions[bot] almost 3 years ago

3.0.0-rc.1 (2021-12-09)

Bug Fixes

  • examples: migrated Protractor TodoMVC example to Serenity/JS 3.0 (85a7cd9)
  • serenity-bdd: upgraded Serenity BDD CLI to 2.6.0 (93c32f2)
serenity-js - v3.0.0-rc.0

Published by github-actions[bot] almost 3 years ago

3.0.0-rc.0 (2021-12-08)

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.
serenity-js - v2.32.5

Published by github-actions[bot] almost 3 years ago

2.32.5 (2021-12-08)

Note: Version bump only for package serenity-js-monorepo

serenity-js - v2.32.4

Published by github-actions[bot] almost 3 years ago

2.32.4 (2021-11-25)

Bug Fixes

  • deps: update dependency @babel/parser to ^7.16.4 (d1860f5)
serenity-js - v2.32.3

Published by github-actions[bot] almost 3 years ago

2.32.3 (2021-11-06)

Bug Fixes

  • core: support for NPM 8 (7cb470c)
  • deps: update dependency @babel/parser to ^7.16.2 (2475839)
serenity-js - v2.32.2

Published by github-actions[bot] about 3 years ago

2.32.2 (2021-10-04)

Bug Fixes

  • deps: update dependency @babel/parser to ^7.15.7 (b4afc93)
  • rest: reverted axios to 0.21.4 to avoid issue axios/axios#4124 introduced in version 0.22.0 (ce1fc7f)