@bigbinary/neeto-commons-frontend 2.0.78 → 2.0.80
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/configs/scripts/dead-code-eliminator/index.js +3 -7
- package/cypress-commands.d.ts +6 -0
- package/cypress-configs/initializer.js +41 -0
- package/cypress-configs/plugins.js +63 -0
- package/cypress-configs/resolve.js +18 -0
- package/cypress-configs/webpack.config.js +19 -0
- package/cypress-utils.cjs.js +6 -3
- package/cypress-utils.cjs.js.map +1 -1
- package/cypress-utils.d.ts +1 -1
- package/cypress-utils.js +6 -3
- package/cypress-utils.js.map +1 -1
- package/package.json +5 -3
package/cypress-utils.d.ts
CHANGED
package/cypress-utils.js
CHANGED
|
@@ -506,6 +506,9 @@ var initCustomCommands = function initCustomCommands() {
|
|
|
506
506
|
});
|
|
507
507
|
cy.document().its("body").find(commonSelectors.tooltip).should("not.exist");
|
|
508
508
|
});
|
|
509
|
+
Cypress.Commands.add("getEmailContent", function (props) {
|
|
510
|
+
return cy.mailosaurGetMessage(Cypress.env("MAILOSAUR_SERVER_ID"), props);
|
|
511
|
+
});
|
|
509
512
|
};
|
|
510
513
|
|
|
511
514
|
var loginSelectors = {
|
|
@@ -667,7 +670,7 @@ var helpIconTexts = {
|
|
|
667
670
|
documentation: "Documentation",
|
|
668
671
|
welcome: "Welcome",
|
|
669
672
|
keyboardShortcuts: "Keyboard shortcuts",
|
|
670
|
-
|
|
673
|
+
liveChat: "Live chat",
|
|
671
674
|
newConversation: "New Conversation",
|
|
672
675
|
chatMessage: "Hello. Go ahead and ask us anything.",
|
|
673
676
|
whatsNew: "What's new"
|
|
@@ -1119,7 +1122,7 @@ var createOrganization = function createOrganization(_ref) {
|
|
|
1119
1122
|
cy.get(signUpSelectors.submitButton).click();
|
|
1120
1123
|
cy.wait("@signupRequest");
|
|
1121
1124
|
if (isMailosaurEmail) {
|
|
1122
|
-
cy.
|
|
1125
|
+
cy.getEmailContent({
|
|
1123
1126
|
sentTo: email,
|
|
1124
1127
|
subject: signUpTexts.loginCode
|
|
1125
1128
|
}).then(function (emailBody) {
|
|
@@ -1224,7 +1227,7 @@ var verifyChatWithUsTab = function verifyChatWithUsTab() {
|
|
|
1224
1227
|
alias: "fetchChatWidget",
|
|
1225
1228
|
times: 4
|
|
1226
1229
|
});
|
|
1227
|
-
clickOnHelpSubTab(helpIconSelectors.chatButton, helpIconTexts.
|
|
1230
|
+
clickOnHelpSubTab(helpIconSelectors.chatButton, helpIconTexts.liveChat);
|
|
1228
1231
|
cy.waitForMultipleRequest("@fetchChatWidget", 4);
|
|
1229
1232
|
cy.get(helpIconSelectors.chatButton).click();
|
|
1230
1233
|
cy.withinIframe(chatWidgetSelectors.widgetIframe, function () {
|