@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.
package/cypress-utils.js CHANGED
@@ -1134,8 +1134,9 @@ 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
+ if (isStagingEnv) {
1138
+ cy.get(signUpSelectors.tryFreeButton).should("have.attr", "href").and("include", "https://app.neetoauth.net/");
1139
+ }
1139
1140
  cy.get(signUpSelectors.tryFreeButton).invoke("removeAttr", "target").click();
1140
1141
  }
1141
1142
  cy.clearAndType(signUpSelectors.emailTextField, email);
@@ -1303,7 +1304,7 @@ var verifyMyProfileTab = function verifyMyProfileTab(_ref4) {
1303
1304
  alias: alias
1304
1305
  });
1305
1306
  });
1306
- cy.get(commonSelectors.menuBarHeading).should("have.text", profileTexts.profileSettings);
1307
+ cy.get(commonSelectors.heading).should("have.text", profileTexts.profileSettings);
1307
1308
  cy.globalState("subdomainName").then(function (subdomainName) {
1308
1309
  return cy.url().should("include", requestApis.myProfilePath(subdomainName));
1309
1310
  });