@bigbinary/neeto-playwright-commons 4.12.5 → 4.12.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +2 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -13014,6 +13014,7 @@ const vitePort = process.env.VITE_PORT;
|
|
|
13014
13014
|
const isPlaywrightRun = process.env.PLAYWRIGHT_RUN === "true";
|
|
13015
13015
|
const isIsolatedRetry = process.env.PW_ISOLATED_RETRY === "true";
|
|
13016
13016
|
const isTracingEnabled = process.env.PW_ENABLE_TRACING === "true";
|
|
13017
|
+
const workersOverride = parseInt(process.env.PLAYWRIGHT_WORKERS ?? "", 10);
|
|
13017
13018
|
const PROJECT_NAMES = {
|
|
13018
13019
|
setup: "setup",
|
|
13019
13020
|
chromium: "chromium",
|
|
@@ -13078,7 +13079,7 @@ const definePlaywrightConfig = (overrides) => {
|
|
|
13078
13079
|
forbidOnly: IS_CI,
|
|
13079
13080
|
retries: IS_CI ? 1 : 0,
|
|
13080
13081
|
timeout: 5 * 60 * 1000,
|
|
13081
|
-
workers: IS_CI ? 6 : 5,
|
|
13082
|
+
workers: workersOverride > 0 ? workersOverride : IS_CI ? 6 : 5,
|
|
13082
13083
|
reporter: IS_CI ? reporter : [["line"]],
|
|
13083
13084
|
retryStrategy: isIsolatedRetry ? "isolated" : "immediate",
|
|
13084
13085
|
...(specPatterns && { testMatch: specPatterns }),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bigbinary/neeto-playwright-commons",
|
|
3
|
-
"version": "4.12.
|
|
3
|
+
"version": "4.12.6",
|
|
4
4
|
"description": "A package encapsulating common playwright code across neeto projects.",
|
|
5
5
|
"repository": "git@github.com:bigbinary/neeto-playwright-commons.git",
|
|
6
6
|
"license": "apache-2.0",
|