Sourced from @playwright/test
's
releases.
v1.47.1
Highlights
microsoft/playwright#32480 - [REGRESSION]: tsconfig.json's compilerOptions.paths no longer working in 1.47 microsoft/playwright#32552 - [REGRESSION]: broken UI in Trace Viewer while showing network response body
Browser Versions
- Chromium 129.0.6668.29
- Mozilla Firefox 130.0
- WebKit 18.0
This version was also tested against the following stable channels:
- Google Chrome 128
- Microsoft Edge 128
v1.47.0
Network Tab improvements
The Network tab in the UI mode and trace viewer has several nice improvements:
- filtering by asset type and URL
- better display of query string parameters
- preview of font assets
Credit to
@kubajanik
for these wonderful improvements!
--tsconfig
CLI optionBy default, Playwright will look up the closest tsconfig for each imported file using a heuristic. You can now specify a single tsconfig file in the command line, and Playwright will use it for all imported files, not only test files:
# Pass a specific tsconfig npx playwright test --tsconfig tsconfig.test.json
APIRequestContext now accepts
URLSearchParams
andstring
as query parametersYou can now pass
URLSearchParams
andstring
as query parameters to APIRequestContext:test('query params', async ({ request }) => { const searchParams = new URLSearchParams(); searchParams.set('userId', 1); const response = await request.get( 'https://jsonplaceholder.typicode.com/posts', { params: searchParams // or as a string: 'userId=1' } </tr></table>
... (truncated)
3d2ffd0
chore: mark v1.47.1 (#32617)dba1319
cherry-pick(#32589):
docs: release note fixes for 1.4790f959a
cherry-pick(#32553):
fix(trace-viewer): fix ui issue on network request details13e6e48
cherry-pick(#32491):
fix(test runner): allow directory imports with path mapp...8762407
cherry-pick(#32492):
Revert "fix(test runner): align with typescript … (#32560)f9145b1
cherry-pick(#32516):
chore: allow query as string in Python/.NET2c17b1f
cherry-pick(#32482):
docs: update release notes for 1.47 to our changes from ...d5943de
cherry-pick(#32475):
docs: update browsers version in release notes (#32476)73fdd25
cherry-pick(#32470):
feat(chromium): roll to r1134 (#32473)13f4531
chore: mark 1.47 (#32472)