@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.
@@ -5,7 +5,7 @@ const defineCypressConfig = (overrides = {}) => {
5
5
 
6
6
  return defineConfig({
7
7
  execTimeout: 1800000,
8
- defaultCommandTimeout: 5000,
8
+ defaultCommandTimeout: 8000,
9
9
  requestTimeout: 5000,
10
10
  pageLoadTimeout: 30000,
11
11
  responseTimeout: 20000,
@@ -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
- if (isNeetoAuth) cy.visit("https://app.neetoauth.".concat(env.tld, "/signups/new"));else {
1340
- var startingUrl = "https://www.neeto.com/".concat(appNameInLowerCase).concat(env.isStaging ? "?env=staging" : "");
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,