This repository has been archived by the owner on Oct 24, 2024. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
7.23.9
->7.24.8
7.23.9
->7.25.2
7.21.8
->7.25.1
7.23.9
->7.25.3
7.23.3
->7.24.7
1.33.0
->1.46.0
0.6.0
->0.10.0
1.4.2
->1.4.3
8.40.0
->8.57.0
8.8.0
->8.10.0
2.27.5
->2.29.1
27.2.1
->27.9.0
6.7.1
->6.9.0
7.32.2
->7.35.0
4.6.0
->4.6.2
0.67.0
->0.73.0
0.16.2
->0.16.4
18.2.0
->18.3.1
0.71.8
->0.74.5
5.3.3
->5.5.4
Release Notes
babel/babel (@babel/cli)
v7.24.8
Compare Source
👓 Spec Compliance
babel-parser
declare
(@liuxingbaoyu)🐛 Bug Fix
babel-generator
in
infor
heads (@nicolo-ribaudo)await using
(@nicolo-ribaudo)babel-parser
using
declarations (@H0onnn).value: undefined
to regexp literals (@liuxingbaoyu)babel-types
ObjectTypeInternalSlot
visitor keys (@nicolo-ribaudo)babel-plugin-transform-typescript
export import x =
(@liuxingbaoyu)💅 Polish
babel-generator
async
infor await
(@nicolo-ribaudo)babel-traverse
Scope.globals
multiple times (@liuxingbaoyu)v7.24.7
Compare Source
🐛 Bug Fix
babel-node
babel-traverse
constantViolations
with destructuring (@liuxingbaoyu)babel-helper-transform-fixture-test-runner
,babel-plugin-proposal-explicit-resource-management
using
inswitch
correctly (@liuxingbaoyu)🏠 Internal
babel-helpers
,babel-runtime-corejs2
,babel-runtime-corejs3
,babel-runtime
v7.24.6
Compare Source
🐛 Bug Fix
babel-helper-create-class-features-plugin
,babel-plugin-transform-class-properties
babel-core
,babel-generator
,babel-plugin-transform-modules-commonjs
babel-helper-create-class-features-plugin
,babel-plugin-proposal-decorators
babel-helpers
,babel-plugin-proposal-decorators
,babel-runtime-corejs3
babel-parser
,babel-plugin-transform-typescript
cls.fn<C> = x
(@liuxingbaoyu)🏠 Internal
babel-core
,babel-helpers
,babel-plugin-transform-runtime
,babel-preset-env
,babel-runtime-corejs2
,babel-runtime-corejs3
,babel-runtime
babel-helpers
tsconfig.json
for@babel/helpers/src/helpers
(@nicolo-ribaudo)babel-cli
,babel-helpers
,babel-plugin-external-helpers
,babel-plugin-proposal-decorators
,babel-plugin-transform-class-properties
,babel-plugin-transform-modules-commonjs
,babel-plugin-transform-modules-systemjs
,babel-plugin-transform-runtime
,babel-preset-env
,babel-runtime-corejs2
,babel-runtime-corejs3
,babel-runtime
babel-parser
,babel-traverse
v7.24.5
Compare Source
🐛 Bug Fix
babel-plugin-transform-classes
,babel-traverse
babel-helpers
,babel-plugin-proposal-explicit-resource-management
,babel-runtime-corejs3
💅 Polish
babel-parser
using
declaration (@JLHwung)🏠 Internal
babel-parser
@babel/parser
AST types (@nicolo-ribaudo).startNode
(@nicolo-ribaudo)babel-helper-create-class-features-plugin
,babel-helper-member-expression-to-functions
,babel-helper-module-transforms
,babel-helper-split-export-declaration
,babel-helper-wrap-function
,babel-helpers
,babel-plugin-bugfix-firefox-class-in-computed-class-key
,babel-plugin-proposal-explicit-resource-management
,babel-plugin-transform-block-scoping
,babel-plugin-transform-destructuring
,babel-plugin-transform-object-rest-spread
,babel-plugin-transform-optional-chaining
,babel-plugin-transform-parameters
,babel-plugin-transform-private-property-in-object
,babel-plugin-transform-react-jsx-self
,babel-plugin-transform-typeof-symbol
,babel-plugin-transform-typescript
,babel-traverse
NodePath<T | U>
distributive (@nicolo-ribaudo)babel-plugin-proposal-partial-application
,babel-types
JSXNamespacedName
from validCallExpression
args (@nicolo-ribaudo)babel-plugin-transform-class-properties
,babel-preset-env
🏃♀️ Performance
babel-helpers
,babel-preset-env
,babel-runtime-corejs3
objectWithoutPropertiesLoose
on V8 (@romgrk)v7.24.1
Compare Source
🐛 Bug Fix
babel-helper-create-class-features-plugin
,babel-plugin-proposal-decorators
babel-plugin-proposal-decorators
,babel-plugin-proposal-json-modules
,babel-plugin-transform-async-generator-functions
,babel-plugin-transform-regenerator
,babel-plugin-transform-runtime
,babel-preset-env
moduleName
for@babel/runtime/regenerator
imports (@nicolo-ribaudo)babel-helper-create-class-features-plugin
,babel-plugin-proposal-decorators
,babel-plugin-proposal-pipeline-operator
,babel-plugin-transform-class-properties
babel-helper-create-class-features-plugin
,babel-helper-replace-supers
,babel-plugin-proposal-decorators
,babel-plugin-transform-class-properties
📝 Documentation
🏠 Internal
babel-code-frame
,babel-highlight
chalk
withpicocolors
(@nicolo-ribaudo)babel-helper-fixtures
,babel-helpers
,babel-plugin-bugfix-safari-id-destructuring-collision-in-function-expression
,babel-plugin-proposal-pipeline-operator
,babel-plugin-transform-unicode-sets-regex
,babel-preset-env
,babel-preset-flow
babel-helpers
,babel-plugin-transform-async-generator-functions
,babel-plugin-transform-class-properties
,babel-plugin-transform-class-static-block
,babel-plugin-transform-modules-commonjs
,babel-plugin-transform-modules-systemjs
,babel-plugin-transform-regenerator
,babel-plugin-transform-runtime
,babel-preset-env
,babel-runtime-corejs3
,babel-runtime
,babel-standalone
babel-helper-module-imports
,babel-plugin-proposal-import-wasm-source
,babel-plugin-proposal-json-modules
,babel-plugin-proposal-record-and-tuple
,babel-plugin-transform-react-jsx-development
,babel-plugin-transform-react-jsx
babel-helper-create-class-features-plugin
,babel-plugin-bugfix-safari-id-destructuring-collision-in-function-expression
,babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining
,babel-plugin-bugfix-v8-static-class-fields-redefine-readonly
,babel-plugin-external-helpers
,babel-plugin-proposal-async-do-expressions
,babel-plugin-proposal-decorators
,babel-plugin-proposal-destructuring-private
,babel-plugin-proposal-do-expressions
,babel-plugin-proposal-duplicate-named-capturing-groups-regex
,babel-plugin-proposal-explicit-resource-management
,babel-plugin-proposal-export-default-from
,babel-plugin-proposal-function-bind
,babel-plugin-proposal-function-sent
,babel-plugin-proposal-import-attributes-to-assertions
,babel-plugin-proposal-import-defer
,babel-plugin-proposal-import-wasm-source
,babel-plugin-proposal-json-modules
,babel-plugin-proposal-optional-chaining-assign
,babel-plugin-proposal-partial-application
,babel-plugin-proposal-pipeline-operator
,babel-plugin-proposal-record-and-tuple
,babel-plugin-proposal-regexp-modifiers
,babel-plugin-proposal-throw-expressions
,babel-plugin-syntax-async-do-expressions
,babel-plugin-syntax-decimal
,babel-plugin-syntax-decorators
,babel-plugin-syntax-destructuring-private
,babel-plugin-syntax-do-expressions
,babel-plugin-syntax-explicit-resource-management
,babel-plugin-syntax-export-default-from
,babel-plugin-syntax-flow
,babel-plugin-syntax-function-bind
,babel-plugin-syntax-function-sent
,babel-plugin-syntax-import-assertions
,babel-plugin-syntax-import-attributes
,babel-plugin-syntax-import-defer
,babel-plugin-syntax-import-reflection
,babel-plugin-syntax-import-source
,babel-plugin-syntax-jsx
,babel-plugin-syntax-module-blocks
,babel-plugin-syntax-optional-chaining-assign
,babel-plugin-syntax-partial-application
,babel-plugin-syntax-pipeline-operator
,babel-plugin-syntax-record-and-tuple
,babel-plugin-syntax-throw-expressions
,babel-plugin-syntax-typescript
,babel-plugin-transform-arrow-functions
,babel-plugin-transform-async-generator-functions
,babel-plugin-transform-async-to-generator
,babel-plugin-transform-block-scoped-functions
,babel-plugin-transform-block-scoping
,babel-plugin-transform-class-properties
,babel-plugin-transform-class-static-block
,babel-plugin-transform-classes
,babel-plugin-transform-computed-properties
,babel-plugin-transform-destructuring
,babel-plugin-transform-dotall-regex
,babel-plugin-transform-duplicate-keys
,babel-plugin-transform-dynamic-import
,babel-plugin-transform-exponentiation-operator
,babel-plugin-transform-export-namespace-from
,babel-plugin-transform-flow-comments
,babel-plugin-transform-flow-strip-types
,babel-plugin-transform-for-of
,babel-plugin-transform-function-name
,babel-plugin-transform-instanceof
,babel-plugin-transform-jscript
,babel-plugin-transform-json-strings
,babel-plugin-transform-literals
,babel-plugin-transform-logical-assignment-operators
,babel-plugin-transform-member-expression-literals
,babel-plugin-transform-modules-amd
,babel-plugin-transform-modules-commonjs
,babel-plugin-transform-modules-systemjs
,babel-plugin-transform-modules-umd
,babel-plugin-transform-new-target
,babel-plugin-transform-nullish-coalescing-operator
,babel-plugin-transform-numeric-separator
,babel-plugin-transform-object-assign
,babel-plugin-transform-object-rest-spread
,babel-plugin-transform-object-set-prototype-of-to-assign
,babel-plugin-transform-object-super
,babel-plugin-transform-optional-catch-binding
,babel-plugin-transform-optional-chaining
,babel-plugin-transform-parameters
,babel-plugin-transform-private-methods
,babel-plugin-transform-private-property-in-object
,babel-plugin-transform-property-literals
,babel-plugin-transform-property-mutators
,babel-plugin-transform-proto-to-assign
,babel-plugin-transform-react-constant-elements
,babel-plugin-transform-react-display-name
,babel-plugin-transform-react-inline-elements
,babel-plugin-transform-react-jsx-compat
,babel-plugin-transform-react-jsx-self
,babel-plugin-transform-react-jsx-source
,babel-plugin-transform-react-pure-annotations
,babel-plugin-transform-regenerator
,babel-plugin-transform-reserved-words
,babel-plugin-transform-runtime
,babel-plugin-transform-shorthand-properties
,babel-plugin-transform-spread
,babel-plugin-transform-sticky-regex
,babel-plugin-transform-strict-mode
,babel-plugin-transform-template-literals
,babel-plugin-transform-typeof-symbol
,babel-plugin-transform-typescript
,babel-plugin-transform-unicode-escapes
,babel-plugin-transform-unicode-property-regex
,babel-plugin-transform-unicode-regex
,babel-plugin-transform-unicode-sets-regex
,babel-preset-env
,babel-preset-flow
,babel-preset-react
,babel-preset-typescript
babel-compat-data
,babel-plugin-transform-object-rest-spread
,babel-preset-env
@babel/compat-data
package.json (@nicolo-ribaudo)🔬 Output optimization
babel-helper-replace-supers
,babel-plugin-transform-class-properties
,babel-plugin-transform-classes
,babel-plugin-transform-parameters
,babel-plugin-transform-runtime
assertThisInitialized
aftersuper()
(@liuxingbaoyu)babel-plugin-transform-class-properties
,babel-plugin-transform-classes
assertThisInitialized
more often (@liuxingbaoyu)babel-plugin-proposal-decorators
,babel-plugin-transform-class-properties
,babel-plugin-transform-object-rest-spread
,babel-traverse
babel-core
,babel-plugin-external-helpers
,babel-plugin-proposal-decorators
,babel-plugin-proposal-function-bind
,babel-plugin-transform-class-properties
,babel-plugin-transform-classes
,babel-plugin-transform-flow-comments
,babel-plugin-transform-flow-strip-types
,babel-plugin-transform-function-name
,babel-plugin-transform-modules-systemjs
,babel-plugin-transform-parameters
,babel-plugin-transform-private-property-in-object
,babel-plugin-transform-react-jsx
,babel-plugin-transform-runtime
,babel-plugin-transform-spread
,babel-plugin-transform-typescript
,babel-preset-env
microsoft/playwright (@playwright/test)
v1.46.0
Compare Source
v1.45.3
Compare Source
v1.45.2
Compare Source
v1.45.1
Compare Source
v1.45.0
Compare Source
v1.44.1
Compare Source
Highlights
https://github.com/microsoft/playwright/issues/30779 - [REGRESSION]: When using
video: 'on'
with VSCode extension the browser got closedhttps://github.com/microsoft/playwright/issues/30755 - [REGRESSION]: Electron launch with spaces inside executablePath didn't workhttps://github.com/microsoft/playwright/issues/307700 - [REGRESSION]: Mask elements outside of viewport when creating fullscreen screenshots didn't worhttps://github.com/microsoft/playwright/issues/3085858 - [REGRESSION]: ipv6 got shown instead of localhost in show-trace/show-report
Browser Versions
This version was also tested against the following stable channels:
v1.44.0
Compare Source
New APIs
Accessibility assertions
expect(locator).toHaveAccessibleName() checks if the element has the specified accessible name:
expect(locator).toHaveAccessibleDescription() checks if the element has the specified accessible description:
expect(locator).toHaveRole() checks if the element has the specified ARIA role:
Locator handler
noWaitAfter
option.times
option in page.addLocatorHandler() to specify maximum number of times the handler should be run.Miscellaneous options
multipart
option inapiRequestContext.fetch()
now acceptsFormData
and supports repeating fields with the same name.expect(callback).toPass({ intervals })
can now be configured byexpect.toPass.inervals
option globally in testConfig.expect or per project in testProject.expect.expect(page).toHaveURL(url)
now supportsignoreCase
option.testProject.ignoreSnapshots allows to configure per project whether to skip screenshot expectations.
Reporter API
outputFile
. The same option can also be specified asPLAYWRIGHT_BLOB_OUTPUT_FILE
environment variable that might be more convenient on CI/CD.includeProjectInTestName
option.Command line
--last-failed
CLI option for running only tests that failed in the previous run.First run all tests:
$ npx playwright test Running 103 tests using 5 workers ... 2 failed [chromium] › my-test.spec.ts:8:5 › two ───────────────────────────────────────────────────────── [chromium] › my-test.spec.ts:13:5 › three ────────────────────────────────────────────────────── 101 passed (30.0s)
Now fix the failing tests and run Playwright again with
--last-failed
option:$ npx playwright test --last-failed Running 2 tests using 2 workers 2 passed (1.2s)
Browser Versions
This version was also tested against the following stable channels:
v1.43.1
Compare Source
Highlights
https://github.com/microsoft/playwright/issues/30300 - [REGRESSION]: UI mode restarts if keep storage statehttps://github.com/microsoft/playwright/issues/303399 - [REGRESSION]: Brand new install of playwright, unable to run chromium with show browser using vscode
Browser Versions
This version was also tested against the following stable channels:
v1.43.0
Compare Source
New APIs
Method browserContext.clearCookies() now supports filters to remove only some cookies.
New mode
retain-on-first-failure
for testOptions.trace. In this mode, trace is recorded for the first run of each test, but not for retires. When test run fails, the trace file is retained, otherwise it is removed.New property testInfo.tags exposes test tags during test execution.
New method locator.contentFrame() converts a
Locator
object to aFrameLocator
. This can be useful when you have aLocator
object obtained somewhere, and later on would like to interact with the content inside the frame.New method frameLocator.owner() converts a
FrameLocator
object to aLocator
. This can be useful when you have aFrameLocator
object obtained somewhere, and later on would like to interact with theiframe
element.UI Mode Updates
@fast
or clicking on the tag itself.Browser Versions
This version was also tested against the following stable channels:
v1.42.1
Compare Source
Highlights
https://github.com/microsoft/playwright/issues/29732 - [Regression]: HEAD requests to webServer.url since v1.42.0https://github.com/microsoft/playwright/issues/297466 - [Regression]: Playwright CT CLI scripts fail due to broken initializePlugin imporhttps://github.com/microsoft/playwright/issues/2973939 - [Bug]: Component tests fails when imported a module with a dot in a nahttps://github.com/microsoft/playwright/issues/29731731 - [Regression]: 1.42.0 breaks some import statemehttps://github.com/microsoft/playwright/issues/297609760 - [Bug]: Possible regression with chained locators in v1.42
Browser Versions
This version was also tested against the following stable channels:
v1.42.0
Compare Source
New APIs
Test tags
New tag syntax for adding tags to the tests (@-tokens in the test title are still supported).
Use
--grep
command line option to run only tests with certain tags.Annotating skipped tests
New annotation syntax for test annotations allows annotating the tests that do not run.
page.addLocatorHandler()
New method page.addLocatorHandler() registers a callback that will be invoked when specified element becomes visible and may block Playwright actions. The callback can get rid of the overlay. Here is an example that closes a cookie dialog when it appears.
Project wildcard filter
Playwright command line flag now supports '*' wildcard when filtering by project.
Other APIs
expect(callback).toPass({ timeout })
The timeout can now be configured by
expect.toPass.timeout
option globally or in project configelectronApplication.on('console')
electronApplication.on('console') event is emitted when Electron main process calls console API methods.
page.pdf() accepts two new options
tagged
andoutline
.Breaking changes
Mixing the test instances in the same suite is no longer supported. Allowing it was an oversight as it makes reasoning about the semantics unnecessarily hard.
Announcements
Browser Versions
This version was also tested against the following stable channels:
v1.41.2
Compare Source
Highlights
https://github.com/microsoft/playwright/issues/29123 - [REGRESSION] route.continue: Protocol error (Fetch.continueRequest): Invalid InterceptionId.
Browser Versions
This version was also tested against the following stable channels:
v1.41.1
Compare Source
Highlights
https://github.com/microsoft/playwright/issues/29067 - [REGRESSION] Codegen/Recorder: not all clicks are being actioned nor recordedhttps://github.com/microsoft/playwright/issues/290288 - [REGRESSION] React component tests throw type error when passing null/undefined to componenhttps://github.com/microsoft/playwright/issues/2902727 - [REGRESSION] React component tests not passing Date prop valuhttps://github.com/microsoft/playwright/issues/29023023 - [REGRESSION] React component tests not rendering children phttps://github.com/microsoft/playwright/issues/290199019 - [REGRESSION] trace.playwright.dev does not currently support the loading from URL
Browser Versions
This version was also tested against the following stable channels:
v1.41.0
Compare Source
New APIs
style
in page.screenshot([options]) and locator.screenshot([options]) to add custom CSS to the page before taking a screenshot.stylePath
for methods expect(page).toHaveScreenshot(name[, options]) and expect(locator).toHaveScreenshot(name[, options]) to apply a custom stylesheet while making the screenshot.fileName
option for Blob reporter, to specify the name of the report to be created.Browser Versions
This version was also tested against the following stable channels:
v1.40.1
Compare Source
Highlights
https://github.com/microsoft/playwright/issues/28319 - [REGRESSION]: Version 1.40.0 Produces corrupted traceshttps://github.com/microsoft/playwright/issues/283711 - [BUG] The color of the 'ok' text did not change to green in the vs code test results sectiohttps://github.com/microsoft/playwright/issues/2832121 - [BUG] Ambiguous test outcome and status for serial mohttps://github.com/microsoft/playwright/issues/28362362 - [BUG] Merging blobs ends up in Error: Cannot create a string longer than 0x1fffffe8 characthttps://github.com/microsoft/playwright/pull/282398239 - fix: collect all errors in removeFolders
Browser Versions
This version was also tested against the following stable channels:
Configuration
📅 Schedule: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.