diff --git a/package-lock.json b/package-lock.json index 6c2121a1261b9..384f240cb3e7b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1164,9 +1164,9 @@ } }, "node_modules/@electron/get/node_modules/undici": { - "version": "7.28.0", - "resolved": "https://registry.npmjs.org/undici/-/undici-7.28.0.tgz", - "integrity": "sha512-cRZYrTDwWznlnRiPjggAGxZXanty6M8RV1ff8Wm4LWXBp7/IG8v5DnOm74DtUBp9OONpK75YlPnIjQqX0dBDtA==", + "version": "7.29.0", + "resolved": "https://registry.npmjs.org/undici/-/undici-7.29.0.tgz", + "integrity": "sha512-IDxfleLmmbSskfWSUATiN1nfn2rDuvnMOqb5CWR92iIfojA0Ud+ulOAAEQ57LPr9rWmsreUyf5lwyao+7GNNVw==", "dev": true, "license": "MIT", "optional": true, @@ -6262,9 +6262,9 @@ } }, "node_modules/ip-address": { - "version": "10.2.0", - "resolved": "https://registry.npmjs.org/ip-address/-/ip-address-10.2.0.tgz", - "integrity": "sha512-/+S6j4E9AHvW9SWMSEY9Xfy66O5PWvVEJ08O0y5JGyEKQpojb0K0GKpz/v5HJ/G0vi3D2sjGK78119oXZeE0qA==", + "version": "10.4.0", + "resolved": "https://registry.npmjs.org/ip-address/-/ip-address-10.4.0.tgz", + "integrity": "sha512-oSK96Grm3aP6OrS263xVxbNDGVL7rzBtYdpGqlDG8iQdoenDoTs/nkki+DflYbAEE8Xl6o5YxhxlrKvI3nqKXQ==", "dev": true, "license": "MIT", "engines": { @@ -9249,9 +9249,9 @@ } }, "node_modules/undici": { - "version": "6.27.0", - "resolved": "https://registry.npmjs.org/undici/-/undici-6.27.0.tgz", - "integrity": "sha512-YmfV3YnEDzXRC5lZ2jWtWWHKGUm1zIt8AhesR1tens+HTNv+YZlN/dp6G727LOvMJ8xjP9Be7Y2Sdr96LDm+pg==", + "version": "6.28.0", + "resolved": "https://registry.npmjs.org/undici/-/undici-6.28.0.tgz", + "integrity": "sha512-LIY910g9TI13YS95lrMFrs8Rm/u/irgHeTWoKCoteeJ04CUJ92eEfj0rVn+7VKMPBpUPiUoBKfhNyLI23EE/KA==", "dev": true, "license": "MIT", "engines": { diff --git a/packages/playwright-core/browsers.json b/packages/playwright-core/browsers.json index e208d464d04c0..4a52755745aed 100644 --- a/packages/playwright-core/browsers.json +++ b/packages/playwright-core/browsers.json @@ -24,7 +24,7 @@ }, { "name": "webkit", - "revision": "2341", + "revision": "2342", "installByDefault": true, "revisionOverrides": { "mac14": "2251", diff --git a/tests/mcp/cli-core.spec.ts b/tests/mcp/cli-core.spec.ts index 00dc045122414..cf909bb2c331f 100644 --- a/tests/mcp/cli-core.spec.ts +++ b/tests/mcp/cli-core.spec.ts @@ -192,9 +192,12 @@ test('eval ', async ({ cli, server }) => { expect(output).toContain('"BUTTON"'); }); -test('dialog-accept', async ({ cli, server }) => { +// Firefox can deliver Page.dialogOpened after the default 5s action timeout +// (seen after the FF 153 roll, especially on Windows), so the click loses the +// modal race and the response never includes the dialog. Keep the race open longer. +test('dialog-accept', async ({ cli, server, mcpBrowser }) => { server.setContent('/', ``, 'text/html'); - await cli('open', server.PREFIX); + await cli('open', server.PREFIX, { env: { PLAYWRIGHT_MCP_TIMEOUT_ACTION: mcpBrowser === 'firefox' ? '30000' : '' } }); const { output } = await cli('click', 'e2'); expect(output).toContain('MyAlert'); expect(output).toContain('["alert" dialog with message "MyAlert"]: can be handled by dialog-accept or dialog-dismiss'); @@ -203,9 +206,9 @@ test('dialog-accept', async ({ cli, server }) => { expect(inlineSnapshot).not.toContain('MyAlert'); }); -test('dialog-dismiss', async ({ cli, server }) => { +test('dialog-dismiss', async ({ cli, server, mcpBrowser }) => { server.setContent('/', ``, 'text/html'); - await cli('open', server.PREFIX); + await cli('open', server.PREFIX, { env: { PLAYWRIGHT_MCP_TIMEOUT_ACTION: mcpBrowser === 'firefox' ? '30000' : '' } }); const { output } = await cli('click', 'e2'); expect(output).toContain('MyAlert'); await cli('dialog-dismiss'); @@ -213,9 +216,9 @@ test('dialog-dismiss', async ({ cli, server }) => { expect(inlineSnapshot).not.toContain('MyAlert'); }); -test('dialog-accept ', async ({ cli, server }) => { +test('dialog-accept ', async ({ cli, server, mcpBrowser }) => { server.setContent('/', ``, 'text/html'); - await cli('open', server.PREFIX); + await cli('open', server.PREFIX, { env: { PLAYWRIGHT_MCP_TIMEOUT_ACTION: mcpBrowser === 'firefox' ? '30000' : '' } }); await cli('click', 'e2'); await cli('dialog-accept', 'my reply'); const { inlineSnapshot } = await cli('snapshot'); diff --git a/tests/playwright-test/stable-test-runner/package-lock.json b/tests/playwright-test/stable-test-runner/package-lock.json index b234a13dbbfad..7c76d6d21dcff 100644 --- a/tests/playwright-test/stable-test-runner/package-lock.json +++ b/tests/playwright-test/stable-test-runner/package-lock.json @@ -5,16 +5,16 @@ "packages": { "": { "dependencies": { - "@playwright/test": "^1.62.0-alpha-2026-07-20" + "@playwright/test": "^1.63.0-alpha-2026-08-03" } }, "node_modules/@playwright/test": { - "version": "1.62.0-alpha-2026-07-20", - "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.62.0-alpha-2026-07-20.tgz", - "integrity": "sha512-Lb218lZdfhxIJpDF3QRaVqDjNyruDfN7gKIYbMRCHRfTsgQqz6cp2xJznDrc80k3gLC6Wby/twFkbfaKWUd/rg==", + "version": "1.63.0-alpha-2026-08-03", + "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.63.0-alpha-2026-08-03.tgz", + "integrity": "sha512-3tUjv9lTNbxgo++eevWQS1erslCqe6YnRH6ff6JRkpzW0V2AdtHk6udYUsIBV6ltlyCs5BvDprXfnnHlqrQm1g==", "license": "Apache-2.0", "dependencies": { - "playwright": "1.62.0-alpha-2026-07-20" + "playwright": "1.63.0-alpha-2026-08-03" }, "bin": { "playwright": "cli.js" @@ -38,12 +38,12 @@ } }, "node_modules/playwright": { - "version": "1.62.0-alpha-2026-07-20", - "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.62.0-alpha-2026-07-20.tgz", - "integrity": "sha512-/h5GCcC7LUQOUS+XpGhY5B+UWsyU7PC2oEVzSjqn6dBf2FQBohD+JV0FDrmQkhcTqn5AoWNTbEEPswu9WZvtZg==", + "version": "1.63.0-alpha-2026-08-03", + "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.63.0-alpha-2026-08-03.tgz", + "integrity": "sha512-s0r6u3nDnXUBZi7o1PdrE8sOk9SGhXGVzOrPqLGn90lW5JgUOA2bt7QxyuZdqoZeL5WUl0tGplJPbg0H2jzJSg==", "license": "Apache-2.0", "dependencies": { - "playwright-core": "1.62.0-alpha-2026-07-20" + "playwright-core": "1.63.0-alpha-2026-08-03" }, "bin": { "playwright": "cli.js" @@ -56,9 +56,9 @@ } }, "node_modules/playwright-core": { - "version": "1.62.0-alpha-2026-07-20", - "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.62.0-alpha-2026-07-20.tgz", - "integrity": "sha512-JCPvar5AJouLPK5dce8+M/tC3f0gfSt564h1pdL5aHSW5SAaTyPPKdZ01DnGeuftrCzXQIExEc5SDKBV109JHA==", + "version": "1.63.0-alpha-2026-08-03", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.63.0-alpha-2026-08-03.tgz", + "integrity": "sha512-3bQL6rtqLdh2iuUTpFcI0XVrOcvxsLcRwAp2gBnb3Jh8FIy4wuny3z0QXhR/sjS8wwcZ0mCnLKcKzP3AIrf0XA==", "license": "Apache-2.0", "bin": { "playwright-core": "cli.js" diff --git a/tests/playwright-test/stable-test-runner/package.json b/tests/playwright-test/stable-test-runner/package.json index 009d78eecef81..ac3b2d7cb1b51 100644 --- a/tests/playwright-test/stable-test-runner/package.json +++ b/tests/playwright-test/stable-test-runner/package.json @@ -1,6 +1,6 @@ { "private": true, "dependencies": { - "@playwright/test": "^1.62.0-alpha-2026-07-20" + "@playwright/test": "^1.63.0-alpha-2026-08-03" } }