@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.cjs.js +2 -0
- package/cypress-utils.cjs.js.map +1 -1
- package/cypress-utils.js +2 -0
- package/cypress-utils.js.map +1 -1
- package/package.json +1 -1
package/cypress-utils.cjs.js
CHANGED
|
@@ -1142,6 +1142,8 @@ 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
1147
|
cy.get(signUpSelectors.tryFreeButton).invoke("removeAttr", "target").click();
|
|
1146
1148
|
}
|
|
1147
1149
|
cy.clearAndType(signUpSelectors.emailTextField, email);
|