@bigbinary/neeto-playwright-commons 1.9.32 → 1.9.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/index.cjs.js +1628 -2072
- package/index.cjs.js.map +1 -1
- package/index.d.ts +28 -9
- package/index.js +1644 -2089
- package/index.js.map +1 -1
- package/package.json +25 -26
package/index.d.ts
CHANGED
|
@@ -1385,6 +1385,9 @@ declare class ZapierPage extends IntegrationBase {
|
|
|
1385
1385
|
}
|
|
1386
1386
|
interface VerifyDescriptionEditorParams {
|
|
1387
1387
|
text: string;
|
|
1388
|
+
editorWrapper?: Locator | Page;
|
|
1389
|
+
dynamicVariables?: string[];
|
|
1390
|
+
defaultFontSizeOption?: string;
|
|
1388
1391
|
linkUrl?: string;
|
|
1389
1392
|
filePath?: string;
|
|
1390
1393
|
attachedImageName?: string;
|
|
@@ -1406,6 +1409,7 @@ declare class EditorPage {
|
|
|
1406
1409
|
imageUploadOption: Locator;
|
|
1407
1410
|
cannedResponseOption: Locator;
|
|
1408
1411
|
videoEmbedOption: Locator;
|
|
1412
|
+
videoEmbedInput: Locator;
|
|
1409
1413
|
videoWrapperSelector: Locator;
|
|
1410
1414
|
emojiDropdownIcon: Locator;
|
|
1411
1415
|
constructor(page: Page, neetoPlaywrightUtilities: CustomCommands);
|
|
@@ -1415,6 +1419,12 @@ declare class EditorPage {
|
|
|
1415
1419
|
*
|
|
1416
1420
|
* text (required): The text to be filled in editor content field.
|
|
1417
1421
|
*
|
|
1422
|
+
* editorWrapper (optional): The wrapper of editor content field.
|
|
1423
|
+
*
|
|
1424
|
+
* dynamicVariables (optional): The array of dynamic variables used by the product in editor content field.
|
|
1425
|
+
*
|
|
1426
|
+
* defaultFontSizeOption (optional): The selected default font size of editor content field. Default is "Paragraph".
|
|
1427
|
+
*
|
|
1418
1428
|
* linkUrl (optional): The url to be added when we select the button on the editor menu to link a url to a text. Default is faker.internet.url().
|
|
1419
1429
|
*
|
|
1420
1430
|
* filePath (optional): The file path to be added when we select the button on the editor menu to attach a file in the editor. Default is "../../../e2e/assets/images/BigBinary.png".
|
|
@@ -1435,6 +1445,9 @@ declare class EditorPage {
|
|
|
1435
1445
|
*/
|
|
1436
1446
|
verifyDescriptionEditor: ({
|
|
1437
1447
|
text,
|
|
1448
|
+
editorWrapper,
|
|
1449
|
+
dynamicVariables,
|
|
1450
|
+
defaultFontSizeOption,
|
|
1438
1451
|
linkUrl,
|
|
1439
1452
|
filePath,
|
|
1440
1453
|
imageUrl,
|
|
@@ -2177,7 +2190,7 @@ declare class OrganizationPage {
|
|
|
2177
2190
|
appName: string;
|
|
2178
2191
|
}) => Promise<{
|
|
2179
2192
|
STORAGE_STATE: {
|
|
2180
|
-
cookies: {
|
|
2193
|
+
cookies: Array<{
|
|
2181
2194
|
name: string;
|
|
2182
2195
|
value: string;
|
|
2183
2196
|
domain: string;
|
|
@@ -2186,14 +2199,14 @@ declare class OrganizationPage {
|
|
|
2186
2199
|
httpOnly: boolean;
|
|
2187
2200
|
secure: boolean;
|
|
2188
2201
|
sameSite: "Strict" | "Lax" | "None";
|
|
2189
|
-
}
|
|
2190
|
-
origins: {
|
|
2202
|
+
}>;
|
|
2203
|
+
origins: Array<{
|
|
2191
2204
|
origin: string;
|
|
2192
|
-
localStorage: {
|
|
2205
|
+
localStorage: Array<{
|
|
2193
2206
|
name: string;
|
|
2194
2207
|
value: string;
|
|
2195
|
-
}
|
|
2196
|
-
}
|
|
2208
|
+
}>;
|
|
2209
|
+
}>;
|
|
2197
2210
|
};
|
|
2198
2211
|
baseURL: string | undefined;
|
|
2199
2212
|
}>;
|
|
@@ -3020,7 +3033,7 @@ declare const NEETO_EDITOR_SELECTORS: {
|
|
|
3020
3033
|
addLinkTextField: string;
|
|
3021
3034
|
addURLTextField: string;
|
|
3022
3035
|
submitLinkButton: string;
|
|
3023
|
-
fontSizeDropdown: (currentOption
|
|
3036
|
+
fontSizeDropdown: (currentOption: string) => string;
|
|
3024
3037
|
fixedMenuArrow: string;
|
|
3025
3038
|
cannedResponseOption: string;
|
|
3026
3039
|
cannedResponseSelectContainer: string;
|
|
@@ -3046,6 +3059,9 @@ declare const NEETO_EDITOR_SELECTORS: {
|
|
|
3046
3059
|
errorText: string;
|
|
3047
3060
|
content: string;
|
|
3048
3061
|
imageUploadDeleteButton: string;
|
|
3062
|
+
dynamicVariablesButton: string;
|
|
3063
|
+
emojiContainer: string;
|
|
3064
|
+
dynamicVariableSelector: (variable: string) => string;
|
|
3049
3065
|
};
|
|
3050
3066
|
declare const NEETO_TEXT_MODIFIER_SELECTORS: {
|
|
3051
3067
|
strikeOption: string;
|
|
@@ -4048,11 +4064,12 @@ declare const TOASTR_MESSAGES: {
|
|
|
4048
4064
|
*
|
|
4049
4065
|
*/
|
|
4050
4066
|
declare const ZAPIER_LIMIT_EXHAUSTED_MESSAGE = "Zapier free task limit is exhausted. Test will be aborted";
|
|
4051
|
-
declare const
|
|
4067
|
+
declare const EMOJI_LABEL = "thumbs up";
|
|
4052
4068
|
declare const ATTACHMENT_DELETION_TOASTR_MESSAGE = "Attachment has been successfully deleted.";
|
|
4053
4069
|
declare const DESCRIPTION_EDITOR_TEXTS: {
|
|
4054
4070
|
fontSize: string;
|
|
4055
4071
|
paragraph: string;
|
|
4072
|
+
normalText: string;
|
|
4056
4073
|
pasteLink: string;
|
|
4057
4074
|
invalidURLError: string;
|
|
4058
4075
|
pasteURL: string;
|
|
@@ -4061,6 +4078,8 @@ declare const DESCRIPTION_EDITOR_TEXTS: {
|
|
|
4061
4078
|
link: string;
|
|
4062
4079
|
cannedResponseHeader: string;
|
|
4063
4080
|
paragraphOption: string;
|
|
4081
|
+
search: string;
|
|
4082
|
+
emoji: string;
|
|
4064
4083
|
};
|
|
4065
4084
|
declare const EXPANDED_FONT_SIZE: {
|
|
4066
4085
|
h1: string;
|
|
@@ -4947,4 +4966,4 @@ interface Overrides {
|
|
|
4947
4966
|
* @endexample
|
|
4948
4967
|
*/
|
|
4949
4968
|
declare const definePlaywrightConfig: (overrides: Overrides) => _playwright_test.PlaywrightTestConfig<{}, {}>;
|
|
4950
|
-
export { API_ROUTES, ATTACHMENT_DELETION_TOASTR_MESSAGE, BASE_URL, CHANGELOG_WIDGET_SELECTORS, CHAT_WIDGET_SELECTORS, CHAT_WIDGET_TEXTS, COMMON_SELECTORS, CREDENTIALS, CustomCommands, type CustomFixture, DESCRIPTION_EDITOR_TEXTS, EMBED_SELECTORS,
|
|
4969
|
+
export { API_ROUTES, ATTACHMENT_DELETION_TOASTR_MESSAGE, BASE_URL, CHANGELOG_WIDGET_SELECTORS, CHAT_WIDGET_SELECTORS, CHAT_WIDGET_TEXTS, COMMON_SELECTORS, CREDENTIALS, CustomCommands, type CustomFixture, DESCRIPTION_EDITOR_TEXTS, EMBED_SELECTORS, EMOJI_LABEL, ENVIRONMENT, EXPANDED_FONT_SIZE, EditorPage, EmbedBase, FONT_SIZE_SELECTORS, GLOBAL_TRANSLATIONS_PATTERN, HELP_CENTER_SELECTORS, HelpAndProfilePage, INTEGRATIONS_TEXTS, INTEGRATION_SELECTORS, IS_STAGING_ENV, ImageUploader, IntegrationBase, KEYBOARD_SHORTCUTS_SELECTORS, LIST_MODIFIER_SELECTORS, LIST_MODIFIER_TAGS, LOGIN_SELECTORS, MEMBER_FORM_SELECTORS, MEMBER_SELECTORS, MEMBER_TEXTS, MERGE_TAGS_SELECTORS, MailosaurUtils, NEETO_AUTH_BASE_URL, NEETO_EDITOR_SELECTORS, NEETO_FILTERS_SELECTORS, NEETO_IMAGE_UPLOADER_SELECTORS, NEETO_ROUTES, NEETO_TEXT_MODIFIER_SELECTORS, OTP_EMAIL_PATTERN, OrganizationPage, PLURAL, PROFILE_SECTION_SELECTORS, PROJECT_TRANSLATIONS_PATH, ROLES_SELECTORS, ROUTES, SIGNUP_SELECTORS, SINGULAR, SLACK_DATA_QA_SELECTORS, SLACK_DEFAULT_CHANNEL, SLACK_SELECTORS, SLACK_WEB_TEXTS, STORAGE_STATE, SidebarSection, SlackPage, TAGS_SELECTORS, TEXT_MODIFIER_ROLES, TEXT_MODIFIER_SELECTORS, TEXT_MODIFIER_TAGS, THIRD_PARTY_ROUTES, TOASTR_MESSAGES, TagsPage, TeamMembers, USER_AGENTS, WebhooksPage, ZAPIER_LIMIT_EXHAUSTED_MESSAGE, ZAPIER_SELECTORS, ZAPIER_TEST_EMAIL, ZAPIER_WEB_TEXTS, ZapierPage, basicHTMLContent, clearCredentials, commands, cpuThrottlingUsingCDP, currencyUtils, decodeQRCodeFromFile, definePlaywrightConfig, executeWithThrottledResources, extractSubdomainFromError, filterUtils, generateRandomBypassEmail, generateStagingData, getByDataQA, getGlobalUserState, getImagePathAndName, getListCount, headerUtils, hexToRGB, hyphenize, i18nFixture, initializeCredentials, initializeTotp, joinHyphenCase, joinString, login, loginWithoutSSO, memberUtils, networkConditions, networkThrottlingUsingCDP, readFileSyncIfExists, removeCredentialFile, shouldSkipSetupAndTeardown, skipTest, squish, _default as stealthTest, tableUtils, toCamelCase, updateCredentials, writeDataToFile };
|