@bigbinary/neeto-commons-frontend 2.0.103 → 2.0.105

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.
@@ -91,6 +91,15 @@ type ProfileSelectors = {
91
91
  myProfileButton: string;
92
92
  organizationSettingsButton: string;
93
93
  };
94
+ interface TableSelectors {
95
+ nthColumn: (n: number) => string;
96
+ tableBody: string;
97
+ tableHeader: string;
98
+ tableRow: string;
99
+ spinner: string;
100
+ nthHeading: (n: number) => string;
101
+ }
102
+ ;
94
103
  type SignUpSelectors = {
95
104
  emailTextField: string;
96
105
  firstNameTextField: string;
@@ -362,6 +371,10 @@ type VerifyHelpDocumentationLinkPropsType = {
362
371
  alias: string;
363
372
  requestCount: number;
364
373
  };
374
+ interface VerifyMyProfileTabPropTypes {
375
+ alias: string;
376
+ requestCount?: number;
377
+ }
365
378
  export const memberUtils: {
366
379
  addMemberViaRequest: (props: AddMemberViaRequestPropsType) => void;
367
380
  addMemberViaUI: (props: AddMemberViaUIPropsType) => void;
@@ -385,7 +398,7 @@ export const navigationUtils: {
385
398
  verifyKeyboardShortcutsPane: () => void;
386
399
  verifyWhatsNewTab: (whatsNewHeading: string) => void;
387
400
  verifyChatWithUsTab: () => void;
388
- verifyMyProfileTab: () => void;
401
+ verifyMyProfileTab: (props: VerifyMyProfileTabPropTypes) => void;
389
402
  verifyOrganizationTab: () => void;
390
403
  };
391
404
 
@@ -395,6 +408,7 @@ export const commonSelectors: CommonSelectors;
395
408
  export const memberSelectors: MemberSelectors;
396
409
  export const loginSelectors: LoginSelectors;
397
410
  export const profileSelectors: ProfileSelectors;
411
+ export const tableSelectors: TableSelectors;
398
412
  export const signUpSelectors: SignUpSelectors;
399
413
  export const memberFormSelectors: MemberFormSelectors;
400
414
  export const helpIconSelectors: HelpIconSelectors;
package/cypress-utils.js CHANGED
@@ -1253,7 +1253,7 @@ var verifyChatWithUsTab = function verifyChatWithUsTab(_ref3) {
1253
1253
  });
1254
1254
  cy.get(chatWidgetSelectors.chatWidgetHomeCard, {
1255
1255
  timeout: 10000
1256
- }).should("have.text", helpIconTexts.newConversation).click();
1256
+ }).eq(0).should("have.text", helpIconTexts.newConversation).click();
1257
1257
  requestCount && cy.wait("@".concat(alias), requestCount);
1258
1258
  requestCount && cy.interceptNonVersionedApi({
1259
1259
  url: requestApis.allChatPath,