@bigbinary/neeto-playwright-commons 1.8.28 → 1.8.30
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 +1526 -1
- package/index.cjs.js.map +1 -1
- package/index.d.ts +13 -1
- package/index.js +1526 -3
- package/index.js.map +1 -1
- package/package.json +2 -1
package/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ import MailosaurClient from 'mailosaur';
|
|
|
4
4
|
import { I18nPlaywrightFixture } from 'playwright-i18next-fixture';
|
|
5
5
|
import { TFunction } from 'i18next';
|
|
6
6
|
import * as playwright_core from 'playwright-core';
|
|
7
|
+
import { Secret, TOTP } from 'otpauth';
|
|
7
8
|
|
|
8
9
|
interface InterceptMultipleResponsesParams {
|
|
9
10
|
responseUrl: string;
|
|
@@ -507,6 +508,7 @@ declare const SIGNUP_SELECTORS: {
|
|
|
507
508
|
subdomainNameTextField: string;
|
|
508
509
|
subdomainError: string;
|
|
509
510
|
tryFreeButton: string;
|
|
511
|
+
unregisterdEmailError: string;
|
|
510
512
|
};
|
|
511
513
|
|
|
512
514
|
declare const TAGS_SELECTORS: {
|
|
@@ -631,8 +633,13 @@ declare const skipTest: {
|
|
|
631
633
|
forReviewEnv: () => void;
|
|
632
634
|
forAllExceptStagingEnv: () => void;
|
|
633
635
|
forNonNightlyRun: () => void;
|
|
636
|
+
ifNotWithinAllowedNightlyHours: ({ reason, allowedNightlyRunHours, }: {
|
|
637
|
+
reason: string;
|
|
638
|
+
allowedNightlyRunHours?: number[] | undefined;
|
|
639
|
+
}) => void;
|
|
634
640
|
};
|
|
635
641
|
declare const shouldSkipSetupAndTeardown: () => boolean | "";
|
|
642
|
+
declare const squish: (text: string) => string;
|
|
636
643
|
|
|
637
644
|
interface LoginProps {
|
|
638
645
|
page: Page;
|
|
@@ -701,6 +708,11 @@ declare const headerUtils: {
|
|
|
701
708
|
verifyBreadcrumbs: ({ page, titlesAndRoutes, }: VerifyBreadcrumbProps) => Promise<void>;
|
|
702
709
|
};
|
|
703
710
|
|
|
711
|
+
declare const initializeTotp: ({ issuer, secret, }: {
|
|
712
|
+
issuer: string;
|
|
713
|
+
secret: string | Secret;
|
|
714
|
+
}) => TOTP;
|
|
715
|
+
|
|
704
716
|
interface CurrentsOverrides {
|
|
705
717
|
projectId: string;
|
|
706
718
|
}
|
|
@@ -713,4 +725,4 @@ interface Overrides {
|
|
|
713
725
|
}
|
|
714
726
|
declare const definePlaywrightConfig: (overrides: Overrides) => _playwright_test.PlaywrightTestConfig<{}, {}>;
|
|
715
727
|
|
|
716
|
-
export { API_ROUTES, BASE_URL, CHANGELOG_WIDGET_SELECTORS, CHAT_WIDGET_SELECTORS, CHAT_WIDGET_TEXTS, COMMON_SELECTORS, CREDENTIALS, CustomCommands, type CustomFixture, ENVIRONMENT, GLOBAL_TRANSLATIONS_PATTERN, HELP_CENTER_SELECTORS, HelpAndProfilePage, INTEGRATIONS_TEXTS, INTEGRATION_SELECTORS, IS_STAGING_ENV, IntegrationBase, KEYBOARD_SHORTCUTS_SELECTORS, LOGIN_SELECTORS, MEMBER_FORM_SELECTORS, MEMBER_SELECTORS, MEMBER_TEXTS, MERGE_TAGS_SELECTORS, MailosaurUtils, NEETO_AUTH_BASE_URL, NEETO_EDITOR_SELECTORS, NEETO_FILTERS_SELECTORS, OTP_EMAIL_PATTERN, OrganizationPage, PROFILE_SECTION_SELECTORS, PROJECT_TRANSLATIONS_PATH, ROLES_SELECTORS, ROUTES, SIGNUP_SELECTORS, SLACK_DEFAULT_CHANNEL, SLACK_SELECTORS, SLACK_WEB_TEXTS, STORAGE_STATE, SlackPage, TAGS_SELECTORS, THIRD_PARTY_ROUTES, USER_AGENTS, WebhooksPage, clearCredentials, commands, definePlaywrightConfig, extractSubdomainFromError, generateStagingData, getGlobalUserState, headerUtils, hyphenize, i18nFixture, initializeCredentials, joinHyphenCase, joinString, login, loginWithoutSSO, memberUtils, readFileSyncIfExists, removeCredentialFile, shouldSkipSetupAndTeardown, skipTest, _default as stealthTest, tableUtils, updateCredentials, writeDataToFile };
|
|
728
|
+
export { API_ROUTES, BASE_URL, CHANGELOG_WIDGET_SELECTORS, CHAT_WIDGET_SELECTORS, CHAT_WIDGET_TEXTS, COMMON_SELECTORS, CREDENTIALS, CustomCommands, type CustomFixture, ENVIRONMENT, GLOBAL_TRANSLATIONS_PATTERN, HELP_CENTER_SELECTORS, HelpAndProfilePage, INTEGRATIONS_TEXTS, INTEGRATION_SELECTORS, IS_STAGING_ENV, IntegrationBase, KEYBOARD_SHORTCUTS_SELECTORS, LOGIN_SELECTORS, MEMBER_FORM_SELECTORS, MEMBER_SELECTORS, MEMBER_TEXTS, MERGE_TAGS_SELECTORS, MailosaurUtils, NEETO_AUTH_BASE_URL, NEETO_EDITOR_SELECTORS, NEETO_FILTERS_SELECTORS, OTP_EMAIL_PATTERN, OrganizationPage, PROFILE_SECTION_SELECTORS, PROJECT_TRANSLATIONS_PATH, ROLES_SELECTORS, ROUTES, SIGNUP_SELECTORS, SLACK_DEFAULT_CHANNEL, SLACK_SELECTORS, SLACK_WEB_TEXTS, STORAGE_STATE, SlackPage, TAGS_SELECTORS, THIRD_PARTY_ROUTES, USER_AGENTS, WebhooksPage, clearCredentials, commands, definePlaywrightConfig, extractSubdomainFromError, generateStagingData, getGlobalUserState, headerUtils, hyphenize, i18nFixture, initializeCredentials, initializeTotp, joinHyphenCase, joinString, login, loginWithoutSSO, memberUtils, readFileSyncIfExists, removeCredentialFile, shouldSkipSetupAndTeardown, skipTest, squish, _default as stealthTest, tableUtils, updateCredentials, writeDataToFile };
|