Skip to main content

19 posts tagged with "playwright-test"

View All Tags

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

View detailed code diff on GitHub

Bug Fixes​

  • core: improved Duration to ensure it can't be instantiated with an invalid parameter (9d89014)
  • core: improved error message shown when an actor doesn't have a required ability (753b036)
  • core: simplified AsyncOperation events (ac1a88f)
  • core: simplified internal AsyncOperation events to separate service name from task description (0162d28)
  • deps: update website dependencies (#1437) (51ef285)
  • playwright-test: better names for screenshots attached to Playwright Test reports (8c04334)
  • rest: support for Axios 1.2.2 (b6fa54b)

Features​

  • playwright-test: annotate Playwright Test reports with Serenity/JS tags (5e4a513)
  • playwright-test: custom actors can now be defined in playwright config file (117da34)
  • playwright-test: interoperability between Serenity/JS default actor and page (91803de)
  • playwright-test: support for Photographer and automated screenshots upon activity failure (c5527ca)

Summary​

This release addresses #594, #1240, #1259 and introduces improvements to the following Serenity/JS modules:

View detailed code diff on GitHub

Bug Fixes​

  • console-reporter: corrected default export so that it's detected as no-arg (e39fc12), closes #1240
  • console-reporter: corrected error reporting when scenarios are executed in parallel (170a31e), closes #1240
  • core: activity is now able to detect invocation location on Node 14 (41f4776), closes #1240
  • core: enabled support for synthetic default imports and ES module interop (3e63d07), closes #1240
  • core: improved implementation of EventQueue to better support parallel scenarios (025e4fd), closes #1240
  • core: simplified SceneFinishes event (9ad947a), closes #1240
  • playwright-test: bulk-attach all Serenity/JS events to Playwright report (a5f3d7c), closes #1240
  • playwright-test: support for Playwright Test Babel loader (f9a5412), closes #1240
  • playwright-test: wait for Photographer to finish taking screenshots before dismissing actors (b0c5adb), closes #1240
  • playwright: corrected not(isPresent()) for PlaywrightPageElement (0693b2f), closes #1240
  • playwright: upgraded Playwright to 1.25.2 (fcbfdda)
  • playwright: upgraded Playwright to 1.26.0 (a13ab3c)
  • rest: removed deprecated ChangeApiUrl (a8ab177), closes #1259
  • web: question about Text.of(element) now trims newline and space characters (c68bbe9)

Features​

  • assertions: new assertion about a property of an object (9cc03d5)
  • console-reporter: improved support for tests executed in parallel (01264ce), closes #1240
  • console-reporter: report both total and real time it took to execute all the scenarios (654be57), closes #1240
  • core: serenity/JS stage crew members can now be configured using string (786cdad), closes #1240 #594
  • playwright-test: first draft of the Serenity/JS Playwright Test reporter (b9e3d89), closes #1240
  • playwright-test: improved Playwright Test reports (6c6b537), closes #1240
  • playwright-test: support Screenplay Pattern-style scenarios (c425c54), closes #1240
  • serenity-bdd: support for configuring SerenityBDDReporter using a ClassDescription string (968e349), closes #594

Reverts​

  • web: reverted the change to Text that would make it automatically trim the retrieved text (f5a47b7)