@bigbinary/neeto-playwright-commons 1.8.42 → 1.8.43
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 +2 -0
- package/index.cjs.js.map +1 -1
- package/index.d.ts +2 -1
- package/index.js +2 -1
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -13605,6 +13605,7 @@ const loginWithoutSSO = async ({ page, neetoPlaywrightUtilities, loginPath = "/"
|
|
|
13605
13605
|
};
|
|
13606
13606
|
const login = async ({ page, neetoPlaywrightUtilities, loginPath, }) => !IS_STAGING_ENV &&
|
|
13607
13607
|
(await loginWithoutSSO({ page, neetoPlaywrightUtilities, loginPath }));
|
|
13608
|
+
const generateRandomBypassEmail = () => `cpt${process.env.OTP_BYPASS_KEY}+${faker.faker.number.int()}@bigbinary.com`;
|
|
13608
13609
|
|
|
13609
13610
|
const addMemberViaRequest = ({ email, role = MEMBER_TEXTS.agent, appName, neetoPlaywrightUtilities, }) => neetoPlaywrightUtilities.apiRequest({
|
|
13610
13611
|
method: "post",
|
|
@@ -147227,6 +147228,7 @@ exports.decodeQRCodeFromFile = decodeQRCodeFromFile;
|
|
|
147227
147228
|
exports.definePlaywrightConfig = definePlaywrightConfig;
|
|
147228
147229
|
exports.executeWithThrottledResources = executeWithThrottledResources;
|
|
147229
147230
|
exports.extractSubdomainFromError = extractSubdomainFromError;
|
|
147231
|
+
exports.generateRandomBypassEmail = generateRandomBypassEmail;
|
|
147230
147232
|
exports.generateStagingData = generateStagingData;
|
|
147231
147233
|
exports.getByDataQA = getByDataQA;
|
|
147232
147234
|
exports.getGlobalUserState = getGlobalUserState;
|