chore(deps): update dependency @playwright/test to ^1.55.0 (#2156)

This PR contains the following updates:

| Package | Change |
[Age](https://docs.renovatebot.com/merge-confidence/) |
[Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
| [@playwright/test](https://playwright.dev)
([source](https://redirect.github.com/microsoft/playwright)) |
[`^1.52.0` →
`^1.55.0`](https://renovatebot.com/diffs/npm/@playwright%2ftest/1.55.0/1.57.0)
|
![age](https://developer.mend.io/api/mc/badges/age/npm/@playwright%2ftest/1.57.0?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@playwright%2ftest/1.55.0/1.57.0?slim=true)
|

---

### Release Notes

<details>
<summary>microsoft/playwright (@&#8203;playwright/test)</summary>

###
[`v1.57.0`](https://redirect.github.com/microsoft/playwright/releases/tag/v1.57.0)

[Compare
Source](https://redirect.github.com/microsoft/playwright/compare/v1.56.1...v1.57.0)

#### Speedboard

In HTML reporter, there's a new tab we call "Speedboard":

<img width="600" alt="speedboard"
src="https://github.com/user-attachments/assets/4ba117ea-ea94-4b6a-82b2-8bbd00dfe81c"
/>

It shows you all your executed tests sorted by slowness,
and can help you understand where your test suite is taking longer than
expected.
Take a look at yours - maybe you'll find some tests that are spending a
longer time waiting than they should!

#### Chrome for Testing

Starting with this release, Playwright switches from Chromium, to using
[Chrome for
Testing](https://developer.chrome.com/blog/chrome-for-testing/) builds.
Both headed and headless browsers are subject to this. Your tests should
still be passing after upgrading to Playwright 1.57.

We're expecting no functional changes to come from this switch. The
biggest change is the new icon and title in your toolbar.

<img width="500" alt="new and old logo"
src="https://github.com/user-attachments/assets/e9a5c4f2-9f35-4c27-9382-0f5eda377097"
/>

If you still see an unexpected behaviour change, please [file an
issue](https://redirect.github.com/microsoft/playwright/issues/new).

On Arm64 Linux, Playwright continues to use Chromium.

#### Waiting for webserver output


[testConfig.webServer](https://playwright.dev/docs/api/class-testconfig#test-config-web-server)
added a `wait` field. Pass a regular expression, and Playwright will
wait until the webserver logs match it.

```js
import { defineConfig } from '@&#8203;playwright/test';

export default defineConfig({
  webServer: {
    command: 'npm run start',
    wait: {
      stdout: '/Listening on port (?<my_server_port>\\d+)/'
    },
  },
});
```

If you include a named capture group into the expression, then
Playwright will provide the capture group contents via environment
variables:

```js
import { test, expect } from '@&#8203;playwright/test';

test.use({ baseUrl: `http://localhost:${process.env.MY_SERVER_PORT ?? 3000}` });

test('homepage', async ({ page }) => {
  await page.goto('/');
});
```

This is not just useful for capturing varying ports of dev servers. You
can also use it to wait for readiness of a service that doesn't expose
an HTTP readiness check, but instead prints a readiness message to
stdout or stderr.

#### Breaking Change

After 3 years of being deprecated, we removed `Page#accessibility` from
our API. Please use other libraries such as
[Axe](https://www.deque.com/axe/) if you need to test page
accessibility. See our Node.js
[guide](https://playwright.dev/docs/accessibility-testing) for
integration with Axe.

#### New APIs

- New property
[testConfig.tag](https://playwright.dev/docs/api/class-testconfig#test-config-tag)
adds a tag to all tests in this run. This is useful when using
[merge-reports](https://playwright.dev/docs/test-sharding#merging-reports-from-multiple-shards).
-
[worker.on('console')](https://playwright.dev/docs/api/class-worker#worker-event-console)
event is emitted when JavaScript within the worker calls one of console
API methods, e.g. console.log or console.dir.
[worker.waitForEvent()](https://playwright.dev/docs/api/class-worker#worker-wait-for-event)
can be used to wait for it.
-
[locator.description()](https://playwright.dev/docs/api/class-locator#locator-description)
returns locator description previously set with
[locator.describe()](https://playwright.dev/docs/api/class-locator#locator-describe),
and `Locator.toString()` now uses the description when available.
- New option
[`steps`](https://playwright.dev/docs/api/class-locator#locator-click-option-steps)
in
[locator.click()](https://playwright.dev/docs/api/class-locator#locator-click)
and
[locator.dragTo()](https://playwright.dev/docs/api/class-locator#locator-drag-to)
that configures the number of `mousemove` events emitted while moving
the mouse pointer to the target element.
- Network requests issued by [Service
Workers](https://playwright.dev/docs/service-workers#network-events-and-routing)
are now reported and can be routed through the
[BrowserContext](https://playwright.dev/docs/api/class-browsercontext),
only in Chromium. You can opt out using the
`PLAYWRIGHT_DISABLE_SERVICE_WORKER_NETWORK` environment variable.
- Console messages from Service Workers are dispatched through
[worker.on('console')](https://playwright.dev/docs/api/class-worker#worker-event-console).
You can opt out of this using the
`PLAYWRIGHT_DISABLE_SERVICE_WORKER_CONSOLE` environment variable.

#### Browser Versions

- Chromium 143.0.7499.4
- Mozilla Firefox 144.0.2
- WebKit 26.0

###
[`v1.56.1`](https://redirect.github.com/microsoft/playwright/releases/tag/v1.56.1)

[Compare
Source](https://redirect.github.com/microsoft/playwright/compare/v1.56.0...v1.56.1)

#### Highlights


[#&#8203;37871](https://redirect.github.com/microsoft/playwright/issues/37871)
chore: allow local-network-access permission in chromium

[#&#8203;37891](https://redirect.github.com/microsoft/playwright/issues/37891)
fix(agents): remove workspaceFolder ref from vscode mcp

[#&#8203;37759](https://redirect.github.com/microsoft/playwright/issues/37759)
chore: rename agents to test agents

[#&#8203;37757](https://redirect.github.com/microsoft/playwright/issues/37757)
chore(mcp): fallback to cwd when resolving test config

#### Browser Versions

- Chromium 141.0.7390.37
- Mozilla Firefox 142.0.1
- WebKit 26.0

###
[`v1.56.0`](https://redirect.github.com/microsoft/playwright/releases/tag/v1.56.0)

[Compare
Source](https://redirect.github.com/microsoft/playwright/compare/v1.55.1...v1.56.0)

#### Playwright Agents

Introducing Playwright Agents, three custom agent definitions designed
to guide LLMs through the core process of building a Playwright test:

- **🎭 planner** explores the app and produces a Markdown test plan
- **🎭 generator** transforms the Markdown plan into the Playwright Test
files
- **🎭 healer** executes the test suite and automatically repairs failing
tests

Run `npx playwright init-agents` with your client of choice to generate
the latest agent definitions:

```bash

# Generate agent files for each agentic loop
# Visual Studio Code
npx playwright init-agents --loop=vscode

# Claude Code
npx playwright init-agents --loop=claude

# opencode
npx playwright init-agents --loop=opencode
```

> \[!NOTE]
> VS Code v1.105 (currently on the VS Code Insiders channel) is needed
for the agentic experience in VS Code. It will become stable shortly, we
are a bit ahead of times with this functionality!

[Learn more about Playwright
Agents](https://playwright.dev/docs/test-agents)

#### New APIs

- New methods
[page.consoleMessages()](https://playwright.dev/docs/api/class-page#page-console-messages)
and
[page.pageErrors()](https://playwright.dev/docs/api/class-page#page-page-errors)
for retrieving the most recent console messages from the page
- New method
[page.requests()](https://playwright.dev/docs/api/class-page#page-requests)
for retrieving the most recent network requests from the page
- Added [`--test-list` and
`--test-list-invert`](https://playwright.dev/docs/test-cli#test-list) to
allow manual specification of specific tests from a file

#### UI Mode and HTML Reporter

- Added option to `'html'` reporter to disable the "Copy prompt" button
- Added option to `'html'` reporter and UI Mode to merge files,
collapsing test and describe blocks into a single unified list
- Added option to UI Mode mirroring the `--update-snapshots` options
- Added option to UI Mode to run only a single worker at a time

#### Breaking Changes

- Event
[browserContext.on('backgroundpage')](https://playwright.dev/docs/api/class-browsercontext#browser-context-event-background-page)
has been deprecated and will not be emitted. Method
[browserContext.backgroundPages()](https://playwright.dev/docs/api/class-browsercontext#browser-context-background-pages)
will return an empty list

#### Miscellaneous

- Aria snapshots render and compare `input` `placeholder`
- Added environment variable `PLAYWRIGHT_TEST` to Playwright worker
processes to allow discriminating on testing status

#### Browser Versions

- Chromium 141.0.7390.37
- Mozilla Firefox 142.0.1
- WebKit 26.0

###
[`v1.55.1`](https://redirect.github.com/microsoft/playwright/releases/tag/v1.55.1)

[Compare
Source](https://redirect.github.com/microsoft/playwright/compare/v1.55.0...v1.55.1)

##### Highlights


[#&#8203;37479](https://redirect.github.com/microsoft/playwright/issues/37479)
- \[Bug]: Upgrade Chromium to 140.0.7339.186.

[#&#8203;37147](https://redirect.github.com/microsoft/playwright/issues/37147)
- \[Regression]: Internal error: step id not found.

[#&#8203;37146](https://redirect.github.com/microsoft/playwright/issues/37146)
- \[Regression]: HTML reporter displays a broken chip link when there
are no projects.

[#&#8203;37137](https://redirect.github.com/microsoft/playwright/pull/37137)
- Revert "fix(a11y): track inert elements as hidden".

[#&#8203;37532](https://redirect.github.com/microsoft/playwright/pull/37532)
- chore: do not use -k option

#### Browser Versions

- Chromium 140.0.7339.186
- Mozilla Firefox 141.0
- WebKit 26.0

This version was also tested against the following stable channels:

- Google Chrome 139
- Microsoft Edge 139

</details>

---

### 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 this update
again.

---

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

---

## Need help?
You can ask for more help in the following Slack channel:
#proj-renovate-self-hosted. In that channel you can also find ADR and
FAQ docs in the Resources section.

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi42NC4xIiwidXBkYXRlZEluVmVyIjoiNDIuNjQuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsidXBkYXRlLW1pbm9yIl19-->

Signed-off-by: renovate-sh-app[bot] <219655108+renovate-sh-app[bot]@users.noreply.github.com>
Co-authored-by: renovate-sh-app[bot] <219655108+renovate-sh-app[bot]@users.noreply.github.com>
Co-authored-by: Sriram <153843+yesoreyeram@users.noreply.github.com>
This commit is contained in:
renovate-sh-app[bot]
2025-12-31 13:59:41 +00:00
committed by GitHub
parent 0232194405
commit 4eb55efa59
2 changed files with 16 additions and 16 deletions

View File

@@ -48,7 +48,7 @@
"@grafana/eslint-config": "^8.0.0",
"@grafana/plugin-e2e": "^2.2.3",
"@grafana/tsconfig": "^2.0.0",
"@playwright/test": "^1.52.0",
"@playwright/test": "^1.55.0",
"@stylistic/eslint-plugin-ts": "^2.9.0",
"@swc/core": "^1.3.90",
"@swc/helpers": "^0.5.0",