Skip to main content

27 posts tagged with "web"

View All Tags

Summary​

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

View detailed code diff on GitHub

Bug Fixes​

  • deps: update dependency diff to v5.2.0 (17f5a2e)
  • deps: update dependency http-proxy-agent to v7.0.2 (cd46c66)
  • deps: update dependency https-proxy-agent to v7.0.4 (a9f02f6)
  • deps: update dependency typedoc-plugin-mdn-links to v3.1.16 (0563d11)

Features​

  • web: actors can now check if an HTML element attribute is present (3ce115a)

Summary​

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

View detailed code diff on GitHub

Bug Fixes​

  • deps: update dependency lru-cache to ^10.1.0 (05700c1)
  • deps: update playwright dependencies to ^1.40.1 (da2e7ba)
  • playwright-test: corrected proxy protocol detection and configuration (090b322)
  • web: question about Attribute is now generic and specifies native element type (c2b7663)
  • web: removed duplicate quotes in the error message (4ee1c10)
  • web: replaced dot in error message by a comma (d78551e)

Features​

  • core: nested error cause is now added to the main error message (815c8ce), closes #1823
  • cucumber: support for ESNext modules (ba1f225), closes #2097
  • web: question about ComputedStyle retrieves computed style property (219f9b9), closes #1633

Summary​

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

View detailed code diff on GitHub

Features​

  • assertions: isBefore and isAfter accept Timestamp as well as Date objects (55e13d0)
  • core: inspecting a Timestamp returns a human-friendly description of its value (da26b54)
  • playwright-test: enabled the ability to CallAnApi for all default actors (436cde5), closes #1876
  • playwright-test: explicit proxy config will override env variables for REST interaction (1c277d6), closes #1949
  • rest: automatic proxy server configuration for CallAnApi (27a1630), closes #1949
  • serenity-bdd: serenity-bdd downloader will now automatically detect proxy server configuration (c221210), closes #1949
  • web: ability to CallAnApi is now available by default (dfaf8e4), closes #1876

Summary​

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

View detailed code diff on GitHub

Bug Fixes​

  • core: support for proxying String.replace in QuestionAdapter (251113d)
  • deps: update playwright dependencies to ^1.36.1 (b86289b)

Features​

  • playwright: support for parentElement.closestTo(childElement) API (cee2c48), closes #1784
  • protractor: support for parentElement.closestTo(childElement) API (ec21e18)
  • webdriverio: support for parentElement.closestTo(childElement) API (ee1b3c4)
  • web: new PageElement Query Language API - parentElement.closestTo(childElement) (7d48fd8)

Summary​

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

View detailed code diff on GitHub

Bug Fixes​

  • deps: update dependency https-proxy-agent to ^7.0.1 (f49b293)
  • deps: update dependency https-proxy-agent to ^7.0.1 (9ea4610)
  • deps: update dependency tiny-types to ^1.20.0 (6d7bf43)

Features​

  • playwright-test: enable BrowseTheWebWithPlaywright to reuse an existing page instance (5c2deb1), closes #1784
  • playwright-test: introducing Component Testing with Serenity/JS and Playwright Test (7b3c6c8), closes #1784
  • web: selectors are comparable and serialisable to JSON (b285389), closes #1784
  • web: you can now use Serenity/JS Screenplay Pattern APIs for UI component testing (3c9aa4b), closes #1784

Summary​

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

View detailed code diff on GitHub

Bug Fixes​

  • assertions: custom errors thrown via Ensure now include activity location (1fdf7a2), closes #1102
  • assertions: interaction to Ensure no longer emits an AssertionReport artifact (db3e5ae), closes #1486
  • core: corrected issue in asyncMap that led lists of lists to be flat-mapped not mapped (d7a6f1d)
  • core: easier configuration and automatic colour support detection for AnsiDiffFormatter (637ed44), closes #1486
  • core: further improvements to how the expected vs received values are rendered in VS Code (e2101d0), closes #1486
  • core: improved support for Node 14 (f828b45)
  • core: introduced ExpectationDetails to provide more accurate info re failed expectations (02b8f33), closes #1102
  • core: removed AssertionReport and AssertionReportDiffer as they're no longer needed (a968ac5), closes #1480
  • core: removed the legacy Error (de-)serialisation mechanism (7ea2b10)
  • core: typeOf now correctly recognises Proxy objects (3ca68a3)
  • core: updated npm-failsafe to 1.0.0 (df80731), closes #1486
  • playwright: upgraded Playwright to 1.30.0 (305a2c2)
  • web: renamed internal function inspector to inspected (4d2b147)

Features​

  • assertions: diffs included in RuntimeErrors are now colour-coded (f88efb4), closes #1486
  • core: assertion and synchronisation errors include location of the activity that threw them (f06f378), closes #1102
  • core: assertion errors include precise information about unmet expectations and improved diffs (1eb09b1), closes #1102
  • core: better assertion errors reporting in Visual Studio Code (3b94b7d), closes #1486
  • core: error factory is now configurable, which allows for the diffs to include colours (dac293d), closes #1486
  • core: new ability to RaiseErrors (4617d39), closes #1102
  • core: overridable abilities (03966cc)
  • protractor: improved assertion error reporting for Protractor (8f8f91c), closes #1102
  • webdriverio: improved assertion error reporting for WebdriverIO (7513752), closes #1102

Summary​

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

View detailed code diff on GitHub

Bug Fixes​

  • deps: update core dependencies to v5 (7c44d5a)
  • deps: update serenity bdd dependencies (51af1fc)
  • deps: update website dependencies (9be2176)
  • web: support for setting cookies using async or partially async data (ec8a65d), closes #1421

Features​

  • cucumber: support reporting named hooks (426f68d), closes #1416
  • playwright: support for Playwright 1.29.0 (3dd0635)
  • rest: support for Axios 1.2.1 (b1ab268)

Summary​

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

View detailed code diff on GitHub

Bug Fixes​

  • core: renamed List.get(index) to List.nth(index) to make the API declarative (094e21c)
  • deps: update dependency query-selector-shadow-dom to ^1.0.1 (9e3bac6)
  • deps: update website dependencies (0ac28ff)
  • playwright: upgraded to Playwright 1.28.1 (e9c4c1c)
  • webdriverio: migrated to use Puppeteer 19.3 APIs (1aa2ab7)
  • web: marked PageElement methods returning a MetaQuestion (6f78186)

BREAKING CHANGES​

  • core: List.get(index) replaced by List.nth(index); this affects classes inheriting from List, such as PageElements