@bigbinary/neeto-playwright-commons 4.12.1-beta1 → 4.12.2

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 CHANGED
@@ -13005,6 +13005,7 @@ const railsPort = process.env.RAILS_SERVER_PORT;
13005
13005
  const vitePort = process.env.VITE_PORT;
13006
13006
  const isPlaywrightRun = process.env.PLAYWRIGHT_RUN === "true";
13007
13007
  const isIsolatedRetry = process.env.PW_ISOLATED_RETRY === "true";
13008
+ const isTracingEnabled = process.env.PW_ENABLE_TRACING === "true";
13008
13009
  const PROJECT_NAMES = {
13009
13010
  setup: "setup",
13010
13011
  chromium: "chromium",
@@ -13104,7 +13105,10 @@ const definePlaywrightConfig = (overrides) => {
13104
13105
  ...globalOverrides,
13105
13106
  use: {
13106
13107
  baseURL: process.env.BASE_URL,
13107
- trace: { mode: "on-first-retry", attachments: false },
13108
+ trace: {
13109
+ mode: isTracingEnabled ? "on" : "on-first-retry",
13110
+ attachments: false,
13111
+ },
13108
13112
  navigationTimeout: 35_000,
13109
13113
  actionTimeout: 10 * 1000,
13110
13114
  timezoneId: DEFAULT_TIMEZONE_ID,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bigbinary/neeto-playwright-commons",
3
- "version": "4.12.1-beta1",
3
+ "version": "4.12.2",
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",
@@ -105,4 +105,4 @@
105
105
  "puppeteer-extra-plugin-stealth": "2.11.2"
106
106
  },
107
107
  "packageManager": "yarn@4.18.1"
108
- }
108
+ }
File without changes