Skip to main content

18 posts tagged with "playwright"

View All Tags

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

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

View detailed code diff on GitHub

Bug Fixes

  • core: corrected file system location reporting for built-in Interactions (ce9acfc)
  • core: improved invocation location detection on Windows (#1332) (43dd9b9)
  • deps: update dependency cli-table3 to ^0.6.3 (062b991)
  • playwright: upgraded Playwright to 1.26.1 (b056613)
  • protractor: standardised Web model APIs to always use async/await (e8298dd)
  • webdriverio: standardised Web model APIs to always use async/await (8ea447f)
  • web: interaction to Clear.theValueOf(field) triggers compatible events for all web tools (ee6c112), closes #1329

Features

  • web: accept Answerable as argument of ExecuteScript.from(sourceUrl) (0b06703)

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)

Summary

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

View detailed code diff on GitHub

Bug Fixes

  • cucumber: support for Cucumber 8.5.2 (1e0763e)
  • deps: update dependency diff to ^5.1.0 (f21af46)
  • deps: update dependency express to ^4.18.1 (f10f264)
  • deps: update dependency moment to ^2.29.4 (7b0fd6e)
  • deps: update website dependencies (#1278) (5e1de6d)
  • playwright: support for Playwright 1.25.1 (e0ab058)

Summary

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

View detailed code diff on GitHub

Bug Fixes

  • core: extracted common TypeScript configuration (0108370)
  • core: refactored the interaction to Wait.until to improve its reliability (970ea39), closes #1255
  • deps: updated TinyTypes to 1.19.0 (f6d53e4)
  • local-server: pinned portfinder to 1.0.28 (16369a9), closes http-party/node-portfinder#138
  • playwright: corrected internal imports from playwright to playwright-core (c42e7f3)
  • playwright: updated Playwright (3fa7c7e)
  • playwright: updated Playwright to 1.24.2 (9283910)
  • webdriverio: ensure Serenity/JS-specific config is not passed to WebdriverIO-specific services (384738e)
  • webdriverio: use local instead of global browser object in WebdriverioPage (323be75)
  • web: simplified isClickable so that it doesn't include visibility check (33ad47e)

Features

  • core: support for registering custom RuntimeErrors with ErrorSerialiser (feed78c)

Summary

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

View detailed code diff on GitHub

Bug Fixes

  • core: improved how the interaction to Log reports names of the logged values (c4cc60d)
  • cucumber: updated @cucumber/messages (9d970d0)
  • playwright: upgraded Playwright to 1.24.0 (9f8d491)
  • web: simplified the implementation of isClickable and isEnabled (142eb86), closes #1255

Features

  • core: new interaction to Debug.values(..) and Debug.setBreakpoint() (ef54324)
  • cucumber: support for Cucumber v8 (e0029e2), closes #1216
  • web: PageElement-releated expectations now also check if the element is present (de4610c), closes #1255

Summary

This release addresses #493, #563, #805, #911, #1035, #1156, #1236 and introduces improvements to the following Serenity/JS modules:

Related external tickets: puppeteer/puppeteer#2481

View detailed code diff on GitHub

Bug Fixes

  • core: corrected Wait so that polling stops when the timeout expires (60677e7)
  • protractor: isVisible check for ProtractorPageElement returns false for non-existent elements (e64eee3), closes #1236
  • webdriverio: improved resiliency of the WebdriverIOPuppeteerModalDialogHandler (5e56edf), closes #805
  • webdriverio: updated WebdriverIO dependencies (0833a3c)
  • web: improved JavaScript dialog-related error handling when taking screenshots (3cd1149), closes puppeteer/puppeteer#2481 #1156
  • web: removed dependency on is-plain-object (cbe76a6)
  • web: renamed PagesContext to BrowsingSession to make the name more descriptive (6b4e998), closes #1236

Features

  • core: interaction to Wait stops upon errors (56ff3eb), closes #1035
  • core: interactions to Wait.for and Wait.until are now browser-independent (d115142), closes #1035 #1236
  • core: minimum timeout and polling interval guards for Wait (fd53d81), closes #1035
  • playwright: configurable navigation and interaction timeouts for BrowseTheWebWithPlaywright (142b78e), closes #1236
  • playwright: configurable navigation waitUntil timeout (2458fcb), closes #1236
  • playwright: initial support for Playwright (87e88a1), closes #493 #563 #911
  • playwright: interaction to Select option(s) from a <select /> dropdown (009041d), closes #1236
  • playwright: interactions to Scroll, Press, and TakeScreenshot (1c039d2), closes #493 #563 #911
  • playwright: isActive check for PlaywrightPageElement (dbf44eb), closes #1236
  • playwright: support for executing in-browser JavaScript (630bedd), closes #493 #563 #911
  • playwright: support for isClickable (afc8587), closes #1236
  • playwright: support for isVisible, plus consistent visibility checks across the board (2c5c929), closes #1236
  • playwright: support for working with cookies (1215a8f), closes #1237
  • playwright: support for working with frames (89d4621), closes #1236
  • web: introduced PagesContext and implemented PlaywrightPage (0045a72), closes #1236
  • web: new portable APIs to handle ModalDialog windows (c94d0ec), closes #1236 #805 #1156
  • web: standardised support for deep CSS selectors across the Web integration modules (e9e3f28), closes #1238