@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.
- package/cypress-utils.cjs.js +7 -4
- package/cypress-utils.cjs.js.map +1 -1
- package/cypress-utils.js +7 -4
- package/cypress-utils.js.map +1 -1
- package/package.json +1 -1
- package/react-utils.cjs.js +36 -19
- package/react-utils.cjs.js.map +1 -1
- package/react-utils.js +22 -5
- package/react-utils.js.map +1 -1
package/cypress-utils.js
CHANGED
|
@@ -842,11 +842,14 @@ var verifyOrganizationTab = function verifyOrganizationTab() {
|
|
|
842
842
|
});
|
|
843
843
|
cy.get(profileSelectors.organizationSettingsButton).should("have.text", profileTexts.myOrganization);
|
|
844
844
|
cy.globalState("subdomainName").then(function (subdomainName) {
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
845
|
+
cy.window().then(function (win) {
|
|
846
|
+
cy.stub(win, "open").as("navigateToSettings").callsFake(function (newUrl) {
|
|
847
|
+
return win.location.href = newUrl;
|
|
848
|
+
});
|
|
849
849
|
});
|
|
850
|
+
cy.get(profileSelectors.organizationSettingsButton).invoke("click");
|
|
851
|
+
cy.get("@navigateToSettings").should("be.called");
|
|
852
|
+
cy.url().should("include", requestApis.settingsPath(subdomainName));
|
|
850
853
|
});
|
|
851
854
|
cy.get(commonSelectors.heading).should("have.text", commonTexts.settings);
|
|
852
855
|
cy.globalState("subdomainName").then(function (subdomainName) {
|