v1.31.2

microsoft/playwrightv1.31.2Mar 2, 2023by yury-s

AI Summary

A bug fix release addressing Node 18 compatibility issues and reload timeouts.

Key Highlights

  • Fixes ECONNREFUSED errors on GitHub Actions with Node 18
  • Fixes Firefox timeout when reloading pages with URL hash
  • Fixes shard option logic when the last test is skipped
  • Adds validation for `defineConfig` in component testing

Full Release Notes

## Highlights 

https://github.com/microsoft/playwright/issues/20784 - [BUG] ECONNREFUSED on GitHub Actions with Node 18 
https://github.com/microsoft/playwright/issues/21145 - [REGRESSION]: firefox-1378 times out on await page.reload() when URL contains a #hash
https://github.com/microsoft/playwright/issues/21226 - [BUG] Playwright seems to get stuck when using shard option and last test is skipped
https://github.com/microsoft/playwright/issues/21227 - Using the webServer config with a Vite dev server?
https://github.com/microsoft/playwright/issues/21312 - throw if defineConfig is not used for component testing

## Browser Versions

- Chromium 111.0.5563.19
- Mozilla Firefox 109.0
- WebKit 16.4

This version was also tested against the following stable channels:

- Google Chrome 110
- Microsoft Edge 110