@bigbinary/neeto-commons-frontend 2.0.121 → 2.0.122

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-utils.js CHANGED
@@ -1134,6 +1134,8 @@ var createOrganization = function createOrganization(_ref) {
1134
1134
  if (isNeetoAuth) cy.visit("https://app.neetoauth.".concat(env.tld, "/signups/new"));else {
1135
1135
  var startingUrl = "https://www.neeto.com/".concat(appNameInLowerCase).concat(env.isStaging ? "?env=staging" : "");
1136
1136
  cy.visit(startingUrl);
1137
+ // Adding wait to avoid clicking "Try free" button before loading its href prop properly based on env.
1138
+ cy.wait(1000); // eslint-disable-line cypress/no-unnecessary-waiting
1137
1139
  cy.get(signUpSelectors.tryFreeButton).invoke("removeAttr", "target").click();
1138
1140
  }
1139
1141
  cy.clearAndType(signUpSelectors.emailTextField, email);