v1.38.1

microsoft/playwrightv1.38.1Sep 21, 2023by aslushnikov

AI Summary

This release focuses on fixing multiple regressions and deprecating the `toMatchSnapshot` API. It addresses issues with the trace viewer, test listing, and type extensions.

Key Highlights

  • Fixed TypeError and RangeError in the trace viewer
  • Fixed npx playwright test --list printing all tests twice
  • Fixed regression preventing extension of PlaywrightTest.Matchers type
  • Fixed Unicode flag regression with single quotes
  • Fixed evaluate serialization failure

New Features

  • Deprecation announcement for expect(value).toMatchSnapshot()
  • Trace viewer crash fixes
  • Test listing duplicate fix
  • Type extension regression fix
  • Unicode flag regression fix
  • Evaluate serialization fix

Full Release Notes

### Highlights

https://github.com/microsoft/playwright/issues/27071 - expect(value).toMatchSnapshot() deprecation announcement on V1.38
https://github.com/microsoft/playwright/issues/27072 - [BUG] PWT trace viewer fails to load trace and throws TypeError
https://github.com/microsoft/playwright/issues/27073 - [BUG] RangeError: Invalid time value
https://github.com/microsoft/playwright/issues/27087 - [REGRESSION]: npx playwright test --list prints all tests twice
https://github.com/microsoft/playwright/issues/27113 - [REGRESSION]: No longer able to extend PlaywrightTest.Matchers type for locators and pages
https://github.com/microsoft/playwright/issues/27144 - [BUG]can not display trace
https://github.com/microsoft/playwright/issues/27163 - [REGRESSION] Single Quote Wrongly Escaped by Locator When Using Unicode Flag
https://github.com/microsoft/playwright/issues/27181 - [BUG] evaluate serializing fails at 1.38

### Browser Versions

* Chromium 117.0.5938.62
* Mozilla Firefox 117.0
* WebKit 17.0

This version was also tested against the following stable channels:

* Google Chrome 116
* Microsoft Edge 116