@bigbinary/neeto-commons-frontend 2.0.121 → 2.0.123
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/README.md +1 -0
- 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/react-utils.cjs.js +32 -10
- package/react-utils.cjs.js.map +1 -1
- package/react-utils.d.ts +50 -2
- package/react-utils.js +33 -12
- package/react-utils.js.map +1 -1
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);
|