-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update all non-major dependencies to v1.28.1 #7435
Conversation
|
we're gonna have to try and isolate this webkit/playwright bug and send them an issue, otherwise we'll be stuck on 1.25 forever |
man, I can't reproduce this failure outside our test suite. No idea what's going on |
576bd16
to
dbf147a
Compare
dbf147a
to
87a3988
Compare
87a3988
to
ad6cfed
Compare
ad6cfed
to
7006bb5
Compare
7006bb5
to
8688f6a
Compare
8688f6a
to
d6eb5d5
Compare
d6eb5d5
to
19215ec
Compare
breaking change in playwright? it's really shitting the bed this time |
19215ec
to
9b74cfe
Compare
9b74cfe
to
aedfa6b
Compare
aedfa6b
to
b35c7f5
Compare
b35c7f5
to
c36d9bb
Compare
This PR contains the following updates:
1.25.0
->1.28.1
1.25.0
->1.28.1
Release Notes
Microsoft/playwright
v1.28.1
Compare Source
Highlights
This patch release includes the following bug fixes:
https://github.com/microsoft/playwright/issues/18928 - [BUG] Electron firstWindow times out after upgrading to 1.28.0https://github.com/microsoft/playwright/issues/189200 - [BUG] [expanded=false] in role selector returns elements without aria-expanded attribuhttps://github.com/microsoft/playwright/issues/18865865 - [BUG] regression in killing web server process in 1.28.0
Browser Versions
This version was also tested against the following stable channels:
v1.28.0
: v1.28Compare Source
Playwright Tools
Test Runner
Configure retries and test timeout for a file or a test with
test.describe.configure([options])
.Use
testProject.snapshotPathTemplate
andtestConfig.snapshotPathTemplate
to configure a template controlling location of snapshots generated byexpect(page).toHaveScreenshot(name[, options])
andexpect(screenshot).toMatchSnapshot(name[, options])
.New APIs
locator.blur([options])
locator.clear([options])
android.launchServer([options])
andandroid.connect(wsEndpoint[, options])
androidDevice.on('close')
Browser Versions
This version was also tested against the following stable channels:
v1.27.1
Compare Source
Highlights
This patch release includes the following bug fixes:
https://github.com/microsoft/playwright/pull/18010 - fix(generator): generate nice locators for arbitrary selectors
https://github.com/microsoft/playwright/pull/17999 - chore: don't fail on undefined video/trace
https://github.com/microsoft/playwright/issues/17955 - [Question] Github Actions test compatibility check failed mitigation?https://github.com/microsoft/playwright/issues/179600 - [BUG] Codegen 1.27 creates NUnit code that does not compilhttps://github.com/microsoft/playwright/pull/1795252 - fix: fix typo in treeitem role typing
Browser Versions
This version was also tested against the following stable channels:
v1.27.0
Compare Source
Locators
With these new APIs, inspired by Testing Library, writing locators is a joy:
page.getByText(text, options)
to locate by text content.page.getByRole(role, options)
to locate by ARIA role, ARIA attributes and accessible name.page.getByLabel(label, options)
to locate a form control by associated label's text.page.getByPlaceholder(placeholder, options)
to locate an input by placeholder.page.getByAltText(altText, options)
to locate an element, usually image, by its text alternative.page.getByTitle(title, options)
to locate an element by its title.All the same methods are also available on Locator, FrameLocator and Frame classes.
Other highlights
workers
option in theplaywright.config.ts
now accepts a percentage string to use some of the available CPUs. You can also pass it in the command line:npx playwright test --workers=20%
New options
host
andport
for the html reporter.New field
FullConfig.configFile
is available to test reporters, specifying the path to the config file if any.As announced in v1.25, Ubuntu 18 will not be supported as of Dec 2022. In addition to that, there will be no WebKit updates on Ubuntu 18 starting from the next Playwright release.
Behavior Changes
expect(locator).toHaveAttribute(name, value, options)
with an empty value does not match missing attribute anymore. For example, the following snippet will succeed whenbutton
does not have adisabled
attribute.Command line options
--grep
and--grep-invert
previously incorrectly ignoredgrep
andgrepInvert
options specified in the config. Now all of them are applied together.JSON reporter path resolution is performed relative to the config directory instead of the current working directory:
Browser Versions
This version was also tested against the following stable channels:
v1.26.1
Compare Source
Highlights
This patch includes the following bug fixes:
https://github.com/microsoft/playwright/issues/17500 - [BUG] No tests found using the test explorer - pw/[email protected]
Browser Versions
This version was also tested against the following stable channels:
v1.26.0
Compare Source
Assertions
expect(locator).toBeEnabled([options])
.expect(locator).toHaveText(expected[, options])
now pierces open shadow roots.expect(locator).toBeEditable([options])
.expect(locator).toBeVisible([options])
.Other Highlights
maxRedirects
forapiRequestContext.get(url[, options])
and others to limit redirect count.--pass-with-no-tests
that allows the test suite to pass when no files are found.--ignore-snapshots
to skip snapshot expectations, such asexpect(value).toMatchSnapshot()
andexpect(page).toHaveScreenshot()
.Behavior Change
A bunch of Playwright APIs already support the waitUntil: 'domcontentloaded' option. For example:
Prior to 1.26, this would wait for all iframes to fire the
DOMContentLoaded
event.To align with web specification, the
'domcontentloaded'
value only waits for the target frame to fire the'DOMContentLoaded'
event. UsewaitUntil: 'load'
to wait for all iframes.Browser Versions
This version was also tested against the following stable channels:
v1.25.2
Compare Source
Highlights
This patch includes the following bug fixes:
https://github.com/microsoft/playwright/issues/16937 - [REGRESSION]: session storage failing >= 1.25.0 in firefoxhttps://github.com/microsoft/playwright/issues/169555 - Not using channel on config file when Show and Reuse browser is checked
Browser Versions
This version was also tested against the following stable channels:
v1.25.1
Compare Source
Highlights
This patch includes the following bug fixes:
https://github.com/microsoft/playwright/issues/16319 - [BUG] webServer.command esbuild fails with ESM and Yarnhttps://github.com/microsoft/playwright/issues/164600 - [BUG] Component test fails on 2nd run when SSL is usehttps://github.com/microsoft/playwright/issues/1666565 - [BUG] custom selector engines don't work when running in debug mode
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: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR has been generated by Mend Renovate. View repository job log here.