chore(deps): update dependency @playwright/test to v1.54.1 #40
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "renovate/playwright-monorepo"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
1.50.1
->1.54.1
Release Notes
microsoft/playwright (@playwright/test)
v1.54.1
Compare Source
Highlights
https://github.com/microsoft/playwright/issues/36650 - [Regression]: 1.54.0 breaks downloading browsers when an HTTP(S) proxy is used
Browser Versions
This version was also tested against the following stable channels:
v1.54.0
Compare Source
Highlights
New cookie property
partitionKey
in browserContext.cookies() and browserContext.addCookies(). This property allows to save and restore partitioned cookies. See CHIPS MDN article for more information. Note that browsers have different support and defaults for cookie partitioning.New option
noSnippets
to disable code snippets in the html report.New property
location
in test annotations, for example in testResult.annotations and testInfo.annotations. It shows where the annotation liketest.skip
ortest.fixme
was added.Command Line
New option
--user-data-dir
in multiple commands. You can specify the same user data dir to reuse browsing state, like authentication, between sessions.Option
-gv
has been removed from thenpx playwright test
command. Use--grep-invert
instead.npx playwright open
does not open the test recorder anymore. Usenpx playwright codegen
instead.Miscellaneous
Browser Versions
This version was also tested against the following stable channels:
v1.53.2
Compare Source
Highlights
https://github.com/microsoft/playwright/issues/36317 - [Regression]: Merging pre-1.53 blob reports loses attachments
https://github.com/microsoft/playwright/pull/36357 - [Regression (Chromium)]: CDP missing trailing slash
https://github.com/microsoft/playwright/issues/36292 - [Bug (MSEdge)]: Edge fails to launch when using
msRelaunchNoCompatLayer
Browser Versions
This version was also tested against the following stable channels:
v1.53.1
Compare Source
Highlights
https://github.com/microsoft/playwright/issues/36339 - [Regression]: Click can fail when scrolling required
https://github.com/microsoft/playwright/issues/36307 - [Regression (Chromium)]: Under some scenarios filling a
textarea
doesn't fillhttps://github.com/microsoft/playwright/issues/36294 - [Regression (Firefox)]:
setViewportSize
times outhttps://github.com/microsoft/playwright/pull/36350 - [Fix]: Display HTTP method for fetch trace entries
Browser Versions
This version was also tested against the following stable channels:
v1.53.0
Compare Source
Trace Viewer and HTML Reporter Updates
New Steps in Trace Viewer and HTML reporter:
New option in
'html'
reporter to set the title of a specific test run:Miscellaneous
New option
kind
in testInfo.snapshotPath() controls which snapshot path template is used.New method locator.describe() to describe a locator. Used for trace viewer and reports.
npx playwright install --list
will now list all installed browsers, versions and locations.Browser Versions
This version was also tested against the following stable channels:
v1.52.0
Compare Source
Highlights
New method expect(locator).toContainClass() to ergonomically assert individual class names on the element.
Aria Snapshots got two new properties:
/children
for strict matching and/url
for links.Test Runner
--fail-on-flaky-tests
. This is useful for CI/CD environments where you want to ensure that all tests are stable before deploying.Miscellaneous
maxRedirects
in apiRequest.newContext() to control the maximum number of redirects.ref
in locator.ariaSnapshot() to generate reference for each element in the snapshot which can later be used to locate the element.!@​my-tag
or!my-file.spec.ts
or!p:my-project
.Breaking Changes
?
wildcard is not supported any more, it will always match question mark?
character.[]
are not supported anymore. We recommend using regular expressions instead.Cookie
header anymore. If aCookie
header is provided, it will be ignored, and the cookie will be loaded from the browser's cookie store. To set custom cookies, use browserContext.addCookies().Browser Versions
This version was also tested against the following stable channels:
v1.51.1
Compare Source
Highlights
https://github.com/microsoft/playwright/issues/35093 - [Regression]: TimeoutOverflowWarning:
2149630
.634 does not fit into a 32-bit signed integerhttps://github.com/microsoft/playwright/issues/35138 - [Regression]: TypeError: Cannot read properties of undefined (reading 'expectInfo')
Browser Versions
This version was also tested against the following stable channels:
v1.51.0
Compare Source
StorageState for indexedDB
New option
indexedDB
for browserContext.storageState() allows to save and restore IndexedDB contents. Useful when your application uses IndexedDB API to store authentication tokens, like Firebase Authentication.Here is an example following the authentication guide:
Copy prompt
New "Copy prompt" button on errors in the HTML report, trace viewer and UI mode. Click to copy a pre-filled LLM prompt that contains the error message and useful context for fixing the error.
Filter visible elements
New option
visible
for locator.filter() allows matching only visible elements.Git information in HTML report
Set option testConfig.captureGitInfo to capture git information into testConfig.metadata.
HTML report will show this information when available:
Test Step improvements
A new TestStepInfo object is now available in test steps. You can add step attachments or skip the step under some conditions.
Miscellaneous
contrast
for methods page.emulateMedia() and browser.newContext() allows to emulate theprefers-contrast
media feature.failOnStatusCode
makes all fetch requests made through the APIRequestContext throw on response codes other than 2xx and 3xx.Browser Versions
This version was also tested against the following stable channels:
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.
chore(deps): update dependency @playwright/test to v1.51.1to chore(deps): update dependency @playwright/test to v1.52.010bb45cf37
to84feaa49ce
chore(deps): update dependency @playwright/test to v1.52.0to chore(deps): update dependency @playwright/test to v1.53.084feaa49ce
toedc8f11a57
chore(deps): update dependency @playwright/test to v1.53.0to chore(deps): update dependency @playwright/test to v1.53.1edc8f11a57
to548b998d0e
chore(deps): update dependency @playwright/test to v1.53.1to chore(deps): update dependency @playwright/test to v1.53.2548b998d0e
to063306706e
chore(deps): update dependency @playwright/test to v1.53.2to chore(deps): update dependency @playwright/test to v1.54.0063306706e
tobb9cac1953
chore(deps): update dependency @playwright/test to v1.54.0to chore(deps): update dependency @playwright/test to v1.54.1bb9cac1953
to81af2b6f4a
Checkout
From your project repository, check out a new branch and test the changes.