@bigbinary/neeto-commons-frontend 2.0.126 → 2.0.128

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.
@@ -1142,8 +1142,9 @@ var createOrganization = function createOrganization(_ref) {
1142
1142
  if (isNeetoAuth) cy.visit("https://app.neetoauth.".concat(env.tld, "/signups/new"));else {
1143
1143
  var startingUrl = "https://www.neeto.com/".concat(appNameInLowerCase).concat(env.isStaging ? "?env=staging" : "");
1144
1144
  cy.visit(startingUrl);
1145
- // Adding wait to avoid clicking "Try free" button before loading its href prop properly based on env.
1146
- cy.wait(1000); // eslint-disable-line cypress/no-unnecessary-waiting
1145
+ if (isStagingEnv) {
1146
+ cy.get(signUpSelectors.tryFreeButton).should("have.attr", "href").and("include", "https://app.neetoauth.net/");
1147
+ }
1147
1148
  cy.get(signUpSelectors.tryFreeButton).invoke("removeAttr", "target").click();
1148
1149
  }
1149
1150
  cy.clearAndType(signUpSelectors.emailTextField, email);
@@ -1311,7 +1312,7 @@ var verifyMyProfileTab = function verifyMyProfileTab(_ref4) {
1311
1312
  alias: alias
1312
1313
  });
1313
1314
  });
1314
- cy.get(commonSelectors.menuBarHeading).should("have.text", profileTexts.profileSettings);
1315
+ cy.get(commonSelectors.heading).should("have.text", profileTexts.profileSettings);
1315
1316
  cy.globalState("subdomainName").then(function (subdomainName) {
1316
1317
  return cy.url().should("include", requestApis.myProfilePath(subdomainName));
1317
1318
  });