@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.
@@ -398,7 +398,7 @@ var initCustomCommands = function initCustomCommands() {
398
398
  return win.location.href = newUrl;
399
399
  });
400
400
  });
401
- cy.get(selector).click();
401
+ cy.get(selector).invoke("click");
402
402
  cy.get("@".concat(alias)).should("be.called");
403
403
  cy.url().should("include", url);
404
404
  });
@@ -1143,7 +1143,9 @@ var createOrganization = function createOrganization(_ref) {
1143
1143
  var startingUrl = "https://www.neeto.com/".concat(appNameInLowerCase).concat(env.isStaging ? "?env=staging" : "");
1144
1144
  cy.visit(startingUrl);
1145
1145
  if (isStagingEnv) {
1146
- cy.get(signUpSelectors.tryFreeButton).should("have.attr", "href").and("include", "https://app.neetoauth.net/");
1146
+ cy.get(signUpSelectors.tryFreeButton, {
1147
+ timeout: 10000
1148
+ }).should("have.attr", "href").and("include", "https://app.neetoauth.net/");
1147
1149
  }
1148
1150
  cy.get(signUpSelectors.tryFreeButton).invoke("removeAttr", "target").click();
1149
1151
  }
@@ -1224,14 +1226,14 @@ var verifyTabMenu = function verifyTabMenu(_ref) {
1224
1226
  };
1225
1227
  var clickOnHelpSubTab = function clickOnHelpSubTab(tabSelector, tabText) {
1226
1228
  cy.get(helpIconSelectors.helpButton).click();
1227
- cy.get(tabSelector).should("have.text", tabText).click();
1229
+ cy.get(tabSelector).should("have.text", tabText).invoke("click");
1228
1230
  };
1229
1231
  var verifyHelpDocumentationLink = function verifyHelpDocumentationLink(_ref2) {
1230
1232
  var articleTitle = _ref2.articleTitle,
1231
1233
  alias = _ref2.alias,
1232
1234
  _ref2$requestCount = _ref2.requestCount,
1233
1235
  requestCount = _ref2$requestCount === void 0 ? 3 : _ref2$requestCount;
1234
- cy.get(helpIconSelectors.helpButton).click();
1236
+ cy.get(helpIconSelectors.helpButton).invoke("click");
1235
1237
  cy.clickByRemoveTargetAttr(helpIconSelectors.documentationButton);
1236
1238
  cy.get(commonSelectors.articlePageTitle, {
1237
1239
  timeout: 10000
@@ -1247,7 +1249,7 @@ var verifyKeyboardShortcutsPane = function verifyKeyboardShortcutsPane() {
1247
1249
  };
1248
1250
  var verifyWhatsNewTab = function verifyWhatsNewTab(whatsNewHeading) {
1249
1251
  cy.get(helpIconSelectors.helpButton).click();
1250
- cy.get(helpIconSelectors.whatsNewButton).should("contain.text", helpIconTexts.whatsNew).click();
1252
+ cy.get(helpIconSelectors.whatsNewButton).should("contain.text", helpIconTexts.whatsNew).invoke("click");
1251
1253
  cy.get(helpIconSelectors.whatsNewWidgetInfo).should("have.text", whatsNewHeading);
1252
1254
  cy.get(helpIconSelectors.whatsNewWidgetCloseButton).last().click();
1253
1255
  cy.get(helpIconSelectors.whatsNewWidgetInfo).should("not.exist");