Skip to content

Commit

Permalink
fix(deps): update playwright monorepo to ^1.35.0 (#1721)
Browse files Browse the repository at this point in the history
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](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.34.2` ->
`^1.35.0`](https://renovatebot.com/diffs/npm/@playwright%2ftest/1.34.2/1.35.0)
|
[![age](https://badges.renovateapi.com/packages/npm/@playwright%2ftest/1.35.0/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@playwright%2ftest/1.35.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@playwright%2ftest/1.35.0/compatibility-slim/1.34.2)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@playwright%2ftest/1.35.0/confidence-slim/1.34.2)](https://docs.renovatebot.com/merge-confidence/)
|
| [playwright](https://playwright.dev)
([source](https://togithub.com/Microsoft/playwright)) | [`^1.34.2` ->
`^1.35.0`](https://renovatebot.com/diffs/npm/playwright/1.34.2/1.35.0) |
[![age](https://badges.renovateapi.com/packages/npm/playwright/1.35.0/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/playwright/1.35.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/playwright/1.35.0/compatibility-slim/1.34.2)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/playwright/1.35.0/confidence-slim/1.34.2)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>Microsoft/playwright</summary>

###
[`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:

![Playwright UI
Mode](https://togithub.com/microsoft/playwright/assets/746130/13094128-259b-477a-8bbb-c1181178e8a2)

- 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):

![Trace
Viewer](https://togithub.com/microsoft/playwright/assets/746130/0df2d4b6-faa3-465c-aff3-c435b430bfe1)

- 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: '#&#8203;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
    ```

##### ⚠️ Breaking changes

- `playwright-core` binary got renamed from `playwright` to
`playwright-core`. So if you use `playwright-core` CLI, make sure to
update the name:

    ```bash
$ npx playwright-core install # the new way to install browsers when
using playwright-core
    ```

This change **does not** affect `@playwright/test` and `playwright`
package users.

##### 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.34.3`](https://togithub.com/microsoft/playwright/releases/tag/v1.34.3)

[Compare
Source](https://togithub.com/Microsoft/playwright/compare/v1.34.2...v1.34.3)

#### Highlights


[https://github.com/microsoft/playwright/issues/23228](https://togithub.com/microsoft/playwright/issues/23228)
- \[BUG] Getting "Please install
[@&#8203;playwright/test](https://togithub.com/playwright/test)
package..." after upgrading from 1.34.0 to 1.34.1

#### Browser Versions

-   Chromium 114.0.5735.26
-   Mozilla Firefox 113.0
-   WebKit 16.4

This version was also tested against the following stable channels:

-   Google Chrome 113
-   Microsoft Edge 113

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **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.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/fwouts/previewjs).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMTAuMCIsInVwZGF0ZWRJblZlciI6IjM1LjExMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Jun 12, 2023
1 parent 7f25340 commit db01622
Show file tree
Hide file tree
Showing 11 changed files with 44 additions and 44 deletions.
2 changes: 1 addition & 1 deletion chromeless/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"express": "^4.18.2",
"pino": "^8.14.1",
"pino-pretty": "^10.0.0",
"playwright": "^1.34.2",
"playwright": "^1.35.0",
"typescript": "^5.0.4"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion framework-plugins/preact/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"typescript": "^5.0.4"
},
"devDependencies": {
"@playwright/test": "^1.34.2",
"@playwright/test": "^1.35.0",
"@previewjs/api": "workspace:*",
"@previewjs/core": "workspace:*",
"@previewjs/iframe": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion framework-plugins/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"typescript": "^5.0.4"
},
"devDependencies": {
"@playwright/test": "^1.34.2",
"@playwright/test": "^1.35.0",
"@previewjs/api": "workspace:*",
"@previewjs/core": "workspace:*",
"@previewjs/iframe": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion framework-plugins/solid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"vite-plugin-solid": "^2.7.0"
},
"devDependencies": {
"@playwright/test": "^1.34.2",
"@playwright/test": "^1.35.0",
"@previewjs/core": "workspace:*",
"@previewjs/iframe": "workspace:*",
"@previewjs/testing": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion framework-plugins/svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"vite": "^4.3.9"
},
"devDependencies": {
"@playwright/test": "^1.34.2",
"@playwright/test": "^1.35.0",
"@previewjs/core": "workspace:*",
"@previewjs/iframe": "workspace:*",
"@previewjs/testing": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion framework-plugins/vue2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"vue-template-compiler": "^2.7.14"
},
"devDependencies": {
"@playwright/test": "^1.34.2",
"@playwright/test": "^1.35.0",
"@previewjs/core": "workspace:*",
"@previewjs/iframe": "workspace:*",
"@previewjs/testing": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion framework-plugins/vue3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"vue": "^3.3.4"
},
"devDependencies": {
"@playwright/test": "^1.34.2",
"@playwright/test": "^1.35.0",
"@previewjs/core": "workspace:*",
"@previewjs/iframe": "workspace:*",
"@previewjs/testing": "workspace:*",
Expand Down
66 changes: 33 additions & 33 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion screenshot/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"@previewjs/core": "^21.0.1",
"@previewjs/plugin-react": "^10.0.0",
"globby": "^13.1.4",
"playwright": "^1.34.2"
"playwright": "^1.35.0"
},
"devDependencies": {
"@types/node": "^20.2.3",
Expand Down
2 changes: 1 addition & 1 deletion screenshot/test-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"@types/react": "^18.2.11",
"@types/react-dom": "^18.2.4",
"@vitejs/plugin-react": "^4.0.0",
"playwright": "^1.34.2",
"playwright": "^1.35.0",
"typescript": "^5.0.4",
"vite": "^4.3.9"
}
Expand Down
4 changes: 2 additions & 2 deletions testing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"build": "rimraf dist && tsc && unbuild"
},
"dependencies": {
"@playwright/test": "^1.34.2",
"@playwright/test": "^1.35.0",
"@previewjs/api": "^12.0.0",
"@previewjs/chromeless": "^6.0.0",
"@previewjs/core": "^21.0.1",
Expand All @@ -30,7 +30,7 @@
"assert-never": "^1.2.1",
"fs-extra": "^11.1.1",
"get-port": "^6.1.2",
"playwright": "^1.34.2"
"playwright": "^1.35.0"
},
"devDependencies": {
"@types/fs-extra": "^11.0.1",
Expand Down

0 comments on commit db01622

Please sign in to comment.