[PR #1765] [MERGED] deps(staffml): bump @playwright/test from 1.59.1 to 1.60.0 in /interviews/staffml #15716

Closed
opened 2026-05-20 14:04:15 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/harvard-edge/cs249r_book/pull/1765
Author: @dependabot[bot]
Created: 5/18/2026
Status: Merged
Merged: 5/18/2026
Merged by: @profvjreddi

Base: devHead: dependabot/npm_and_yarn/interviews/staffml/dev/playwright/test-1.60.0


📝 Commits (1)

  • a257b0b deps(staffml): bump @playwright/test in /interviews/staffml

📊 Changes

2 files changed (+16 additions, -7 deletions)

View changed files

📝 interviews/staffml/package-lock.json (+15 -6)
📝 interviews/staffml/package.json (+1 -1)

📄 Description

Bumps @playwright/test from 1.59.1 to 1.60.0.

Release notes

Sourced from @​playwright/test's releases.

v1.60.0

🌐 HAR recording on Tracing

tracing.startHar() / tracing.stopHar() expose HAR recording as a first-class tracing API, with the same content, mode and urlFilter options as recordHar. The returned Disposable makes it easy to scope a recording with await using:

await using har = await context.tracing.startHar('trace.har');
const page = await context.newPage();
await page.goto('https://playwright.dev');
// HAR is finalized when `har` goes out of scope.

🪝 Drop API

New locator.drop() simulates an external drag-and-drop of files or clipboard-like data onto an element. Playwright dispatches dragenter, dragover, and drop with a synthetic [DataTransfer] in the page context — works cross-browser and is great for testing upload zones:

await page.locator('#dropzone').drop({
  files: { name: 'note.txt', mimeType: 'text/plain', buffer: Buffer.from('hello') },
});

await page.locator('#dropzone').drop({ data: { 'text/plain': 'hello world', 'text/uri-list': 'https://example.com', }, });

🎯 Aria snapshots

🛑 test.abort()

New test.abort() aborts the currently running test from a fixture, hook, or route handler with an optional message. Use it when you have detected an unrecoverable misuse and want to fail the test right away:

test('does not publish to the shared page', async ({ page }) => {
  await page.route('**/publish', route => {
    test.abort('Tests must not publish to the shared page. Use the `clone` option.');
    return route.abort();
  });
  // ...
});

New APIs

Browser, Context and Page

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/harvard-edge/cs249r_book/pull/1765 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 5/18/2026 **Status:** ✅ Merged **Merged:** 5/18/2026 **Merged by:** [@profvjreddi](https://github.com/profvjreddi) **Base:** `dev` ← **Head:** `dependabot/npm_and_yarn/interviews/staffml/dev/playwright/test-1.60.0` --- ### 📝 Commits (1) - [`a257b0b`](https://github.com/harvard-edge/cs249r_book/commit/a257b0b3a77e579e832c926d467f8734b176b878) deps(staffml): bump @playwright/test in /interviews/staffml ### 📊 Changes **2 files changed** (+16 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `interviews/staffml/package-lock.json` (+15 -6) 📝 `interviews/staffml/package.json` (+1 -1) </details> ### 📄 Description Bumps [@playwright/test](https://github.com/microsoft/playwright) from 1.59.1 to 1.60.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/microsoft/playwright/releases">@​playwright/test's releases</a>.</em></p> <blockquote> <h2>v1.60.0</h2> <h2>🌐 HAR recording on Tracing</h2> <p><a href="https://playwright.dev/docs/api/class-tracing#tracing-start-har">tracing.startHar()</a> / <a href="https://playwright.dev/docs/api/class-tracing#tracing-stop-har">tracing.stopHar()</a> expose HAR recording as a first-class tracing API, with the same <code>content</code>, <code>mode</code> and <code>urlFilter</code> options as <code>recordHar</code>. The returned <a href="https://playwright.dev/docs/api/class-disposable">Disposable</a> makes it easy to scope a recording with <code>await using</code>:</p> <pre lang="js"><code>await using har = await context.tracing.startHar('trace.har'); const page = await context.newPage(); await page.goto('https://playwright.dev'); // HAR is finalized when `har` goes out of scope. </code></pre> <h2>🪝 Drop API</h2> <p>New <a href="https://playwright.dev/docs/api/class-locator#locator-drop">locator.drop()</a> simulates an external drag-and-drop of files or clipboard-like data onto an element. Playwright dispatches <code>dragenter</code>, <code>dragover</code>, and <code>drop</code> with a synthetic [DataTransfer] in the page context — works cross-browser and is great for testing upload zones:</p> <pre lang="js"><code>await page.locator('#dropzone').drop({ files: { name: 'note.txt', mimeType: 'text/plain', buffer: Buffer.from('hello') }, }); <p>await page.locator('#dropzone').drop({ data: { 'text/plain': 'hello world', 'text/uri-list': '<a href="https://example.com">https://example.com</a>', }, }); </code></pre></p> <h2>🎯 Aria snapshots</h2> <ul> <li><a href="https://playwright.dev/docs/api/class-pageassertions#page-assertions-to-match-aria-snapshot">expect(page).toMatchAriaSnapshot()</a> now works on a <a href="https://playwright.dev/docs/api/class-page">Page</a>, in addition to a <a href="https://playwright.dev/docs/api/class-locator">Locator</a> — equivalent to asserting against <code>page.locator('body')</code>.</li> <li>New <code>boxes</code> option on <a href="https://playwright.dev/docs/api/class-locator#locator-aria-snapshot">locator.ariaSnapshot()</a> / <a href="https://playwright.dev/docs/api/class-page#page-aria-snapshot">page.ariaSnapshot()</a> appends each element's bounding box as <code>[box=x,y,width,height]</code>, useful for AI consumption.</li> </ul> <h2>🛑 test.abort()</h2> <p>New <a href="https://playwright.dev/docs/api/class-test#test-abort">test.abort()</a> aborts the currently running test from a fixture, hook, or route handler with an optional message. Use it when you have detected an unrecoverable misuse and want to fail the test right away:</p> <pre lang="js"><code>test('does not publish to the shared page', async ({ page }) =&gt; { await page.route('**/publish', route =&gt; { test.abort('Tests must not publish to the shared page. Use the `clone` option.'); return route.abort(); }); // ... }); </code></pre> <h2>New APIs</h2> <h3>Browser, Context and Page</h3> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/microsoft/playwright/commit/87bb9ddbd78f329df18c2b24847bc9409240cd07"><code>87bb9dd</code></a> cherry-pick(<a href="https://redirect.github.com/microsoft/playwright/issues/40747">#40747</a>): fix(yauzl): vendor yauzl with destroy-lifecycle fix</li> <li><a href="https://github.com/microsoft/playwright/commit/9a9c51cb7d1b39fab51ca288e59f8ca38fd19910"><code>9a9c51c</code></a> cherry-pick(<a href="https://redirect.github.com/microsoft/playwright/issues/40733">#40733</a>): chore(electron): revert <a href="https://redirect.github.com/microsoft/playwright/issues/40184">#40184</a> (move Electron API to a s...</li> <li><a href="https://github.com/microsoft/playwright/commit/4b3b628663031bcaaeca907e337892263524634d"><code>4b3b628</code></a> cherry-pick(<a href="https://redirect.github.com/microsoft/playwright/issues/40736">#40736</a>): Revert &quot;feat(electron): add timeout option to electronAp...</li> <li><a href="https://github.com/microsoft/playwright/commit/f869f96bbe6607cc3b88b4ca96fd82f17b301b50"><code>f869f96</code></a> chore: bump version to v1.60.0 (<a href="https://redirect.github.com/microsoft/playwright/issues/40714">#40714</a>)</li> <li><a href="https://github.com/microsoft/playwright/commit/7eb6918afadfb0dd5c7e94ca9ffbddd84d8fbb39"><code>7eb6918</code></a> cherry-pick(<a href="https://redirect.github.com/microsoft/playwright/issues/40710">#40710</a>): docs: release notes v1.60</li> <li><a href="https://github.com/microsoft/playwright/commit/118d2aa6076d82840decca15d96b48611b08e392"><code>118d2aa</code></a> cherry-pick(<a href="https://redirect.github.com/microsoft/playwright/issues/40693">#40693</a>): chore(python): formdata path type</li> <li><a href="https://github.com/microsoft/playwright/commit/54012f5dcc586da2e5d6cccd75f13ca367b94579"><code>54012f5</code></a> chore(deps): bump ip-address and express-rate-limit (<a href="https://redirect.github.com/microsoft/playwright/issues/40680">#40680</a>)</li> <li><a href="https://github.com/microsoft/playwright/commit/9fa531da5677a3807d6e1dccd22c5137339a44f7"><code>9fa531d</code></a> fix(screencast): unblock frame ack when an async client disconnects (<a href="https://redirect.github.com/microsoft/playwright/issues/40674">#40674</a>)</li> <li><a href="https://github.com/microsoft/playwright/commit/3649db560ff943e724185784d34f7db131a11961"><code>3649db5</code></a> chore(mcp): bump default extension protocol to v2 (<a href="https://redirect.github.com/microsoft/playwright/issues/40678">#40678</a>)</li> <li><a href="https://github.com/microsoft/playwright/commit/bb6c00957f47ba04caad7fca75d426309a2d32d4"><code>bb6c009</code></a> chore(extension): mark 0.2.1 (<a href="https://redirect.github.com/microsoft/playwright/issues/40679">#40679</a>)</li> <li>Additional commits viewable in <a href="https://github.com/microsoft/playwright/compare/v1.59.1...v1.60.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@playwright/test&package-manager=npm_and_yarn&previous-version=1.59.1&new-version=1.60.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-05-20 14:04:15 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/cs249r_book#15716