@bigbinary/neeto-commons-frontend 2.0.135 → 2.1.1

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.
@@ -850,11 +850,14 @@ var verifyOrganizationTab = function verifyOrganizationTab() {
850
850
  });
851
851
  cy.get(profileSelectors.organizationSettingsButton).should("have.text", profileTexts.myOrganization);
852
852
  cy.globalState("subdomainName").then(function (subdomainName) {
853
- return cy.openInSameTabOnClick({
854
- url: requestApis.settingsPath(subdomainName),
855
- selector: profileSelectors.organizationSettingsButton,
856
- alias: "navigateToSettings"
853
+ cy.window().then(function (win) {
854
+ cy.stub(win, "open").as("navigateToSettings").callsFake(function (newUrl) {
855
+ return win.location.href = newUrl;
856
+ });
857
857
  });
858
+ cy.get(profileSelectors.organizationSettingsButton).invoke("click");
859
+ cy.get("@navigateToSettings").should("be.called");
860
+ cy.url().should("include", requestApis.settingsPath(subdomainName));
858
861
  });
859
862
  cy.get(commonSelectors.heading).should("have.text", commonTexts.settings);
860
863
  cy.globalState("subdomainName").then(function (subdomainName) {