@bigbinary/neeto-playwright-commons 1.19.12 → 1.20.0
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 +66 -1
- package/index.cjs.js.map +1 -1
- package/index.d.ts +47 -2
- package/index.js +64 -2
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1457,6 +1457,7 @@ interface HelpAndProfilePageInitializerProps {
|
|
|
1457
1457
|
kbDocsBaseURL: string;
|
|
1458
1458
|
changelogBaseURL: string;
|
|
1459
1459
|
}
|
|
1460
|
+
type NeetoProducts = "Form" | "Cal" | "Auth" | "KB" | "Desk" | "Chat" | "Invoice" | "Playdash" | "Pay" | "Testify" | "Record" | "Site" | "Runner" | "Wireframe" | "Engage" | "Quiz" | "Replay" | "Planner" | "CRM" | "Publish" | "Course" | "Code" | "Git";
|
|
1460
1461
|
declare class HelpAndProfilePage {
|
|
1461
1462
|
page: Page;
|
|
1462
1463
|
neetoPlaywrightUtilities: CustomCommands;
|
|
@@ -1560,6 +1561,28 @@ declare class HelpAndProfilePage {
|
|
|
1560
1561
|
verifyLogoutV2: () => Promise<void>;
|
|
1561
1562
|
private openAuthLinkAndVerifyV1;
|
|
1562
1563
|
verifyProfileAndOrganizationLinksV3: () => Promise<void>;
|
|
1564
|
+
/**
|
|
1565
|
+
*
|
|
1566
|
+
* Opens and verifies the Neeto status in Help Center.
|
|
1567
|
+
*
|
|
1568
|
+
* appName: Name of the application.
|
|
1569
|
+
*
|
|
1570
|
+
* @example
|
|
1571
|
+
*
|
|
1572
|
+
* await helpAndProfilePage.openAndVerifyStatus("Auth");
|
|
1573
|
+
* @endexample
|
|
1574
|
+
*/
|
|
1575
|
+
openAndVerifyStatus: (appName: NeetoProducts) => Promise<void>;
|
|
1576
|
+
/**
|
|
1577
|
+
*
|
|
1578
|
+
* Opens and verifies the Neeto community in Help Center.
|
|
1579
|
+
*
|
|
1580
|
+
* @example
|
|
1581
|
+
*
|
|
1582
|
+
* await helpAndProfilePage.openAndVerifyCommunity();
|
|
1583
|
+
* @endexample
|
|
1584
|
+
*/
|
|
1585
|
+
openAndVerifyCommunity: () => Promise<void>;
|
|
1563
1586
|
}
|
|
1564
1587
|
type IntegrationStatus = "connected" | "disconnected";
|
|
1565
1588
|
type PartialInterceptMultipleResponsesParams$1 = Partial<InterceptMultipleResponsesParams>;
|
|
@@ -4138,6 +4161,10 @@ declare const THIRD_PARTY_ROUTES: {
|
|
|
4138
4161
|
declare const NEETO_ROUTES: {
|
|
4139
4162
|
imageUploader: string;
|
|
4140
4163
|
};
|
|
4164
|
+
declare const PROFILE_LINKS: {
|
|
4165
|
+
neetoStatus: string;
|
|
4166
|
+
neetoCommunity: string;
|
|
4167
|
+
};
|
|
4141
4168
|
declare const networkConditions: Record<"Slow 3G" | "Fast 3G" | "No Throttling", Protocol.Network.emulateNetworkConditionsParameters>;
|
|
4142
4169
|
/**
|
|
4143
4170
|
*
|
|
@@ -4377,6 +4404,12 @@ declare const GOOGLE_LOGIN_TEXTS: {
|
|
|
4377
4404
|
declare const ENGAGE_TEXTS: {
|
|
4378
4405
|
subscribe: string;
|
|
4379
4406
|
};
|
|
4407
|
+
declare const COMMUNITY_TEXTS: {
|
|
4408
|
+
joinNow: string;
|
|
4409
|
+
};
|
|
4410
|
+
declare const STATUS_TEXTS: {
|
|
4411
|
+
application: (appName: NeetoProducts) => string;
|
|
4412
|
+
};
|
|
4380
4413
|
declare const AUDIT_LOGS_TEXTS: {
|
|
4381
4414
|
organizationRole: string;
|
|
4382
4415
|
};
|
|
@@ -4618,6 +4651,10 @@ declare const LIST_MODIFIER_TAGS: {
|
|
|
4618
4651
|
*
|
|
4619
4652
|
* popoverTitle: Selector for the title of the help popover,
|
|
4620
4653
|
*
|
|
4654
|
+
* appLink: Selector for the NeetoApp link,
|
|
4655
|
+
*
|
|
4656
|
+
* productSwitcherSearchInput: Selector for the product search input,
|
|
4657
|
+
*
|
|
4621
4658
|
* helpPopoverButton: Selector for help popover button,
|
|
4622
4659
|
*
|
|
4623
4660
|
* helpPopoverDesc: Selector for help popover description,
|
|
@@ -4676,7 +4713,7 @@ declare const LIST_MODIFIER_TAGS: {
|
|
|
4676
4713
|
*
|
|
4677
4714
|
* customSwitch: Selector for a custom-labeled switch.
|
|
4678
4715
|
*
|
|
4679
|
-
*
|
|
4716
|
+
* customMenuItem: Selector for a custom menu item.
|
|
4680
4717
|
*
|
|
4681
4718
|
*/
|
|
4682
4719
|
declare const COMMON_SELECTORS: {
|
|
@@ -4742,6 +4779,7 @@ declare const COMMON_SELECTORS: {
|
|
|
4742
4779
|
ticketFieldTextInput: (label: string) => string;
|
|
4743
4780
|
appSwitcherButton: string;
|
|
4744
4781
|
appSwitcherWrapper: string;
|
|
4782
|
+
appLink: (appName: NeetoProducts) => string;
|
|
4745
4783
|
tableSpinner: string;
|
|
4746
4784
|
pageLoader: string;
|
|
4747
4785
|
homeButton: string;
|
|
@@ -4770,6 +4808,7 @@ declare const COMMON_SELECTORS: {
|
|
|
4770
4808
|
pendingTagContainer: string;
|
|
4771
4809
|
nextYearButton: string;
|
|
4772
4810
|
popoverTitle: string;
|
|
4811
|
+
productSwitcherSearchInput: string;
|
|
4773
4812
|
helpPopoverButton: string;
|
|
4774
4813
|
helpPopoverDesc: string;
|
|
4775
4814
|
helpPopoverLinkButton: string;
|
|
@@ -5192,6 +5231,10 @@ declare const NEETO_FILTERS_SELECTORS: {
|
|
|
5192
5231
|
*
|
|
5193
5232
|
* keyboardShortcutPaneCrossIcon: Selector for the keyboard shortcut pane cross icon.
|
|
5194
5233
|
*
|
|
5234
|
+
* statusButton: Selector for the status button.
|
|
5235
|
+
*
|
|
5236
|
+
* communityButton: Selector for the community button.,
|
|
5237
|
+
*
|
|
5195
5238
|
*/
|
|
5196
5239
|
declare const HELP_CENTER_SELECTORS: {
|
|
5197
5240
|
helpButton: string;
|
|
@@ -5203,6 +5246,8 @@ declare const HELP_CENTER_SELECTORS: {
|
|
|
5203
5246
|
whatsNewWidgetCloseButton: string;
|
|
5204
5247
|
keyboardShortcutPaneHeading: string;
|
|
5205
5248
|
keyboardShortcutPaneCrossIcon: string;
|
|
5249
|
+
statusButton: string;
|
|
5250
|
+
communityButton: string;
|
|
5206
5251
|
};
|
|
5207
5252
|
declare const NEETO_IMAGE_UPLOADER_SELECTORS: {
|
|
5208
5253
|
imageUploaderWrapper: string;
|
|
@@ -7086,4 +7131,4 @@ interface Overrides {
|
|
|
7086
7131
|
* @endexample
|
|
7087
7132
|
*/
|
|
7088
7133
|
declare const definePlaywrightConfig: (overrides: Overrides) => _playwright_test.PlaywrightTestConfig<{}, {}>;
|
|
7089
|
-
export { ADMIN_PANEL_SELECTORS, API_KEYS_SELECTORS, API_ROUTES, AUDIT_LOGS_TEXTS, AdminPanelPage, ApiKeysPage, AuditLogsPage, BASE_URL, type BaseThemeStyle, type BaseThemeStyleType, CHANGELOG_WIDGET_SELECTORS, CHAT_WIDGET_SELECTORS, CHAT_WIDGET_TEXTS, COLOR, COMMON_SELECTORS, COMMON_TEXTS, CREDENTIALS, CUSTOM_DOMAIN_SELECTORS, CustomCommands, CustomDomainPage as CustomDomainsPage, type CustomFixture, DATE_PICKER_SELECTORS, DATE_TEXTS, DESCRIPTION_EDITOR_TEXTS, EMBED_SELECTORS, EMOJI_LABEL, EMPTY_STORAGE_STATE, ENGAGE_TEXTS, ENVIRONMENT, EXPANDED_FONT_SIZE, EditorPage, EmbedBase, FONT_SIZE_SELECTORS, GLOBAL_TRANSLATIONS_PATTERN, GOOGLE_CALENDAR_DATE_FORMAT, GOOGLE_LOGIN_SELECTORS, GOOGLE_LOGIN_TEXTS, GooglePage, HELP_CENTER_SELECTORS, HelpAndProfilePage, INTEGRATIONS_TEXTS, INTEGRATION_SELECTORS, IS_STAGING_ENV, ImageUploader, IntegrationBase, type IntroPageThemeStyle, type IntroPageThemeStyleType, KEYBOARD_SHORTCUTS_SELECTORS, LIST_MODIFIER_SELECTORS, LIST_MODIFIER_TAGS, LOGIN_SELECTORS, MEMBER_FORM_SELECTORS, MEMBER_SELECTORS, MEMBER_TEXTS, MERGE_TAGS_SELECTORS, MailerUtils, Member, MemberApis, NEETO_AUTH_BASE_URL, NEETO_EDITOR_SELECTORS, NEETO_FILTERS_SELECTORS, NEETO_IMAGE_UPLOADER_SELECTORS, NEETO_ROUTES, NEETO_TEXT_MODIFIER_SELECTORS, ORGANIZATION_TEXTS, OTP_EMAIL_PATTERN, OrganizationPage, PLURAL, PROFILE_SECTION_SELECTORS, PROJECT_TRANSLATIONS_PATH, ROLES_SELECTORS, ROUTES, RolesPage, SELECT_COUNTRY, SIGNUP_SELECTORS, SINGULAR, SLACK_DATA_QA_SELECTORS, SLACK_DEFAULT_CHANNEL, SLACK_SELECTORS, SLACK_WEB_TEXTS, STORAGE_STATE, SidebarSection, SlackPage, TABLE_SELECTORS, TAB_SELECTORS, TAGS_SELECTORS, TEXT_MODIFIER_ROLES, TEXT_MODIFIER_SELECTORS, TEXT_MODIFIER_TAGS, THANK_YOU_SELECTORS, THEMES_SELECTORS, THIRD_PARTY_ROUTES, TOASTR_MESSAGES, TagsPage, TeamMembers, ThankYouPage, type ThemeCategory, USER_AGENTS, WEBHOOK_SELECTORS, 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, generateRandomFile, generateStagingData, getByDataQA, getClipboardContent, getGlobalUserProps, getGlobalUserState, getImagePathAndName, getListCount, headerUtils, hexToRGB, hexToRGBA, hyphenize, i18nFixture, initializeCredentials, initializeTotp, isGithubIssueOpen, joinHyphenCase, joinString, login, loginWithoutSSO, networkConditions, networkThrottlingUsingCDP, readFileSyncIfExists, removeCredentialFile, serializeFileForBrowser, shouldSkipSetupAndTeardown, simulateClickWithDelay, simulateTypingWithDelay, skipTest, squish, _default as stealthTest, tableUtils, toCamelCase, updateCredentials, writeDataToFile };
|
|
7134
|
+
export { ADMIN_PANEL_SELECTORS, API_KEYS_SELECTORS, API_ROUTES, AUDIT_LOGS_TEXTS, AdminPanelPage, ApiKeysPage, AuditLogsPage, BASE_URL, type BaseThemeStyle, type BaseThemeStyleType, CHANGELOG_WIDGET_SELECTORS, CHAT_WIDGET_SELECTORS, CHAT_WIDGET_TEXTS, COLOR, COMMON_SELECTORS, COMMON_TEXTS, COMMUNITY_TEXTS, CREDENTIALS, CUSTOM_DOMAIN_SELECTORS, CustomCommands, CustomDomainPage as CustomDomainsPage, type CustomFixture, DATE_PICKER_SELECTORS, DATE_TEXTS, DESCRIPTION_EDITOR_TEXTS, EMBED_SELECTORS, EMOJI_LABEL, EMPTY_STORAGE_STATE, ENGAGE_TEXTS, ENVIRONMENT, EXPANDED_FONT_SIZE, EditorPage, EmbedBase, FONT_SIZE_SELECTORS, GLOBAL_TRANSLATIONS_PATTERN, GOOGLE_CALENDAR_DATE_FORMAT, GOOGLE_LOGIN_SELECTORS, GOOGLE_LOGIN_TEXTS, GooglePage, HELP_CENTER_SELECTORS, HelpAndProfilePage, INTEGRATIONS_TEXTS, INTEGRATION_SELECTORS, IS_STAGING_ENV, ImageUploader, IntegrationBase, type IntroPageThemeStyle, type IntroPageThemeStyleType, KEYBOARD_SHORTCUTS_SELECTORS, LIST_MODIFIER_SELECTORS, LIST_MODIFIER_TAGS, LOGIN_SELECTORS, MEMBER_FORM_SELECTORS, MEMBER_SELECTORS, MEMBER_TEXTS, MERGE_TAGS_SELECTORS, MailerUtils, Member, MemberApis, NEETO_AUTH_BASE_URL, NEETO_EDITOR_SELECTORS, NEETO_FILTERS_SELECTORS, NEETO_IMAGE_UPLOADER_SELECTORS, NEETO_ROUTES, NEETO_TEXT_MODIFIER_SELECTORS, ORGANIZATION_TEXTS, OTP_EMAIL_PATTERN, OrganizationPage, PLURAL, PROFILE_LINKS, PROFILE_SECTION_SELECTORS, PROJECT_TRANSLATIONS_PATH, ROLES_SELECTORS, ROUTES, RolesPage, SELECT_COUNTRY, SIGNUP_SELECTORS, SINGULAR, SLACK_DATA_QA_SELECTORS, SLACK_DEFAULT_CHANNEL, SLACK_SELECTORS, SLACK_WEB_TEXTS, STATUS_TEXTS, STORAGE_STATE, SidebarSection, SlackPage, TABLE_SELECTORS, TAB_SELECTORS, TAGS_SELECTORS, TEXT_MODIFIER_ROLES, TEXT_MODIFIER_SELECTORS, TEXT_MODIFIER_TAGS, THANK_YOU_SELECTORS, THEMES_SELECTORS, THIRD_PARTY_ROUTES, TOASTR_MESSAGES, TagsPage, TeamMembers, ThankYouPage, type ThemeCategory, USER_AGENTS, WEBHOOK_SELECTORS, 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, generateRandomFile, generateStagingData, getByDataQA, getClipboardContent, getGlobalUserProps, getGlobalUserState, getImagePathAndName, getListCount, headerUtils, hexToRGB, hexToRGBA, hyphenize, i18nFixture, initializeCredentials, initializeTotp, isGithubIssueOpen, joinHyphenCase, joinString, login, loginWithoutSSO, networkConditions, networkThrottlingUsingCDP, readFileSyncIfExists, removeCredentialFile, serializeFileForBrowser, shouldSkipSetupAndTeardown, simulateClickWithDelay, simulateTypingWithDelay, skipTest, squish, _default as stealthTest, tableUtils, toCamelCase, updateCredentials, writeDataToFile };
|
package/index.js
CHANGED
|
@@ -122,6 +122,7 @@ const COMMON_SELECTORS = {
|
|
|
122
122
|
ticketFieldTextInput: (label) => `${hyphenate(label)}-text-input`,
|
|
123
123
|
appSwitcherButton: "product-switcher-button",
|
|
124
124
|
appSwitcherWrapper: "switcher-wrapper",
|
|
125
|
+
appLink: (appName) => `${appName}-app-link`,
|
|
125
126
|
tableSpinner: ".ant-spin",
|
|
126
127
|
pageLoader: "neeto-molecules-pageloader",
|
|
127
128
|
homeButton: "home-button",
|
|
@@ -150,6 +151,7 @@ const COMMON_SELECTORS = {
|
|
|
150
151
|
pendingTagContainer: "pending-tag-container",
|
|
151
152
|
nextYearButton: "next-year-button",
|
|
152
153
|
popoverTitle: "popover-title",
|
|
154
|
+
productSwitcherSearchInput: "product-switcher-search-input",
|
|
153
155
|
helpPopoverButton: "help-popover-button",
|
|
154
156
|
helpPopoverDesc: "help-popover-description",
|
|
155
157
|
helpPopoverLinkButton: "help-popover-link-button",
|
|
@@ -484,6 +486,8 @@ const HELP_CENTER_SELECTORS = {
|
|
|
484
486
|
whatsNewWidgetCloseButton: ".ne-widget-header__btn",
|
|
485
487
|
keyboardShortcutPaneHeading: "keyboard-shortcuts-pane-title",
|
|
486
488
|
keyboardShortcutPaneCrossIcon: "keyboard-shortcuts-pane-close-button",
|
|
489
|
+
statusButton: "help-link-status-button",
|
|
490
|
+
communityButton: "help-link-community-button",
|
|
487
491
|
};
|
|
488
492
|
|
|
489
493
|
const NEETO_IMAGE_UPLOADER_SELECTORS = {
|
|
@@ -188792,6 +188796,10 @@ const THIRD_PARTY_ROUTES = {
|
|
|
188792
188796
|
const NEETO_ROUTES = {
|
|
188793
188797
|
imageUploader: "/neeto_image_uploader_engine",
|
|
188794
188798
|
};
|
|
188799
|
+
const PROFILE_LINKS = {
|
|
188800
|
+
neetoStatus: "https://neetostatus.com/",
|
|
188801
|
+
neetoCommunity: "https://www.launchpass.com/neetohq",
|
|
188802
|
+
};
|
|
188795
188803
|
|
|
188796
188804
|
const CHAT_WIDGET_TEXTS = {
|
|
188797
188805
|
newConversation: "Ask a question",
|
|
@@ -188883,6 +188891,10 @@ const GOOGLE_LOGIN_TEXTS = {
|
|
|
188883
188891
|
neetoAutomation: "neeto.automation",
|
|
188884
188892
|
};
|
|
188885
188893
|
const ENGAGE_TEXTS = { subscribe: "Subscribe" };
|
|
188894
|
+
const COMMUNITY_TEXTS = { joinNow: "Join Now" };
|
|
188895
|
+
const STATUS_TEXTS = {
|
|
188896
|
+
application: (appName) => `Neeto${appName} Application`,
|
|
188897
|
+
};
|
|
188886
188898
|
const AUDIT_LOGS_TEXTS = { organizationRole: "Organization Role" };
|
|
188887
188899
|
const COMMON_TEXTS = {
|
|
188888
188900
|
skipCleanup: "SKIP_CLEANUP",
|
|
@@ -188893,7 +188905,6 @@ const ORGANIZATION_TEXTS = {
|
|
|
188893
188905
|
};
|
|
188894
188906
|
|
|
188895
188907
|
/* eslint-disable playwright/require-top-level-describe */
|
|
188896
|
-
/* eslint-disable playwright/no-standalone-expect */
|
|
188897
188908
|
class HelpAndProfilePage {
|
|
188898
188909
|
constructor({ page, neetoPlaywrightUtilities, chatApiBaseURL, kbDocsBaseURL, changelogBaseURL, }) {
|
|
188899
188910
|
this.hoverOnBody = () => this.page.locator("body").hover();
|
|
@@ -189026,11 +189037,32 @@ class HelpAndProfilePage {
|
|
|
189026
189037
|
});
|
|
189027
189038
|
};
|
|
189028
189039
|
this.openAppSwitcherAndVerifyV2 = async () => {
|
|
189040
|
+
const productName = "Playdash";
|
|
189041
|
+
const searchQueryPartial = productName.slice(0, 4).toLowerCase();
|
|
189042
|
+
const searchQueryFull = productName.toLowerCase();
|
|
189029
189043
|
await test$2.step("Step 1: Verify hovering over app switcher opens the app switcher drawer", () => expect(async () => {
|
|
189030
189044
|
await this.openHelpCenterV2();
|
|
189031
189045
|
await this.page.getByTestId(COMMON_SELECTORS.appSwitcherButton).hover();
|
|
189032
189046
|
await expect(this.page.getByTestId(COMMON_SELECTORS.appSwitcherWrapper)).toBeVisible();
|
|
189033
189047
|
}).toPass({ timeout: 45000 }));
|
|
189048
|
+
await test$2.step("Step 2: Verify search functionality", async () => {
|
|
189049
|
+
const playdashAppLink = this.page.getByTestId(COMMON_SELECTORS.appLink(productName));
|
|
189050
|
+
const replayAppLink = this.page.getByTestId(COMMON_SELECTORS.appLink("Replay"));
|
|
189051
|
+
const searchInput = this.page.getByTestId(COMMON_SELECTORS.productSwitcherSearchInput);
|
|
189052
|
+
await searchInput.fill(faker.word.words(3));
|
|
189053
|
+
//TODO: Use data-cy label when this https://github.com/bigbinary/neeto-molecules/issues/2114 is resolved
|
|
189054
|
+
await expect(this.page.getByText(this.t("neetoMolecules.productSwitcher.noApps"))).toBeVisible();
|
|
189055
|
+
await searchInput.fill(searchQueryPartial);
|
|
189056
|
+
await Promise.all([
|
|
189057
|
+
expect(playdashAppLink).toBeVisible(),
|
|
189058
|
+
expect(replayAppLink).toBeVisible(),
|
|
189059
|
+
]);
|
|
189060
|
+
await searchInput.fill(searchQueryFull);
|
|
189061
|
+
await Promise.all([
|
|
189062
|
+
expect(playdashAppLink).toBeVisible(),
|
|
189063
|
+
expect(replayAppLink).toBeHidden(),
|
|
189064
|
+
]);
|
|
189065
|
+
});
|
|
189034
189066
|
};
|
|
189035
189067
|
this.openAuthLinkAndVerify = async ({ linkSelector, redirectLink, }) => {
|
|
189036
189068
|
var _a, _b;
|
|
@@ -189119,6 +189151,36 @@ class HelpAndProfilePage {
|
|
|
189119
189151
|
await expect(this.page).toHaveURL(new RegExp(ROUTES.dashboard));
|
|
189120
189152
|
});
|
|
189121
189153
|
};
|
|
189154
|
+
this.openAndVerifyStatus = async (appName) => {
|
|
189155
|
+
await test$2.step("Step 1: Open Help Center links", this.openHelpCenterV2);
|
|
189156
|
+
await test$2.step("Step 2: Open and verify status page", async () => {
|
|
189157
|
+
const statusPagePromise = this.page.waitForEvent("popup");
|
|
189158
|
+
await this.page.getByTestId(HELP_CENTER_SELECTORS.statusButton).click();
|
|
189159
|
+
const statusPage = await statusPagePromise;
|
|
189160
|
+
await statusPage.waitForLoadState();
|
|
189161
|
+
await Promise.all([
|
|
189162
|
+
expect(statusPage).toHaveURL(PROFILE_LINKS.neetoStatus),
|
|
189163
|
+
expect(statusPage.getByText(STATUS_TEXTS.application(appName), {
|
|
189164
|
+
exact: true,
|
|
189165
|
+
})).toBeVisible(),
|
|
189166
|
+
]);
|
|
189167
|
+
});
|
|
189168
|
+
};
|
|
189169
|
+
this.openAndVerifyCommunity = async () => {
|
|
189170
|
+
await test$2.step("Step 1: Open Help Center links", this.openHelpCenterV2);
|
|
189171
|
+
await test$2.step("Step 2: Open and verify community", async () => {
|
|
189172
|
+
const communityPagePromise = this.page.waitForEvent("popup");
|
|
189173
|
+
await this.page
|
|
189174
|
+
.getByTestId(HELP_CENTER_SELECTORS.communityButton)
|
|
189175
|
+
.click();
|
|
189176
|
+
const communityPage = await communityPagePromise;
|
|
189177
|
+
await communityPage.waitForLoadState();
|
|
189178
|
+
await Promise.all([
|
|
189179
|
+
expect(communityPage).toHaveURL(PROFILE_LINKS.neetoCommunity),
|
|
189180
|
+
expect(communityPage.getByRole("button", { name: COMMUNITY_TEXTS.joinNow })).toBeVisible(),
|
|
189181
|
+
]);
|
|
189182
|
+
});
|
|
189183
|
+
};
|
|
189122
189184
|
this.page = page;
|
|
189123
189185
|
this.neetoPlaywrightUtilities = neetoPlaywrightUtilities;
|
|
189124
189186
|
this.chatApiBaseURL = chatApiBaseURL;
|
|
@@ -195037,5 +195099,5 @@ const definePlaywrightConfig = (overrides) => {
|
|
|
195037
195099
|
});
|
|
195038
195100
|
};
|
|
195039
195101
|
|
|
195040
|
-
export { ADMIN_PANEL_SELECTORS, API_KEYS_SELECTORS, API_ROUTES, AUDIT_LOGS_TEXTS, AdminPanelPage, ApiKeysPage, AuditLogsPage, BASE_URL, CHANGELOG_WIDGET_SELECTORS, CHAT_WIDGET_SELECTORS, CHAT_WIDGET_TEXTS, COLOR, COMMON_SELECTORS, COMMON_TEXTS, CREDENTIALS, CUSTOM_DOMAIN_SELECTORS, CustomCommands, CustomDomainPage as CustomDomainsPage, DATE_PICKER_SELECTORS, DATE_TEXTS, DESCRIPTION_EDITOR_TEXTS, EMBED_SELECTORS, EMOJI_LABEL, EMPTY_STORAGE_STATE, ENGAGE_TEXTS, ENVIRONMENT, EXPANDED_FONT_SIZE, EditorPage, EmbedBase, FONT_SIZE_SELECTORS, GLOBAL_TRANSLATIONS_PATTERN, GOOGLE_CALENDAR_DATE_FORMAT, GOOGLE_LOGIN_SELECTORS, GOOGLE_LOGIN_TEXTS, GooglePage, 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, MailerUtils, Member, MemberApis$1 as MemberApis, NEETO_AUTH_BASE_URL, NEETO_EDITOR_SELECTORS, NEETO_FILTERS_SELECTORS, NEETO_IMAGE_UPLOADER_SELECTORS, NEETO_ROUTES, NEETO_TEXT_MODIFIER_SELECTORS, ORGANIZATION_TEXTS, OTP_EMAIL_PATTERN, OrganizationPage, PLURAL, PROFILE_SECTION_SELECTORS, PROJECT_TRANSLATIONS_PATH, ROLES_SELECTORS, ROUTES, RolesPage, SELECT_COUNTRY, SIGNUP_SELECTORS, SINGULAR, SLACK_DATA_QA_SELECTORS, SLACK_DEFAULT_CHANNEL, SLACK_SELECTORS, SLACK_WEB_TEXTS, STORAGE_STATE, SidebarSection, SlackPage, TABLE_SELECTORS, TAB_SELECTORS, TAGS_SELECTORS, TEXT_MODIFIER_ROLES, TEXT_MODIFIER_SELECTORS, TEXT_MODIFIER_TAGS, THANK_YOU_SELECTORS, THEMES_SELECTORS, THIRD_PARTY_ROUTES, TOASTR_MESSAGES, TagsPage, TeamMembers, ThankYouPage, USER_AGENTS, WEBHOOK_SELECTORS, 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, generateRandomFile, generateStagingData, getByDataQA, getClipboardContent, getGlobalUserProps, getGlobalUserState, getImagePathAndName, getListCount, headerUtils, hexToRGB, hexToRGBA, hyphenize, i18nFixture, initializeCredentials, initializeTotp, isGithubIssueOpen, joinHyphenCase, joinString, login, loginWithoutSSO, networkConditions, networkThrottlingUsingCDP, readFileSyncIfExists, removeCredentialFile, serializeFileForBrowser, shouldSkipSetupAndTeardown, simulateClickWithDelay, simulateTypingWithDelay, skipTest, squish, stealth as stealthTest, tableUtils, toCamelCase, updateCredentials, writeDataToFile };
|
|
195102
|
+
export { ADMIN_PANEL_SELECTORS, API_KEYS_SELECTORS, API_ROUTES, AUDIT_LOGS_TEXTS, AdminPanelPage, ApiKeysPage, AuditLogsPage, BASE_URL, CHANGELOG_WIDGET_SELECTORS, CHAT_WIDGET_SELECTORS, CHAT_WIDGET_TEXTS, COLOR, COMMON_SELECTORS, COMMON_TEXTS, COMMUNITY_TEXTS, CREDENTIALS, CUSTOM_DOMAIN_SELECTORS, CustomCommands, CustomDomainPage as CustomDomainsPage, DATE_PICKER_SELECTORS, DATE_TEXTS, DESCRIPTION_EDITOR_TEXTS, EMBED_SELECTORS, EMOJI_LABEL, EMPTY_STORAGE_STATE, ENGAGE_TEXTS, ENVIRONMENT, EXPANDED_FONT_SIZE, EditorPage, EmbedBase, FONT_SIZE_SELECTORS, GLOBAL_TRANSLATIONS_PATTERN, GOOGLE_CALENDAR_DATE_FORMAT, GOOGLE_LOGIN_SELECTORS, GOOGLE_LOGIN_TEXTS, GooglePage, 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, MailerUtils, Member, MemberApis$1 as MemberApis, NEETO_AUTH_BASE_URL, NEETO_EDITOR_SELECTORS, NEETO_FILTERS_SELECTORS, NEETO_IMAGE_UPLOADER_SELECTORS, NEETO_ROUTES, NEETO_TEXT_MODIFIER_SELECTORS, ORGANIZATION_TEXTS, OTP_EMAIL_PATTERN, OrganizationPage, PLURAL, PROFILE_LINKS, PROFILE_SECTION_SELECTORS, PROJECT_TRANSLATIONS_PATH, ROLES_SELECTORS, ROUTES, RolesPage, SELECT_COUNTRY, SIGNUP_SELECTORS, SINGULAR, SLACK_DATA_QA_SELECTORS, SLACK_DEFAULT_CHANNEL, SLACK_SELECTORS, SLACK_WEB_TEXTS, STATUS_TEXTS, STORAGE_STATE, SidebarSection, SlackPage, TABLE_SELECTORS, TAB_SELECTORS, TAGS_SELECTORS, TEXT_MODIFIER_ROLES, TEXT_MODIFIER_SELECTORS, TEXT_MODIFIER_TAGS, THANK_YOU_SELECTORS, THEMES_SELECTORS, THIRD_PARTY_ROUTES, TOASTR_MESSAGES, TagsPage, TeamMembers, ThankYouPage, USER_AGENTS, WEBHOOK_SELECTORS, 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, generateRandomFile, generateStagingData, getByDataQA, getClipboardContent, getGlobalUserProps, getGlobalUserState, getImagePathAndName, getListCount, headerUtils, hexToRGB, hexToRGBA, hyphenize, i18nFixture, initializeCredentials, initializeTotp, isGithubIssueOpen, joinHyphenCase, joinString, login, loginWithoutSSO, networkConditions, networkThrottlingUsingCDP, readFileSyncIfExists, removeCredentialFile, serializeFileForBrowser, shouldSkipSetupAndTeardown, simulateClickWithDelay, simulateTypingWithDelay, skipTest, squish, stealth as stealthTest, tableUtils, toCamelCase, updateCredentials, writeDataToFile };
|
|
195041
195103
|
//# sourceMappingURL=index.js.map
|