@bigbinary/neeto-playwright-commons 1.24.5 → 1.24.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.cjs.js CHANGED
@@ -123967,7 +123967,7 @@ var mainExports = requireMain();
123967
123967
  var dotenvExpand = /*@__PURE__*/getDefaultExportFromCjs(mainExports);
123968
123968
 
123969
123969
  // @ts-check
123970
- var _a, _b;
123970
+ var _a;
123971
123971
  process.env.TEST_ENV = (_a = process.env.TEST_ENV) !== null && _a !== void 0 ? _a : ENVIRONMENT.development;
123972
123972
  const env = dotenv.config({
123973
123973
  path: `./e2e/config/.env.${process.env.TEST_ENV}`,
@@ -123996,7 +123996,7 @@ const playdashLighthouseConfig = {
123996
123996
  ciBuildId: process.env.NEETO_CI_JOB_ID,
123997
123997
  tags: process.env.TAG,
123998
123998
  };
123999
- const isCI = [ENVIRONMENT.staging, ENVIRONMENT.review].includes((_b = process.env.TEST_ENV) !== null && _b !== void 0 ? _b : ENVIRONMENT.development) && !!process.env.NEETO_CI_JOB_ID;
123999
+ const isCI = neetoCist.isPresent(process.env.NEETO_CI_JOB_ID);
124000
124000
  const definePlaywrightConfig = (overrides) => {
124001
124001
  const { globalOverrides = {}, useOverrides = {}, useCustomProjects = false, projectOverrides = [], playdashStagingOverrides = {}, playdashProductionOverrides = {}, playdashLighthouseOverrides = {}, } = overrides;
124002
124002
  let reporter = !ramda.isEmpty(playdashStagingOverrides)