@bigbinary/neeto-playwright-commons 1.26.28 → 1.26.29

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
@@ -125132,13 +125132,18 @@ const definePlaywrightConfig = (overrides) => {
125132
125132
  projects: useCustomProjects
125133
125133
  ? projectOverrides
125134
125134
  : (() => {
125135
+ const setupLaunchOptions = getProjectLaunchOptions(PROJECT_NAMES.setup);
125135
125136
  const webkitLaunchOptions = getProjectLaunchOptions(PROJECT_NAMES.webkit);
125136
125137
  const lighthouseAuditsLaunchOptions = getProjectLaunchOptions(PROJECT_NAMES.lighthouseAudits);
125138
+ const cleanupCredentialsLaunchOptions = getProjectLaunchOptions(PROJECT_NAMES.cleanupCredentials);
125137
125139
  return [
125138
125140
  {
125139
125141
  name: PROJECT_NAMES.setup,
125140
125142
  testMatch: "global.setup.ts",
125141
125143
  teardown: PROJECT_NAMES.cleanupCredentials,
125144
+ ...(setupLaunchOptions && {
125145
+ use: { launchOptions: setupLaunchOptions },
125146
+ }),
125142
125147
  },
125143
125148
  {
125144
125149
  name: PROJECT_NAMES.chromium,
@@ -125177,6 +125182,9 @@ const definePlaywrightConfig = (overrides) => {
125177
125182
  {
125178
125183
  name: PROJECT_NAMES.cleanupCredentials,
125179
125184
  testMatch: "global.teardown.ts",
125185
+ ...(cleanupCredentialsLaunchOptions && {
125186
+ use: { launchOptions: cleanupCredentialsLaunchOptions },
125187
+ }),
125180
125188
  },
125181
125189
  ...projectOverrides,
125182
125190
  ];