@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 +8 -0
- package/index.cjs.js.map +1 -1
- package/index.js +8 -0
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -125111,13 +125111,18 @@ const definePlaywrightConfig = (overrides) => {
|
|
|
125111
125111
|
projects: useCustomProjects
|
|
125112
125112
|
? projectOverrides
|
|
125113
125113
|
: (() => {
|
|
125114
|
+
const setupLaunchOptions = getProjectLaunchOptions(PROJECT_NAMES.setup);
|
|
125114
125115
|
const webkitLaunchOptions = getProjectLaunchOptions(PROJECT_NAMES.webkit);
|
|
125115
125116
|
const lighthouseAuditsLaunchOptions = getProjectLaunchOptions(PROJECT_NAMES.lighthouseAudits);
|
|
125117
|
+
const cleanupCredentialsLaunchOptions = getProjectLaunchOptions(PROJECT_NAMES.cleanupCredentials);
|
|
125116
125118
|
return [
|
|
125117
125119
|
{
|
|
125118
125120
|
name: PROJECT_NAMES.setup,
|
|
125119
125121
|
testMatch: "global.setup.ts",
|
|
125120
125122
|
teardown: PROJECT_NAMES.cleanupCredentials,
|
|
125123
|
+
...(setupLaunchOptions && {
|
|
125124
|
+
use: { launchOptions: setupLaunchOptions },
|
|
125125
|
+
}),
|
|
125121
125126
|
},
|
|
125122
125127
|
{
|
|
125123
125128
|
name: PROJECT_NAMES.chromium,
|
|
@@ -125156,6 +125161,9 @@ const definePlaywrightConfig = (overrides) => {
|
|
|
125156
125161
|
{
|
|
125157
125162
|
name: PROJECT_NAMES.cleanupCredentials,
|
|
125158
125163
|
testMatch: "global.teardown.ts",
|
|
125164
|
+
...(cleanupCredentialsLaunchOptions && {
|
|
125165
|
+
use: { launchOptions: cleanupCredentialsLaunchOptions },
|
|
125166
|
+
}),
|
|
125159
125167
|
},
|
|
125160
125168
|
...projectOverrides,
|
|
125161
125169
|
];
|