diff --git a/desktop/package.json b/desktop/package.json index 71394b1137ea63..da6b0f9de6db85 100644 --- a/desktop/package.json +++ b/desktop/package.json @@ -37,16 +37,16 @@ "@automattic/calypso-build": "workspace:^", "@automattic/calypso-eslint-overrides": "workspace:^", "@electron/notarize": "^2.4.0", - "@playwright/browser-chromium": "1.41.2", - "@playwright/browser-firefox": "1.41.2", - "@playwright/browser-webkit": "1.41.2", + "@playwright/browser-chromium": "1.49.1", + "@playwright/browser-firefox": "1.49.1", + "@playwright/browser-webkit": "1.49.1", "copy-webpack-plugin": "^10.2.4", "electron": "26.2.4", "electron-builder": "23.0.3", "electron-rebuild": "^2.3.5", "jest": "^29.7.0", "lodash": "^4.17.21", - "playwright": "1.41.2", + "playwright": "1.49.1", "postcss": "^8.4.5", "react": "^18.3.1", "react-dom": "^18.3.1", diff --git a/packages/calypso-e2e/package.json b/packages/calypso-e2e/package.json index c43f1d18a08097..7b030f11746d7d 100644 --- a/packages/calypso-e2e/package.json +++ b/packages/calypso-e2e/package.json @@ -19,15 +19,15 @@ "license": "GPL-2.0-or-later", "dependencies": { "@jest/types": "^29.5.0", - "@playwright/browser-chromium": "1.41.2", - "@playwright/browser-firefox": "1.41.2", - "@playwright/browser-webkit": "1.41.2", + "@playwright/browser-chromium": "1.49.1", + "@playwright/browser-firefox": "1.49.1", + "@playwright/browser-webkit": "1.49.1", "@types/totp-generator": "^0.0.3", "form-data": "^4.0.0", "jest-docblock": "^29.7.0", "mailosaur": "^8.4.0", "nock": "^13.5.4", - "playwright": "1.41.2", + "playwright": "1.49.1", "totp-generator": "^0.0.12" }, "devDependencies": { diff --git a/packages/calypso-e2e/src/element-helper.ts b/packages/calypso-e2e/src/element-helper.ts index 98565663edccdb..1b60e744413abb 100644 --- a/packages/calypso-e2e/src/element-helper.ts +++ b/packages/calypso-e2e/src/element-helper.ts @@ -180,7 +180,7 @@ export async function waitForMutations( observe?: MutationObserverInit; } ): Promise< void > { - const timeout = options?.timeout || 20000; + const timeout = options?.timeout || 10000; const debounce = options?.debounce || 1000; const observe = options?.observe || { attributes: true, subtree: true, childList: true }; const target = await page.waitForSelector( selector ); diff --git a/test/e2e/package.json b/test/e2e/package.json index f6cc8ae0e91a46..2be9a110a3df8e 100644 --- a/test/e2e/package.json +++ b/test/e2e/package.json @@ -36,9 +36,9 @@ "@automattic/calypso-e2e": "workspace:^", "@automattic/jest-circus-allure-reporter": "workspace:^", "@automattic/languages": "workspace:^", - "@playwright/browser-chromium": "1.41.2", - "@playwright/browser-firefox": "1.41.2", - "@playwright/browser-webkit": "1.41.2", + "@playwright/browser-chromium": "1.49.1", + "@playwright/browser-firefox": "1.49.1", + "@playwright/browser-webkit": "1.49.1", "@types/archiver": "^5.3.1", "archiver": "^5.3.0", "asana-phrase": "^0.0.8", @@ -57,7 +57,7 @@ "lodash": "^4.17.20", "mailosaur": "^8.4.0", "node-fetch": "^2.6.1", - "playwright": "1.41.2", + "playwright": "1.49.1", "postcss": "^8.3.11" } } diff --git a/yarn.lock b/yarn.lock index 92ff9b4d66f6a1..2cddf894e8c114 100644 --- a/yarn.lock +++ b/yarn.lock @@ -366,9 +366,9 @@ __metadata: "@automattic/zendesk-client": "workspace:^" "@jest/globals": "npm:^29.7.0" "@jest/types": "npm:^29.5.0" - "@playwright/browser-chromium": "npm:1.41.2" - "@playwright/browser-firefox": "npm:1.41.2" - "@playwright/browser-webkit": "npm:1.41.2" + "@playwright/browser-chromium": "npm:1.49.1" + "@playwright/browser-firefox": "npm:1.49.1" + "@playwright/browser-webkit": "npm:1.49.1" "@types/node": "npm:^22.7.5" "@types/node-fetch": "npm:^2.6.1" "@types/totp-generator": "npm:^0.0.3" @@ -379,7 +379,7 @@ __metadata: mailosaur: "npm:^8.4.0" nock: "npm:^13.5.4" node-fetch: "npm:^2.6.7" - playwright: "npm:1.41.2" + playwright: "npm:1.49.1" totp-generator: "npm:^0.0.12" typescript: "npm:^5.3.3" languageName: unknown @@ -5180,30 +5180,30 @@ __metadata: languageName: node linkType: hard -"@playwright/browser-chromium@npm:1.41.2": - version: 1.41.2 - resolution: "@playwright/browser-chromium@npm:1.41.2" +"@playwright/browser-chromium@npm:1.49.1": + version: 1.49.1 + resolution: "@playwright/browser-chromium@npm:1.49.1" dependencies: - playwright-core: "npm:1.41.2" - checksum: b8d0e2f1636a7bc3cf071f144f390ede30c6b20c3df7c556485da88a70c2cce690b5e369a961ad9d713426feb46241fd73d7ad5435ac140bf8e0d06b22a1a554 + playwright-core: "npm:1.49.1" + checksum: b62287ed3c2e475ac7efa0b399adf91fd83403a83d5a4ce0ce24d6f9a9cf576f51df772707e0b981a1d288c71fa9d9e72dd1e23402620d2564b69738ddd65c31 languageName: node linkType: hard -"@playwright/browser-firefox@npm:1.41.2": - version: 1.41.2 - resolution: "@playwright/browser-firefox@npm:1.41.2" +"@playwright/browser-firefox@npm:1.49.1": + version: 1.49.1 + resolution: "@playwright/browser-firefox@npm:1.49.1" dependencies: - playwright-core: "npm:1.41.2" - checksum: 70ad5852fd035b510b41a8abedfb857b96ef57e6875e5880ffa1b2af423b99162672b0f2eda452458f1091dd79f46b10cf7904404da880d04da65ee70c4d9930 + playwright-core: "npm:1.49.1" + checksum: 95ac0429f9b3ee28d0fc292aa7f8c2fe90a41abbf47be9e3936151c143aaee050afc1ab65078956c25b4457304b97301bccea5e5022db57ac26298a7144d8434 languageName: node linkType: hard -"@playwright/browser-webkit@npm:1.41.2": - version: 1.41.2 - resolution: "@playwright/browser-webkit@npm:1.41.2" +"@playwright/browser-webkit@npm:1.49.1": + version: 1.49.1 + resolution: "@playwright/browser-webkit@npm:1.49.1" dependencies: - playwright-core: "npm:1.41.2" - checksum: 22c24a97a6b19f708af0c61115ae0cbd7994a2ad17622cb6a463d4edb3a093a2589d4ccb2c0d5b2b6d03a57a8cd8f8c60939ccce95f8bfc5a451d0a2c72ef3bd + playwright-core: "npm:1.49.1" + checksum: f5f090b56659eccaadfecf4e6ab00f182bdb4860872653f75e1948590ebad7dc3af70fb1df359591f7fd90bee72220b822f425e65b2cc6f1309d96ba774b56ff languageName: node linkType: hard @@ -10923,9 +10923,9 @@ __metadata: "@automattic/calypso-build": "workspace:^" "@automattic/calypso-eslint-overrides": "workspace:^" "@electron/notarize": "npm:^2.4.0" - "@playwright/browser-chromium": "npm:1.41.2" - "@playwright/browser-firefox": "npm:1.41.2" - "@playwright/browser-webkit": "npm:1.41.2" + "@playwright/browser-chromium": "npm:1.49.1" + "@playwright/browser-firefox": "npm:1.49.1" + "@playwright/browser-webkit": "npm:1.49.1" archiver: "npm:^3.1.1" copy-webpack-plugin: "npm:^10.2.4" cross-env: "npm:^7.0.3" @@ -10939,7 +10939,7 @@ __metadata: js-yaml: "npm:^4.0.0" lodash: "npm:^4.17.21" make-dir: "npm:^3.1.0" - playwright: "npm:1.41.2" + playwright: "npm:1.49.1" postcss: "npm:^8.4.5" react: "npm:^18.3.1" react-dom: "npm:^18.3.1" @@ -26764,27 +26764,27 @@ __metadata: languageName: node linkType: hard -"playwright-core@npm:1.41.2": - version: 1.41.2 - resolution: "playwright-core@npm:1.41.2" +"playwright-core@npm:1.49.1": + version: 1.49.1 + resolution: "playwright-core@npm:1.49.1" bin: playwright-core: cli.js - checksum: 1e80a24b0e93dd5aa643fb926d23c055f2c1a0a1e711c0d798edcfd8c3e46a6716d4ca59d72ed076191e6c713d09a0f14387d96e60f5221abd4ff65aef1ac3b3 + checksum: 990b619c75715cd98b2c10c1180a126e3a454b247063b8352bc67792fe01183ec07f31d30c8714c3768cefed12886d1d64ac06da701f2baafc2cad9b439e3919 languageName: node linkType: hard -"playwright@npm:1.41.2": - version: 1.41.2 - resolution: "playwright@npm:1.41.2" +"playwright@npm:1.49.1": + version: 1.49.1 + resolution: "playwright@npm:1.49.1" dependencies: fsevents: "npm:2.3.2" - playwright-core: "npm:1.41.2" + playwright-core: "npm:1.49.1" dependenciesMeta: fsevents: optional: true bin: playwright: cli.js - checksum: 1b487387c1bc003291a9dbd098e8e3c6a31efbb4d7a2ce4f2bf9d5e7f9fbf4a406352ab70e5266eab9a2a858bd42d8955343ea30c0286c3912e81984aa0220a3 + checksum: 2368762c898920d4a0a5788b153dead45f9c36c3f5cf4d2af5228d0b8ea65823e3bbe998877950a2b9bb23a211e4633996f854c6188769dc81a25543ac818ab5 languageName: node linkType: hard @@ -34807,9 +34807,9 @@ __metadata: "@automattic/jest-circus-allure-reporter": "workspace:^" "@automattic/languages": "workspace:^" "@babel/core": "npm:^7.16.0" - "@playwright/browser-chromium": "npm:1.41.2" - "@playwright/browser-firefox": "npm:1.41.2" - "@playwright/browser-webkit": "npm:1.41.2" + "@playwright/browser-chromium": "npm:1.49.1" + "@playwright/browser-firefox": "npm:1.49.1" + "@playwright/browser-webkit": "npm:1.49.1" "@types/archiver": "npm:^5.3.1" archiver: "npm:^5.3.0" asana-phrase: "npm:^0.0.8" @@ -34828,7 +34828,7 @@ __metadata: lodash: "npm:^4.17.20" mailosaur: "npm:^8.4.0" node-fetch: "npm:^2.6.1" - playwright: "npm:1.41.2" + playwright: "npm:1.49.1" postcss: "npm:^8.3.11" webpack: "npm:^5.63.0" languageName: unknown