-
Notifications
You must be signed in to change notification settings - Fork 67
Commit 5a4c724
authored
chore(deps): update playwright monorepo to v1.35.1 (#1103)
[](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@playwright/test](https://playwright.dev)
([source](https://togithub.com/Microsoft/playwright)) | [`1.27.1` ->
`1.35.1`](https://renovatebot.com/diffs/npm/@playwright%2ftest/1.27.1/1.35.1)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
| [playwright](https://playwright.dev)
([source](https://togithub.com/Microsoft/playwright)) | [`1.27.1` ->
`1.35.1`](https://renovatebot.com/diffs/npm/playwright/1.27.1/1.35.1) |
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
---
### Release Notes
<details>
<summary>Microsoft/playwright</summary>
###
[`v1.35.1`](https://togithub.com/microsoft/playwright/releases/tag/v1.35.1)
[Compare
Source](https://togithub.com/Microsoft/playwright/compare/v1.35.0...v1.35.1)
##### Highlights
[https://github.com/microsoft/playwright/issues/23622](https://togithub.com/microsoft/playwright/issues/23622)
- \[Docs] Provide a description how to correctly use expect.configure
with poll
parameter[https://github.com/microsoft/playwright/issues/23666](https://togithub.com/microsoft/playwright/issues/23666)6
- \[BUG] Live Trace does not work with
Codespace[https://github.com/microsoft/playwright/issues/23693](https://togithub.com/microsoft/playwright/issues/23693)93
- \[BUG] attachment steps are not hidden inside
expect.toHaveScreenshot()
##### Browser Versions
- Chromium 115.0.5790.13
- Mozilla Firefox 113.0
- WebKit 16.4
This version was also tested against the following stable channels:
- Google Chrome 114
- Microsoft Edge 114
###
[`v1.35.0`](https://togithub.com/microsoft/playwright/releases/tag/v1.35.0)
[Compare
Source](https://togithub.com/Microsoft/playwright/compare/v1.34.3...v1.35.0)
##### Highlights
- UI mode is now available in VSCode Playwright extension via a new
"Show trace viewer" button:

- UI mode and trace viewer mark network requests handled with
[`page.route()`](https://playwright.dev/docs/api/class-page#page-route)
and
[`browserContext.route()`](https://playwright.dev/docs/api/class-browsercontext#browser-context-route)
handlers, as well as those issued via the [API
testing](https://playwright.dev/docs/api-testing):

- New option `maskColor` for methods
[`page.screenshot()`](https://playwright.dev/docs/api/class-page#page-screenshot),
[`locator.screenshot()`](https://playwright.dev/docs/api/class-locator#locator-screenshot),
[`expect(page).toHaveScreenshot()`](https://playwright.dev/docs/api/class-pageassertions#page-assertions-to-have-screenshot-1)
and
[`expect(locator).toHaveScreenshot()`](https://playwright.dev/docs/api/class-locatorassertions#locator-assertions-to-have-screenshot-1)
to change default masking color:
```js
await page.goto('https://playwright.dev');
await expect(page).toHaveScreenshot({
mask: [page.locator('img')],
maskColor: '#​00FF00', // green
});
```
- New `uninstall` CLI command to uninstall browser binaries:
```bash
$ npx playwright uninstall # remove browsers installed by this
installation
$ npx playwright uninstall --all # remove all ever-install Playwright
browsers
```
- Both UI mode and trace viewer now could be opened in a browser tab:
```bash
$ npx playwright test --ui-port 0 # open UI mode in a tab on a random
port
$ npx playwright show-trace --port 0 # open trace viewer in tab on a
random port
```
##### 1 parent 5845909 commit 5a4c724Copy full SHA for 5a4c724
File tree
Expand file treeCollapse file tree
2 files changed
+34
-27
lines changedOpen diff view settings
Filter options
- development-ui
Expand file treeCollapse file tree
2 files changed
+34
-27
lines changedOpen diff view settings
Collapse file
development-ui/package-lock.json
Copy file name to clipboardExpand all lines: development-ui/package-lock.json+32-25Lines changed: 32 additions & 25 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Collapse file
development-ui/package.json
Copy file name to clipboardExpand all lines: development-ui/package.json+2-2Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
0 commit comments