@bigbinary/neeto-commons-frontend 2.0.129 → 2.0.131

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
@@ -390,7 +390,7 @@ var initCustomCommands = function initCustomCommands() {
390
390
  return win.location.href = newUrl;
391
391
  });
392
392
  });
393
- cy.get(selector).click();
393
+ cy.get(selector).invoke("click");
394
394
  cy.get("@".concat(alias)).should("be.called");
395
395
  cy.url().should("include", url);
396
396
  });
@@ -1135,7 +1135,9 @@ var createOrganization = function createOrganization(_ref) {
1135
1135
  var startingUrl = "https://www.neeto.com/".concat(appNameInLowerCase).concat(env.isStaging ? "?env=staging" : "");
1136
1136
  cy.visit(startingUrl);
1137
1137
  if (isStagingEnv) {
1138
- cy.get(signUpSelectors.tryFreeButton).should("have.attr", "href").and("include", "https://app.neetoauth.net/");
1138
+ cy.get(signUpSelectors.tryFreeButton, {
1139
+ timeout: 10000
1140
+ }).should("have.attr", "href").and("include", "https://app.neetoauth.net/");
1139
1141
  }
1140
1142
  cy.get(signUpSelectors.tryFreeButton).invoke("removeAttr", "target").click();
1141
1143
  }
@@ -1216,14 +1218,14 @@ var verifyTabMenu = function verifyTabMenu(_ref) {
1216
1218
  };
1217
1219
  var clickOnHelpSubTab = function clickOnHelpSubTab(tabSelector, tabText) {
1218
1220
  cy.get(helpIconSelectors.helpButton).click();
1219
- cy.get(tabSelector).should("have.text", tabText).click();
1221
+ cy.get(tabSelector).should("have.text", tabText).invoke("click");
1220
1222
  };
1221
1223
  var verifyHelpDocumentationLink = function verifyHelpDocumentationLink(_ref2) {
1222
1224
  var articleTitle = _ref2.articleTitle,
1223
1225
  alias = _ref2.alias,
1224
1226
  _ref2$requestCount = _ref2.requestCount,
1225
1227
  requestCount = _ref2$requestCount === void 0 ? 3 : _ref2$requestCount;
1226
- cy.get(helpIconSelectors.helpButton).click();
1228
+ cy.get(helpIconSelectors.helpButton).invoke("click");
1227
1229
  cy.clickByRemoveTargetAttr(helpIconSelectors.documentationButton);
1228
1230
  cy.get(commonSelectors.articlePageTitle, {
1229
1231
  timeout: 10000
@@ -1239,7 +1241,7 @@ var verifyKeyboardShortcutsPane = function verifyKeyboardShortcutsPane() {
1239
1241
  };
1240
1242
  var verifyWhatsNewTab = function verifyWhatsNewTab(whatsNewHeading) {
1241
1243
  cy.get(helpIconSelectors.helpButton).click();
1242
- cy.get(helpIconSelectors.whatsNewButton).should("contain.text", helpIconTexts.whatsNew).click();
1244
+ cy.get(helpIconSelectors.whatsNewButton).should("contain.text", helpIconTexts.whatsNew).invoke("click");
1243
1245
  cy.get(helpIconSelectors.whatsNewWidgetInfo).should("have.text", whatsNewHeading);
1244
1246
  cy.get(helpIconSelectors.whatsNewWidgetCloseButton).last().click();
1245
1247
  cy.get(helpIconSelectors.whatsNewWidgetInfo).should("not.exist");