@bigbinary/neeto-playwright-commons 1.10.16 → 1.11.1
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 +20 -27
- package/index.cjs.js.map +1 -1
- package/index.d.ts +4 -8
- package/index.js +20 -27
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -148823,11 +148823,6 @@ if (fs__namespace.existsSync("./e2e/config/.env.local")) {
|
|
|
148823
148823
|
});
|
|
148824
148824
|
main.expand(localEnv);
|
|
148825
148825
|
}
|
|
148826
|
-
const currentsConfig = {
|
|
148827
|
-
ciBuildId: process.env.NEETO_CI_JOB_ID,
|
|
148828
|
-
recordKey: "PVHNwxEOySsdAeTc",
|
|
148829
|
-
tag: [process.env.TAG],
|
|
148830
|
-
};
|
|
148831
148826
|
const playdashStagingConfig = {
|
|
148832
148827
|
apiKey: process.env.PLAYDASH_STAGING_API_KEY,
|
|
148833
148828
|
ciBuildId: process.env.NEETO_CI_JOB_ID,
|
|
@@ -148841,28 +148836,26 @@ const playdashProductionConfig = {
|
|
|
148841
148836
|
};
|
|
148842
148837
|
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;
|
|
148843
148838
|
const definePlaywrightConfig = (overrides) => {
|
|
148844
|
-
const { globalOverrides = {}, useOverrides = {}, useCustomProjects = false, projectOverrides = [],
|
|
148845
|
-
const reporter =
|
|
148846
|
-
[
|
|
148847
|
-
|
|
148848
|
-
|
|
148849
|
-
|
|
148850
|
-
|
|
148851
|
-
|
|
148852
|
-
|
|
148853
|
-
|
|
148854
|
-
|
|
148855
|
-
|
|
148856
|
-
|
|
148857
|
-
|
|
148858
|
-
|
|
148859
|
-
|
|
148860
|
-
|
|
148861
|
-
|
|
148862
|
-
|
|
148863
|
-
|
|
148864
|
-
]);
|
|
148865
|
-
}
|
|
148839
|
+
const { globalOverrides = {}, useOverrides = {}, useCustomProjects = false, projectOverrides = [], playdashStagingOverrides = {}, playdashProductionOverrides = {}, } = overrides;
|
|
148840
|
+
const reporter = !ramda.isEmpty(playdashStagingOverrides)
|
|
148841
|
+
? [
|
|
148842
|
+
[
|
|
148843
|
+
"@bigbinary/neeto-playwright-reporter",
|
|
148844
|
+
{
|
|
148845
|
+
...playdashStagingConfig,
|
|
148846
|
+
...playdashStagingOverrides,
|
|
148847
|
+
},
|
|
148848
|
+
],
|
|
148849
|
+
]
|
|
148850
|
+
: [
|
|
148851
|
+
[
|
|
148852
|
+
"@bigbinary/neeto-playwright-reporter",
|
|
148853
|
+
{
|
|
148854
|
+
...playdashProductionConfig,
|
|
148855
|
+
...playdashProductionOverrides,
|
|
148856
|
+
},
|
|
148857
|
+
],
|
|
148858
|
+
];
|
|
148866
148859
|
return test$1.defineConfig({
|
|
148867
148860
|
testDir: "./e2e/tests",
|
|
148868
148861
|
fullyParallel: true,
|