@bigbinary/neeto-playwright-commons 3.3.8 → 3.3.10
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 +312 -293
- package/index.cjs.js.map +1 -1
- package/index.d.ts +6 -9
- package/index.js +312 -294
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1084,8 +1084,8 @@ declare class Health {
|
|
|
1084
1084
|
neetoPlaywrightUtilities: CustomCommands;
|
|
1085
1085
|
private readonly email;
|
|
1086
1086
|
private loginPage;
|
|
1087
|
-
private teamMembers;
|
|
1088
1087
|
constructor(page: Page, neetoPlaywrightUtilities: CustomCommands);
|
|
1088
|
+
private getProductSpecificRolesRoute;
|
|
1089
1089
|
/**
|
|
1090
1090
|
*
|
|
1091
1091
|
* Navigates to the given route (default: /admin/admin-panel), waits for the page to
|
|
@@ -1116,15 +1116,11 @@ declare class Health {
|
|
|
1116
1116
|
verifyAppUI: () => Promise<void>;
|
|
1117
1117
|
/**
|
|
1118
1118
|
*
|
|
1119
|
-
* Performs
|
|
1119
|
+
* Performs the full health check in order:
|
|
1120
1120
|
*
|
|
1121
|
-
*
|
|
1121
|
+
* customSteps (optional): An async function (no arguments) that runs after the
|
|
1122
1122
|
*
|
|
1123
|
-
*
|
|
1124
|
-
*
|
|
1125
|
-
* customSteps (optional): An async function (no arguments) that runs after login
|
|
1126
|
-
*
|
|
1127
|
-
* and common verification. Use it to perform additional assertions or navigation.
|
|
1123
|
+
* built-in steps. Use it to perform additional assertions or navigation.
|
|
1128
1124
|
*
|
|
1129
1125
|
* @example
|
|
1130
1126
|
*
|
|
@@ -5807,6 +5803,7 @@ declare const FONTS_RESOURCES: readonly ["**/fonts.googleapis.com/**", "**/fonts
|
|
|
5807
5803
|
declare const THIRD_PARTY_RESOURCES: readonly ["**/analytics/**", "**/mixpanel/**", "**/static.cloudflareinsights.com/**", "**amazon-adsystem.com/**", "**paa-reporting-advertising.amazon/**", "**adsrvr.org/**", "**adnxs.com/**", "**doubleclick.net/**", "**googlesyndication.com/**", "**googletagmanager.com/**", "**bat.bing.com/**", "**connect.facebook.net/**", "**facebook.com/**", "**ads.linkedin.com/**", "**snap.licdn.com/**", "**linkedin.com/**", "**analytics.tiktok.com/**", "**tiktokw.us/**", "**alb.reddit.com/**", "**redditstatic.com/**", "**pixel-config.reddit.com/**", "**bidswitch.net/**", "**casalemedia.com/**", "**pubmatic.com/**", "**rubiconproject.com/**", "**podscribe.com/**", "**trkn.us/**", "**usbrowserspeed.com/**", "**amplitude.com/**", "**segment.com/**", "**clearbitjs.com/**", "**clearbitscripts.com/**", "**clearbit.com/**", "**builder.io/**", "**influ2.com/**", "**axiom-vitals.com/**", "**qualtrics.com/**", "**hubspot.com/**", "**hs-scripts.com/**", "**hs-analytics.net/**", "**hsadspixel.net/**", "**hs-banner.com/**", "**hsforms.com/**", "**hubapi.com/**", "**sentry.io/**", "**bugsnag.com/**", "**datadoghq.com/**", "**datadoghq-browser-agent.com/**", "**fullstory.com/**", "**intercom.io/**", "**intercomcdn.com/**", "**ada.support/**", "**sprig.com/**", "**split.io/**", "**cookielaw.org/**", "**onetrust.com/**", "**cdn.zapier.com/**", "**design-system-bff.zapier.com/**", "**ably.net/**", "**browser.events.data.microsoft.com/**"];
|
|
5808
5804
|
declare const APP_RESOURCES: readonly ["**/analytics/**", "**/mixpanel/**", "**/static.cloudflareinsights.com/**", "**/fonts.googleapis.com/**", "**/fonts.gstatic.com/**", "**/api.fontshare.com/**", "**/neeto-widget**", "**/neeto-engage-widget**", "**.neetoreplay.net", "**neeto-replay**.amazonaws.com/**", "**/cdn-cgi/rum?", "**.neetochat.net/**", "**.neetoengage.net/**", "**/sticky_ribbons", "**/neeto_widget_tokens"];
|
|
5809
5805
|
declare const ALL_RESOURCES: ("**/analytics/**" | "**/mixpanel/**" | "**/static.cloudflareinsights.com/**" | "**amazon-adsystem.com/**" | "**paa-reporting-advertising.amazon/**" | "**adsrvr.org/**" | "**adnxs.com/**" | "**doubleclick.net/**" | "**googlesyndication.com/**" | "**googletagmanager.com/**" | "**bat.bing.com/**" | "**connect.facebook.net/**" | "**facebook.com/**" | "**ads.linkedin.com/**" | "**snap.licdn.com/**" | "**linkedin.com/**" | "**analytics.tiktok.com/**" | "**tiktokw.us/**" | "**alb.reddit.com/**" | "**redditstatic.com/**" | "**pixel-config.reddit.com/**" | "**bidswitch.net/**" | "**casalemedia.com/**" | "**pubmatic.com/**" | "**rubiconproject.com/**" | "**podscribe.com/**" | "**trkn.us/**" | "**usbrowserspeed.com/**" | "**amplitude.com/**" | "**segment.com/**" | "**clearbitjs.com/**" | "**clearbitscripts.com/**" | "**clearbit.com/**" | "**builder.io/**" | "**influ2.com/**" | "**axiom-vitals.com/**" | "**qualtrics.com/**" | "**hubspot.com/**" | "**hs-scripts.com/**" | "**hs-analytics.net/**" | "**hsadspixel.net/**" | "**hs-banner.com/**" | "**hsforms.com/**" | "**hubapi.com/**" | "**sentry.io/**" | "**bugsnag.com/**" | "**datadoghq.com/**" | "**datadoghq-browser-agent.com/**" | "**fullstory.com/**" | "**intercom.io/**" | "**intercomcdn.com/**" | "**ada.support/**" | "**sprig.com/**" | "**split.io/**" | "**cookielaw.org/**" | "**onetrust.com/**" | "**cdn.zapier.com/**" | "**design-system-bff.zapier.com/**" | "**ably.net/**" | "**browser.events.data.microsoft.com/**" | "**/fonts.googleapis.com/**" | "**/fonts.gstatic.com/**" | "**/api.fontshare.com/**" | "**/neeto-widget**" | "**/neeto-engage-widget**" | "**.neetoreplay.net" | "**neeto-replay**.amazonaws.com/**" | "**/cdn-cgi/rum?" | "**.neetochat.net/**" | "**.neetoengage.net/**" | "**/sticky_ribbons" | "**/neeto_widget_tokens")[];
|
|
5806
|
+
declare const PRODUCT_ROLES_ROUTE_MAP: Record<string, string>;
|
|
5810
5807
|
interface NetworkConditionsParams {
|
|
5811
5808
|
offline: boolean;
|
|
5812
5809
|
downloadThroughput: number;
|
|
@@ -9290,5 +9287,5 @@ interface Overrides {
|
|
|
9290
9287
|
* @endexample
|
|
9291
9288
|
*/
|
|
9292
9289
|
declare const definePlaywrightConfig: (overrides: Overrides) => PlaywrightTestConfig<{}, {}>;
|
|
9293
|
-
export { ACTIONS, ADMIN_PANEL_SELECTORS, ALL_RESOURCES, ANALYTICS_RESOURCES, API_KEYS_SELECTORS, API_ROUTES, APP_RESOURCES, AUDIT_LOGS_SELECTORS, ApiKeysApi, ApiKeysPage, AuditLogsPage, BASE_URL, CALENDAR_LABELS, CERTIFICATE_LIMIT_EXCEEDED_MESSAGE, CERTIFICATE_LIMIT_EXCEEDED_REGEXP, CHANGELOG_WIDGET_SELECTORS, CHAT_WIDGET_SELECTORS, CHAT_WIDGET_TEXTS, COLOR, COMMON_SELECTORS, COMMON_TEXTS, COMMUNITY_TEXTS, CREDENTIALS, CURRENT_TIME_RANGES, CUSTOM_DOMAIN_SELECTORS, CUSTOM_DOMAIN_SUFFIX, ColorPickerUtils, CustomCommands, CustomDomainApi, CustomDomainPage, DATE_FORMATS, DATE_PICKER_SELECTORS, DATE_RANGES, DATE_TEXTS, DEFAULT_WEBHOOKS_RESPONSE_TEXT, DESCRIPTION_EDITOR_TEXTS, EMBED_SELECTORS, EMOJI_LABEL, EMPTY_STORAGE_STATE, ENGAGE_TEXTS, ENVIRONMENT, EXAMPLE_URL, EXPANDED_FONT_SIZE, EXPORT_FILE_TYPES, EditorPage, EmailDeliveryUtils, EmbedBase, FILE_FORMATS, FONTS_RESOURCES, FONT_SIZE_SELECTORS, FROM_EMAIL_ENV_KEYS, GLOBAL_TRANSLATIONS_PATTERN, GOOGLE_ANALYTICS_SELECTORS, GOOGLE_CALENDAR_DATE_FORMAT, GOOGLE_LOGIN_SELECTORS, GOOGLE_LOGIN_TEXTS, GOOGLE_SHEETS_SELECTORS, GooglePage, HELP_CENTER_ROUTES, HELP_CENTER_SELECTORS, HelpAndProfilePage, INTEGRATIONS_TEXTS, INTEGRATION_SELECTORS, IPRestrictionsPage, IP_RESTRICTIONS_SELECTORS, IS_CI, IS_DEV_ENV, IS_STAGING_ENV, ImageUploader, IntegrationBase, IpRestrictionsApi, KEYBOARD_SHORTCUTS_SELECTORS, KEYBOARD_SHORTCUT_TEST_CASES, LIST_MODIFIER_SELECTORS, LIST_MODIFIER_TAGS, LOGIN_SELECTORS, MEMBER_FORM_SELECTORS, MEMBER_SELECTORS, MEMBER_TEXTS, MERGE_TAGS_SELECTORS, MICROSOFT_LOGIN_SELECTORS, MICROSOFT_LOGIN_TEXTS, MailerUtils, Member, MemberApis, MicrosoftPage, NEETO_AUTH_BASE_URL, NEETO_EDITOR_SELECTORS, NEETO_FILTERS_SELECTORS, NEETO_IMAGE_UPLOADER_SELECTORS, NEETO_ROUTES, NEETO_SEO_SELECTORS, NEETO_TEXT_MODIFIER_SELECTORS, NeetoAuthServer, NeetoChatWidget, NeetoEmailDeliveryApi, NeetoTowerApi, ONBOARDING_SELECTORS, ORGANIZATION_TEXTS, OTP_EMAIL_PATTERN, OrganizationPage, PAST_TIME_RANGES, PHONE_NUMBER_FORMATS, PLURAL, PROFILE_LINKS, PROFILE_SECTION_SELECTORS, PROJECT_NAMES, PROJECT_TRANSLATIONS_PATH, ROLES_SELECTORS, ROUTES, RailsEmailApiClient, RailsEmailUtils, RoleApis, RolesPage, SIGNUP_SELECTORS, SINGULAR, SLACK_DATA_QA_SELECTORS, SLACK_DEFAULT_CHANNEL, SLACK_SELECTORS, SLACK_WEB_TEXTS, STATUS_TEXTS, STORAGE_STATE, SecurityApi, SidebarSection, SlackApi, SlackPage, TABLE_SELECTORS, TAB_SELECTORS, TAGS_SELECTORS, TEAM_MEMBER_TEXTS, TEXT_MODIFIER_ROLES, TEXT_MODIFIER_SELECTORS, TEXT_MODIFIER_TAGS, THANK_YOU_SELECTORS, THEMES_SELECTORS, THEMES_TEXTS, THIRD_PARTY_RESOURCES, THIRD_PARTY_ROUTES, TIME_RANGES, TOASTR_MESSAGES, TWILIO_SELECTORS, TagsApi, TagsPage, TeamMembers, ThankYouApi, ThankYouPage, TwilioApi, USER_AGENTS, WEBHOOK_SELECTORS, WebhookSiteApi, WebhooksPage, ZAPIER_LIMIT_EXHAUSTED_MESSAGE, ZAPIER_SELECTORS, ZAPIER_TEST_EMAIL, ZAPIER_WEB_TEXTS, ZapierPage, baseURLGenerator, basicHTMLContent, clearCredentials, commands, cpuThrottlingUsingCDP, createOrganizationViaRake, currencyUtils, dataQa, decodeQRCodeFromFile, definePlaywrightConfig, executeWithThrottledResources, extractSubdomainFromError, fillCredentialsAndSubmit, filterUtils, generatePhoneNumber, generatePhoneNumberDetails, generateRandomBypassEmail, generateRandomFile, generateStagingData, getByDataQA, getClipboardContent, getFormattedPhoneNumber, getFullUrl, getGlobalUserProps, getGlobalUserState, getImagePathAndName, getIsoCodeFromPhoneCode, getListCount, globalShortcuts, grantClipboardPermissions, hexToRGB, hexToRGBA, i18nFixture, imageRegex, initializeCredentials, initializeTestData, initializeTotp, isGithubIssueOpen, joinHyphenCase, joinString, login, loginWithoutSSO, networkConditions, networkThrottlingUsingCDP, readFileSyncIfExists, removeCredentialFile, serializeFileForBrowser, shouldSkipCustomDomainSetup, shouldSkipSetupAndTeardown, simulateClickWithDelay, simulateTypingWithDelay, skipTest, squish, _default as stealthTest, tableUtils, toCamelCase, updateCredentials, warmup, withCookieCache, writeDataToFile };
|
|
9290
|
+
export { ACTIONS, ADMIN_PANEL_SELECTORS, ALL_RESOURCES, ANALYTICS_RESOURCES, API_KEYS_SELECTORS, API_ROUTES, APP_RESOURCES, AUDIT_LOGS_SELECTORS, ApiKeysApi, ApiKeysPage, AuditLogsPage, BASE_URL, CALENDAR_LABELS, CERTIFICATE_LIMIT_EXCEEDED_MESSAGE, CERTIFICATE_LIMIT_EXCEEDED_REGEXP, CHANGELOG_WIDGET_SELECTORS, CHAT_WIDGET_SELECTORS, CHAT_WIDGET_TEXTS, COLOR, COMMON_SELECTORS, COMMON_TEXTS, COMMUNITY_TEXTS, CREDENTIALS, CURRENT_TIME_RANGES, CUSTOM_DOMAIN_SELECTORS, CUSTOM_DOMAIN_SUFFIX, ColorPickerUtils, CustomCommands, CustomDomainApi, CustomDomainPage, DATE_FORMATS, DATE_PICKER_SELECTORS, DATE_RANGES, DATE_TEXTS, DEFAULT_WEBHOOKS_RESPONSE_TEXT, DESCRIPTION_EDITOR_TEXTS, EMBED_SELECTORS, EMOJI_LABEL, EMPTY_STORAGE_STATE, ENGAGE_TEXTS, ENVIRONMENT, EXAMPLE_URL, EXPANDED_FONT_SIZE, EXPORT_FILE_TYPES, EditorPage, EmailDeliveryUtils, EmbedBase, FILE_FORMATS, FONTS_RESOURCES, FONT_SIZE_SELECTORS, FROM_EMAIL_ENV_KEYS, GLOBAL_TRANSLATIONS_PATTERN, GOOGLE_ANALYTICS_SELECTORS, GOOGLE_CALENDAR_DATE_FORMAT, GOOGLE_LOGIN_SELECTORS, GOOGLE_LOGIN_TEXTS, GOOGLE_SHEETS_SELECTORS, GooglePage, HELP_CENTER_ROUTES, HELP_CENTER_SELECTORS, HelpAndProfilePage, INTEGRATIONS_TEXTS, INTEGRATION_SELECTORS, IPRestrictionsPage, IP_RESTRICTIONS_SELECTORS, IS_CI, IS_DEV_ENV, IS_STAGING_ENV, ImageUploader, IntegrationBase, IpRestrictionsApi, KEYBOARD_SHORTCUTS_SELECTORS, KEYBOARD_SHORTCUT_TEST_CASES, LIST_MODIFIER_SELECTORS, LIST_MODIFIER_TAGS, LOGIN_SELECTORS, MEMBER_FORM_SELECTORS, MEMBER_SELECTORS, MEMBER_TEXTS, MERGE_TAGS_SELECTORS, MICROSOFT_LOGIN_SELECTORS, MICROSOFT_LOGIN_TEXTS, MailerUtils, Member, MemberApis, MicrosoftPage, NEETO_AUTH_BASE_URL, NEETO_EDITOR_SELECTORS, NEETO_FILTERS_SELECTORS, NEETO_IMAGE_UPLOADER_SELECTORS, NEETO_ROUTES, NEETO_SEO_SELECTORS, NEETO_TEXT_MODIFIER_SELECTORS, NeetoAuthServer, NeetoChatWidget, NeetoEmailDeliveryApi, NeetoTowerApi, ONBOARDING_SELECTORS, ORGANIZATION_TEXTS, OTP_EMAIL_PATTERN, OrganizationPage, PAST_TIME_RANGES, PHONE_NUMBER_FORMATS, PLURAL, PRODUCT_ROLES_ROUTE_MAP, PROFILE_LINKS, PROFILE_SECTION_SELECTORS, PROJECT_NAMES, PROJECT_TRANSLATIONS_PATH, ROLES_SELECTORS, ROUTES, RailsEmailApiClient, RailsEmailUtils, RoleApis, RolesPage, SIGNUP_SELECTORS, SINGULAR, SLACK_DATA_QA_SELECTORS, SLACK_DEFAULT_CHANNEL, SLACK_SELECTORS, SLACK_WEB_TEXTS, STATUS_TEXTS, STORAGE_STATE, SecurityApi, SidebarSection, SlackApi, SlackPage, TABLE_SELECTORS, TAB_SELECTORS, TAGS_SELECTORS, TEAM_MEMBER_TEXTS, TEXT_MODIFIER_ROLES, TEXT_MODIFIER_SELECTORS, TEXT_MODIFIER_TAGS, THANK_YOU_SELECTORS, THEMES_SELECTORS, THEMES_TEXTS, THIRD_PARTY_RESOURCES, THIRD_PARTY_ROUTES, TIME_RANGES, TOASTR_MESSAGES, TWILIO_SELECTORS, TagsApi, TagsPage, TeamMembers, ThankYouApi, ThankYouPage, TwilioApi, USER_AGENTS, WEBHOOK_SELECTORS, WebhookSiteApi, WebhooksPage, ZAPIER_LIMIT_EXHAUSTED_MESSAGE, ZAPIER_SELECTORS, ZAPIER_TEST_EMAIL, ZAPIER_WEB_TEXTS, ZapierPage, baseURLGenerator, basicHTMLContent, clearCredentials, commands, cpuThrottlingUsingCDP, createOrganizationViaRake, currencyUtils, dataQa, decodeQRCodeFromFile, definePlaywrightConfig, executeWithThrottledResources, extractSubdomainFromError, fillCredentialsAndSubmit, filterUtils, generatePhoneNumber, generatePhoneNumberDetails, generateRandomBypassEmail, generateRandomFile, generateStagingData, getByDataQA, getClipboardContent, getFormattedPhoneNumber, getFullUrl, getGlobalUserProps, getGlobalUserState, getImagePathAndName, getIsoCodeFromPhoneCode, getListCount, globalShortcuts, grantClipboardPermissions, hexToRGB, hexToRGBA, i18nFixture, imageRegex, initializeCredentials, initializeTestData, initializeTotp, isGithubIssueOpen, joinHyphenCase, joinString, login, loginWithoutSSO, networkConditions, networkThrottlingUsingCDP, readFileSyncIfExists, removeCredentialFile, serializeFileForBrowser, shouldSkipCustomDomainSetup, shouldSkipSetupAndTeardown, simulateClickWithDelay, simulateTypingWithDelay, skipTest, squish, _default as stealthTest, tableUtils, toCamelCase, updateCredentials, warmup, withCookieCache, writeDataToFile };
|
|
9294
9291
|
export type { BaseThemeStyle, BaseThemeStyleType, ColumnMenuAction, CountryProps, CustomFixture, EmailDeliveryConnectParams, EmailDeliveryProvider, EmailDeliveryVerifiedEmail, EmailDeliveryVerifyEmailParams, EmailDeliveryVerifyEmailResponse, EmailMatchCriteria, IntroPageThemeStyle, IntroPageThemeStyleType, OAuthEmailDeliveryProvider, ProjectName, ThemeCategory, ValueOf };
|