diff --git a/packages/integration-tests/playwright.config.ts b/packages/integration-tests/playwright.config.ts index 0b1a4e15bfee..7445d985c1ba 100644 --- a/packages/integration-tests/playwright.config.ts +++ b/packages/integration-tests/playwright.config.ts @@ -2,6 +2,10 @@ import type { PlaywrightTestConfig } from '@playwright/test'; const config: PlaywrightTestConfig = { retries: 0, - workers: 3, + // Run tests inside of a single file in parallel + fullyParallel: true, + // Use 5 workers on CI, else use defaults (based on available CPU cores) + // Note that 5 is a random number selected to work well with our CI setup + workers: process.env.CI ? 5 : undefined, }; export default config; diff --git a/packages/integration-tests/suites/replay/privacyDefault/test.ts-snapshots/privacy.json b/packages/integration-tests/suites/replay/privacyDefault/test.ts-snapshots/privacy.json index f31f8b967d12..11bf6d7a7fa7 100644 --- a/packages/integration-tests/suites/replay/privacyDefault/test.ts-snapshots/privacy.json +++ b/packages/integration-tests/suites/replay/privacyDefault/test.ts-snapshots/privacy.json @@ -32,9 +32,8 @@ "type": 2, "tagName": "link", "attributes": { - "rel": "icon", - "type": "image/png", - "href": "file://assets/icon/favicon.png" + "rr_width": "[0-50]px", + "rr_height": "[0-50]px" }, "childNodes": [], "id": 6 diff --git a/packages/nextjs/playwright.config.ts b/packages/nextjs/playwright.config.ts index 945e7e508954..d0cf5c2fa767 100644 --- a/packages/nextjs/playwright.config.ts +++ b/packages/nextjs/playwright.config.ts @@ -6,7 +6,11 @@ const config: PlaywrightTestConfig = { use: { baseURL: 'http://localhost:3000', }, - workers: 3, + // Run tests inside of a single file in parallel + fullyParallel: true, + // Use 5 workers on CI, else use defaults (based on available CPU cores) + // Note that 5 is a random number selected to work well with our CI setup + workers: process.env.CI ? 5 : undefined, webServer: { cwd: path.join(__dirname, 'test', 'integration'), command: 'yarn start', diff --git a/packages/remix/playwright.config.ts b/packages/remix/playwright.config.ts index 0e609bb2efa5..88ba7b451389 100644 --- a/packages/remix/playwright.config.ts +++ b/packages/remix/playwright.config.ts @@ -5,7 +5,11 @@ const config: PlaywrightTestConfig = { use: { baseURL: 'http://localhost:3000', }, - workers: 3, + // Run tests inside of a single file in parallel + fullyParallel: true, + // Use 5 workers on CI, else use defaults (based on available CPU cores) + // Note that 5 is a random number selected to work well with our CI setup + workers: process.env.CI ? 5 : undefined, webServer: { command: '(cd test/integration/ && yarn build && yarn start)', port: 3000,