Skip to main content

13 posts tagged with "protractor"

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 sass to v1.77.1 (a9d7258)

Features

  • core: exported isPlainObject utility function as part of /lib/io (7f2c5fd)
  • core: new utility method Question.fromArray to complement Question.fromObject (4007bf1)
  • playwright: standardised ExecuteScript argument transmission across WebdriverIO and Playwright (adfc171)
  • protractor: standardised ExecuteScript argument transmission across all web integration tools (1a08f47)
  • webdriverio: support for injecting scripts parameterised with complex data structures (e920e67)
  • web: scripts injected into the browser accept data structures containing PageElement objects (2fbddf5)

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

View detailed code diff on GitHub

Bug Fixes

  • core: ability to ScheduleWork preserves stack traces for better reporting (c2ce5f7), closes #1717
  • deps: update website dependencies to v2.4.1 (6e4d17b)
  • playwright-test: corrected synchronisation of the platform fixture (7156f84), closes #1717
  • playwright: support for Playwright 1.34.0 (5d591c7)
  • playwright: updated Playwright Core to 1.34.0 (c5aa042)
  • playwright: updated Playwright to 1.34.2 (c944031)
  • playwright: upgraded to Playwright 1.34.3 (0ded19e)
  • protractor: updated dependency on @types/selenium-webdriver (a7a68ff)

Features

  • core: enabled extending default behaviour of actor.perform and actor.answer APIs (01bb213), closes #1717
  • playwright-test: improved integration with Playwright Test (45b324f), closes #1717
  • playwright-test: much more detailed Playwright Test reports (5980a1e), closes #1717
  • playwright: support Playwright auto-waiting (8f1750f), closes #1717

Summary

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

View detailed code diff on GitHub

Bug Fixes

  • core: ensure Wait.for(..) is not terminated prematurely by interactionTimeout (f1a94e2), closes #1604
  • deps: update playwright dependencies to ^1.32.2 (8398ec3)
  • playwright-test: use custom interactionTimeout when provided in the config (71c0401), closes #1604
  • protractor: use custom interactionTimeout when provided in the config (df8f387), closes #1604
  • webdriverio: use custom interactionTimeout when provided in the config (4cc75bf), closes #1604

Summary

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

View detailed code diff on GitHub

Bug Fixes

  • core: introduced Cast.where factory method to make it easier to generate custom casts of actors (26637f1), closes #1523
  • deps: update dependency deepmerge to ^4.3.0 (ac08d09)
  • deps: update dependency yargs to ^17.7.1 (1e7a52b)
  • deps: update playwright dependencies to ^1.31.2 (ebac2ff)
  • deps: update website dependencies (#1531) (4a58010)
  • playwright-test: ensure each new actor gets their own Playwright browser (f4c527b), closes #1523
  • protractor: default actors receive abilities to BrowseTheWebWithProtractor and TakeNotes (edcf734), closes #1523
  • webdriverio: default actors receive abilities to BrowseTheWebWithWebdriverIO and TakeNotes (3880d3b), closes #1523

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