@bigbinary/neeto-commons-frontend 2.0.32 → 2.0.34
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/README.md +2 -0
- package/configs/webpack/index.js +5 -1
- package/cypress-utils.cjs.js +28 -1017
- package/cypress-utils.d.ts +8 -8
- package/cypress-utils.js +28 -1018
- package/package.json +1 -1
- package/react-utils.cjs.js +6 -1
- package/react-utils.d.ts +5 -0
- package/react-utils.js +6 -2
package/cypress-utils.d.ts
CHANGED
|
@@ -46,6 +46,7 @@ type LoginSelectors = {
|
|
|
46
46
|
};
|
|
47
47
|
|
|
48
48
|
type ProfileSelectors = {
|
|
49
|
+
tab: string;
|
|
49
50
|
logoutLink: string;
|
|
50
51
|
profileOptionsContainer: string;
|
|
51
52
|
};
|
|
@@ -103,8 +104,6 @@ type MemberText = {
|
|
|
103
104
|
};
|
|
104
105
|
|
|
105
106
|
type MemberTableTexts = {
|
|
106
|
-
assignedTickets: string;
|
|
107
|
-
availabilityForDesk: string;
|
|
108
107
|
created: string;
|
|
109
108
|
email: string;
|
|
110
109
|
name: string;
|
|
@@ -142,14 +141,10 @@ function pastDate(numberOfDays: number = 1): String;
|
|
|
142
141
|
// Utils: common
|
|
143
142
|
export function dataCy(dataCyId: string): String;
|
|
144
143
|
|
|
145
|
-
export function
|
|
146
|
-
|
|
147
|
-
export function verifyListCount(countSelector: string, count: number): String;
|
|
144
|
+
export function getTestTitle(): String;
|
|
148
145
|
|
|
149
146
|
export function getUrl(path: string): String;
|
|
150
147
|
|
|
151
|
-
export function getTestTitle(): String;
|
|
152
|
-
|
|
153
148
|
export function initializeCredentials(props: {
|
|
154
149
|
businessName: string;
|
|
155
150
|
currentUserName: string;
|
|
@@ -161,8 +156,13 @@ export function initializeCredentials(props: {
|
|
|
161
156
|
skipSetup: boolean;
|
|
162
157
|
}): String;
|
|
163
158
|
|
|
164
|
-
|
|
159
|
+
export function joinHyphenCase(string: string | string[]): String;
|
|
160
|
+
|
|
161
|
+
export function setListCount(countSelector: string, alias: string): Void;
|
|
165
162
|
|
|
163
|
+
export function verifyListCount(countSelector: string, count: number): String;
|
|
164
|
+
|
|
165
|
+
// Utils: organization
|
|
166
166
|
export function createOrganization(props: {
|
|
167
167
|
baseUrl: string;
|
|
168
168
|
businessName: string;
|