@bigbinary/neeto-commons-frontend 2.1.1 → 2.1.3
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/cypress-configs/initializer.js +1 -1
- package/cypress-utils.cjs.js +2 -10
- package/cypress-utils.cjs.js.map +1 -1
- package/cypress-utils.js +2 -10
- package/cypress-utils.js.map +1 -1
- package/package.json +1 -1
- package/pure.d.ts +59 -8
package/cypress-utils.cjs.js
CHANGED
|
@@ -1336,16 +1336,8 @@ var createOrganization = function createOrganization(_ref) {
|
|
|
1336
1336
|
var defaultOtp = "123456";
|
|
1337
1337
|
var appNameInLowerCase = appName.toLowerCase();
|
|
1338
1338
|
var isNeetoAuth = appNameInLowerCase === "neetoauth";
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
cy.visit(startingUrl);
|
|
1342
|
-
if (isStagingEnv) {
|
|
1343
|
-
cy.get(signUpSelectors.tryFreeButton, {
|
|
1344
|
-
timeout: 10000
|
|
1345
|
-
}).should("have.attr", "href").and("include", "https://app.neetoauth.net/");
|
|
1346
|
-
}
|
|
1347
|
-
cy.get(signUpSelectors.tryFreeButton).invoke("removeAttr", "target").click();
|
|
1348
|
-
}
|
|
1339
|
+
var authUrl = "https://app.neetoauth.".concat(env.tld, "/signups/new");
|
|
1340
|
+
isNeetoAuth ? cy.visit(authUrl) : cy.visit("".concat(authUrl, "?redirect_uri=").concat(appNameInLowerCase, ".").concat(env.tld));
|
|
1349
1341
|
cy.clearAndType(signUpSelectors.emailTextField, email);
|
|
1350
1342
|
cy.intercept({
|
|
1351
1343
|
url: requestApis.signUp,
|