@bigbinary/neeto-playwright-commons 3.3.12 → 4.0.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/README.md CHANGED
@@ -123,6 +123,9 @@ You can import the utility functions and constants from the
123
123
  import { COMMON_SELECTORS } from "@bigbinary/neeto-playwright-common";
124
124
  ```
125
125
 
126
+ This package is published as ESM-only. Use `import` syntax and avoid
127
+ CommonJS `require()` for package consumption.
128
+
126
129
  ## Exported Functions
127
130
 
128
131
  - [Common default configurations](./docs/default-configurations.md)
package/index.d.ts CHANGED
@@ -870,7 +870,7 @@ declare class RoleApis {
870
870
  *
871
871
  * @example
872
872
  *
873
- * import { BASE_URL } from "@bigbinary/neeto-playwright-commons";
873
+ * import { BASE_URL } from "@neetoplaywright";
874
874
  * @endexample
875
875
  */
876
876
  private readonly BASE_URL;
@@ -1832,7 +1832,7 @@ declare class MailerUtils {
1832
1832
  *
1833
1833
  * @example
1834
1834
  *
1835
- * import { decodeQRCodeFromFile } from "@bigbinary/neeto-playwright-commons";
1835
+ * import { decodeQRCodeFromFile } from "@neetoplaywright";
1836
1836
  *
1837
1837
  * const filePath = "path/to/qrCodeImage.png";
1838
1838
  *
@@ -1855,7 +1855,7 @@ declare class QRCodeUtils {
1855
1855
  *
1856
1856
  * @example
1857
1857
  *
1858
- * import { decodeQRCodeFromFile } from "@bigbinary/neeto-playwright-commons";
1858
+ * import { decodeQRCodeFromFile } from "@neetoplaywright";
1859
1859
  *
1860
1860
  * const filePath = "path/to/qrCodeImage.png";
1861
1861
  *
@@ -1892,7 +1892,7 @@ type ThemeCategory = "base" | "intro";
1892
1892
  *
1893
1893
  * @example
1894
1894
  *
1895
- * import { hexToRGBA } from "@bigbinary/neeto-playwright-commons";
1895
+ * import { hexToRGBA } from "@neetoplaywright";
1896
1896
  *
1897
1897
  * // Convert hexadecimal color code to RGB
1898
1898
  * const rgbaColor = hexToRGBA("#ffffff29");
@@ -1916,7 +1916,7 @@ declare class ColorPickerUtils {
1916
1916
  *
1917
1917
  * @example
1918
1918
  *
1919
- * import { hexToRGBA } from "@bigbinary/neeto-playwright-commons";
1919
+ * import { hexToRGBA } from "@neetoplaywright";
1920
1920
  *
1921
1921
  * // Convert hexadecimal color code to RGB
1922
1922
  * const rgbaColor = hexToRGBA("#ffffff29");
@@ -1950,7 +1950,7 @@ declare const commands: Commands;
1950
1950
  *
1951
1951
  * @example
1952
1952
  *
1953
- * import { generateStagingData } from "@bigbinary/neeto-playwright-commons";
1953
+ * import { generateStagingData } from "@neetoplaywright";
1954
1954
  *
1955
1955
  * // Generate staging data for the default product ("invoice")
1956
1956
  * const stagingData = generateStagingData();
@@ -1981,6 +1981,24 @@ declare const generateStagingData: (product?: string) => {
1981
1981
  subdomainName: string;
1982
1982
  email: string;
1983
1983
  };
1984
+ /**
1985
+ *
1986
+ * Determines whether a staging organization has expired by parsing the creation timestamp encoded in its subdomain. Staging organizations are automatically deleted after 3 days of creation, so this is used to drop a stale user.json before reusing a stored session, without making any network request.
1987
+ *
1988
+ * subdomainName (optional): The subdomain of the stored organization, e.g. cpt-cal-3005-1338-45286-4.
1989
+ *
1990
+ * true when the subdomain starts with cpt and its encoded creation date is at least as old as the configured TTL, otherwise false (including for subdomains that are not generated by generateStagingData).
1991
+ *
1992
+ * The TTL defaults to 3 days and can be overridden with the STAGING_ORGANIZATION_TTL_IN_DAYS environment variable to match the staging deletion window.
1993
+ *
1994
+ * @example
1995
+ *
1996
+ * import { isStagingOrganizationExpired } from "@neetoplaywright";
1997
+ *
1998
+ * isStagingOrganizationExpired("cpt-cal-3005-1338-45286-4");
1999
+ * @endexample
2000
+ */
2001
+ declare const isStagingOrganizationExpired: (subdomainName?: string) => boolean;
1984
2002
  declare const _default: _playwright_test.TestType<_playwright_test.PlaywrightTestArgs & _playwright_test.PlaywrightTestOptions & Browser, _playwright_test.PlaywrightWorkerArgs & _playwright_test.PlaywrightWorkerOptions>;
1985
2003
  declare const i18nFixture: Fixtures<PlaywrightTestArgs & PlaywrightTestOptions, I18nPlaywrightFixture, PlaywrightTestArgs & PlaywrightTestOptions, PlaywrightWorkerArgs & PlaywrightWorkerOptions>;
1986
2004
  declare class ThankYouPage {
@@ -2292,10 +2310,6 @@ interface HelpAndProfilePageInitializerProps {
2292
2310
  neetoPlaywrightUtilities: CustomCommands;
2293
2311
  product: NeetoProducts;
2294
2312
  }
2295
- interface UpdateProfileProps {
2296
- firstName: string;
2297
- lastName?: string;
2298
- }
2299
2313
  interface FillTextFieldsProps {
2300
2314
  firstName: string;
2301
2315
  lastName: string;
@@ -2594,13 +2608,6 @@ declare class HelpAndProfilePage {
2594
2608
  * @endexample
2595
2609
  */
2596
2610
  verifyThemeSwitcher: (expectedScreenshot: string) => Promise<void>;
2597
- /**
2598
- * @deprecated This method is deprecated. Use updateBasicInfo instead.
2599
- */
2600
- updateProfile: ({
2601
- firstName,
2602
- lastName
2603
- }: UpdateProfileProps) => Promise<void>;
2604
2611
  }
2605
2612
  type IntegrationStatus = "connected" | "disconnected";
2606
2613
  type PartialInterceptMultipleResponsesParams = Partial<InterceptMultipleResponsesParams>;
@@ -2822,7 +2829,7 @@ declare class GooglePage extends IntegrationBase {
2822
2829
  *
2823
2830
  * @example
2824
2831
  *
2825
- * import { initializeTotp } from "@bigbinary/neeto-playwright-commons";
2832
+ * import { initializeTotp } from "@neetoplaywright";
2826
2833
  *
2827
2834
  * // Initialize TOTP with issuer and secret
2828
2835
  * const issuer = "MyApp";
@@ -3101,13 +3108,6 @@ declare class SlackPage extends IntegrationBase {
3101
3108
  channelName,
3102
3109
  kind
3103
3110
  }: CreateNewSlackChannelParams) => Promise<void>;
3104
- /**
3105
- * @deprecated Use {@link SlackPage.archiveChannelViaAPI} instead. This flow
3106
- * drives the Slack web UI to permanently delete a channel and is brittle;
3107
- * `archiveChannelViaAPI` archives via the Slack Web API (requires
3108
- * `SLACK_BOT_TOKEN`).
3109
- */
3110
- deleteSlackChannel: (channel: string) => Promise<void>;
3111
3111
  /**
3112
3112
  *
3113
3113
  * Archives a Slack channel by name using the Slack Web API (conversations.list then conversations.archive). Requires SLACK_BOT_TOKEN with scopes that allow listing and archiving channels. Does not drive the Slack web UI; use when tests only need the channel removed or archived on the workspace.
@@ -5601,7 +5601,7 @@ declare const USER_AGENTS: {
5601
5601
  *
5602
5602
  * @example
5603
5603
  *
5604
- * import { BASE_URL } from "@bigbinary/neeto-playwright-commons";
5604
+ * import { BASE_URL } from "@neetoplaywright";
5605
5605
  * @endexample
5606
5606
  */
5607
5607
  declare const BASE_URL = "/api/v1";
@@ -5612,7 +5612,7 @@ declare const NEETO_AUTH_BASE_URL: (subdomain?: string) => string;
5612
5612
  *
5613
5613
  * @example
5614
5614
  *
5615
- * import { ROUTES } from "@bigbinary/neeto-playwright-commons";
5615
+ * import { ROUTES } from "@neetoplaywright";
5616
5616
  * @endexample
5617
5617
  * neetoAuthSignup: URL for Neeto Auth signup page.
5618
5618
  *
@@ -5696,7 +5696,7 @@ declare const ROUTES: {
5696
5696
  *
5697
5697
  * @example
5698
5698
  *
5699
- * import { API_ROUTES } from "@bigbinary/neeto-playwright-commons";
5699
+ * import { API_ROUTES } from "@neetoplaywright";
5700
5700
  * @endexample
5701
5701
  * teamMembers: Object containing URLs related to team members (similar structure to ROUTES).
5702
5702
  *
@@ -5727,7 +5727,7 @@ declare const API_ROUTES: {
5727
5727
  *
5728
5728
  * @example
5729
5729
  *
5730
- * import { THIRD_PARTY_ROUTES } from "@bigbinary/neeto-playwright-commons";
5730
+ * import { THIRD_PARTY_ROUTES } from "@neetoplaywright";
5731
5731
  * @endexample
5732
5732
  * webhooks: Object containing URLs for webhook services.
5733
5733
  *
@@ -6186,7 +6186,7 @@ declare const PHONE_NUMBER_FORMATS: {
6186
6186
  *
6187
6187
  * @example
6188
6188
  *
6189
- * import { COMMON_SELECTORS } from "@bigbinary/neeto-playwright-commons";
6189
+ * import { COMMON_SELECTORS } from "@neetoplaywright";
6190
6190
  * @endexample
6191
6191
  * emailInputError: Selector for email input error.
6192
6192
  *
@@ -6598,7 +6598,7 @@ declare const COMMON_SELECTORS: {
6598
6598
  *
6599
6599
  * @example
6600
6600
  *
6601
- * import { THANK_YOU_SELECTORS } from "@bigbinary/neeto-playwright-commons";
6601
+ * import { THANK_YOU_SELECTORS } from "@neetoplaywright";
6602
6602
  * @endexample
6603
6603
  * settingsLink: Selector for the settings link.
6604
6604
  *
@@ -6655,7 +6655,7 @@ declare const THANK_YOU_SELECTORS: {
6655
6655
  *
6656
6656
  * @example
6657
6657
  *
6658
- * import { NEETO_EDITOR_SELECTORS } from "@bigbinary/neeto-playwright-commons";
6658
+ * import { NEETO_EDITOR_SELECTORS } from "@neetoplaywright";
6659
6659
  * @endexample
6660
6660
  * boldOption: Selector for the bold option.
6661
6661
  *
@@ -6824,7 +6824,7 @@ declare const FONT_SIZE_SELECTORS: {
6824
6824
  *
6825
6825
  * @example
6826
6826
  *
6827
- * import { EMBED_SELECTORS } from "@bigbinary/neeto-playwright-commons";
6827
+ * import { EMBED_SELECTORS } from "@neetoplaywright";
6828
6828
  * @endexample
6829
6829
  * iframe(appName: string): Method that generates a selector for the iframe based on the app name.
6830
6830
  *
@@ -6904,7 +6904,7 @@ declare const EMBED_SELECTORS: {
6904
6904
  *
6905
6905
  * @example
6906
6906
  *
6907
- * import { NEETO_FILTERS_SELECTORS } from "@bigbinary/neeto-playwright-commons";
6907
+ * import { NEETO_FILTERS_SELECTORS } from "@neetoplaywright";
6908
6908
  * @endexample
6909
6909
  * emailSelectContainer: Selector for the email select container wrapper.
6910
6910
  *
@@ -6982,7 +6982,7 @@ declare const NEETO_FILTERS_SELECTORS: {
6982
6982
  *
6983
6983
  * @example
6984
6984
  *
6985
- * import { HELP_CENTER_SELECTORS } from "@bigbinary/neeto-playwright-commons";
6985
+ * import { HELP_CENTER_SELECTORS } from "@neetoplaywright";
6986
6986
  * @endexample
6987
6987
  * helpButton: Selector for the help button.
6988
6988
  *
@@ -7056,7 +7056,7 @@ declare const NEETO_IMAGE_UPLOADER_SELECTORS: {
7056
7056
  *
7057
7057
  * @example
7058
7058
  *
7059
- * import { LOGIN_SELECTORS } from "@bigbinary/neeto-playwright-commons";
7059
+ * import { LOGIN_SELECTORS } from "@neetoplaywright";
7060
7060
  * @endexample
7061
7061
  * appleAuthenticationButton: Selector for the Apple authentication button.
7062
7062
  *
@@ -7097,7 +7097,7 @@ declare const LOGIN_SELECTORS: {
7097
7097
  *
7098
7098
  * @example
7099
7099
  *
7100
- * import { MEMBER_SELECTORS } from "@bigbinary/neeto-playwright-commons";
7100
+ * import { MEMBER_SELECTORS } from "@neetoplaywright";
7101
7101
  * @endexample
7102
7102
  * membersTab: Selector for the members tab.
7103
7103
  *
@@ -7193,7 +7193,7 @@ declare const MEMBER_SELECTORS: {
7193
7193
  *
7194
7194
  * @example
7195
7195
  *
7196
- * import { MEMBER_FORM_SELECTORS } from "@bigbinary/neeto-playwright-commons";
7196
+ * import { MEMBER_FORM_SELECTORS } from "@neetoplaywright";
7197
7197
  * @endexample
7198
7198
  * emailTextField: Selector for the email text field in the member form.
7199
7199
  *
@@ -7222,7 +7222,7 @@ declare const MEMBER_FORM_SELECTORS: {
7222
7222
  *
7223
7223
  * @example
7224
7224
  *
7225
- * import { PROFILE_SECTION_SELECTORS } from "@bigbinary/neeto-playwright-commons";
7225
+ * import { PROFILE_SECTION_SELECTORS } from "@neetoplaywright";
7226
7226
  * @endexample
7227
7227
  * profileSectionButton: Selector for the profile section button.
7228
7228
  *
@@ -7295,7 +7295,7 @@ declare const PROFILE_SECTION_SELECTORS: {
7295
7295
  *
7296
7296
  * import {
7297
7297
  * ROLES_SELECTORS
7298
- * } from "@bigbinary/neeto-playwright-commons";
7298
+ * } from "@neetoplaywright";
7299
7299
  *
7300
7300
  * @endexample
7301
7301
  * newButton: Selector for the "New" button to add a new role.
@@ -7371,7 +7371,7 @@ declare const ROLES_SELECTORS: {
7371
7371
  *
7372
7372
  * @example
7373
7373
  *
7374
- * import { SIGNUP_SELECTORS } from "@bigbinary/neeto-playwright-commons";
7374
+ * import { SIGNUP_SELECTORS } from "@neetoplaywright";
7375
7375
  * @endexample
7376
7376
  * Selectors for signup components.
7377
7377
  *
@@ -7425,7 +7425,7 @@ declare const SIGNUP_SELECTORS: {
7425
7425
  *
7426
7426
  * @example
7427
7427
  *
7428
- * import { TAB_SELECTORS } from "@bigbinary/neeto-playwright-commons";
7428
+ * import { TAB_SELECTORS } from "@neetoplaywright";
7429
7429
  * @endexample
7430
7430
  * configureTab: Selector for the configure tab.
7431
7431
  *
@@ -7457,7 +7457,7 @@ declare const TAB_SELECTORS: {
7457
7457
  *
7458
7458
  * @example
7459
7459
  *
7460
- * import { TAGS_SELECTORS } from "@bigbinary/neeto-playwright-commons";
7460
+ * import { TAGS_SELECTORS } from "@neetoplaywright";
7461
7461
  * @endexample
7462
7462
  * newTagButton: Selector for the "New Tag" button.
7463
7463
  *
@@ -7513,7 +7513,7 @@ declare const TAGS_SELECTORS: {
7513
7513
  *
7514
7514
  * @example
7515
7515
  *
7516
- * import { MERGE_TAGS_SELECTORS } from "@bigbinary/neeto-playwright-commons";
7516
+ * import { MERGE_TAGS_SELECTORS } from "@neetoplaywright";
7517
7517
  * @endexample
7518
7518
  * mergeTagsButton: Selector for the "Merge Tags" button.
7519
7519
  *
@@ -7553,7 +7553,7 @@ declare const MERGE_TAGS_SELECTORS: {
7553
7553
  *
7554
7554
  * @example
7555
7555
  *
7556
- * import { CHAT_WIDGET_SELECTORS } from "@bigbinary/neeto-playwright-commons";
7556
+ * import { CHAT_WIDGET_SELECTORS } from "@neetoplaywright";
7557
7557
  * @endexample
7558
7558
  * iframe: Selector for the chat widget iframe.
7559
7559
  *
@@ -7592,7 +7592,7 @@ declare const CHAT_WIDGET_SELECTORS: {
7592
7592
  *
7593
7593
  * @example
7594
7594
  *
7595
- * import { CHANGELOG_WIDGET_SELECTORS } from "@bigbinary/neeto-playwright-commons";
7595
+ * import { CHANGELOG_WIDGET_SELECTORS } from "@neetoplaywright";
7596
7596
  * @endexample
7597
7597
  * Selectors for the changelog widget components.
7598
7598
  *
@@ -7614,7 +7614,7 @@ declare const CHANGELOG_WIDGET_SELECTORS: {
7614
7614
  *
7615
7615
  * @example
7616
7616
  *
7617
- * import { KEYBOARD_SHORTCUTS_SELECTORS } from "@bigbinary/neeto-playwright-commons";
7617
+ * import { KEYBOARD_SHORTCUTS_SELECTORS } from "@neetoplaywright";
7618
7618
  * @endexample
7619
7619
  * keyboardShortcutsPane: Selector for the keyboard shortcuts pane.
7620
7620
  *
@@ -7634,7 +7634,7 @@ declare const KEYBOARD_SHORTCUTS_SELECTORS: {
7634
7634
  *
7635
7635
  * @example
7636
7636
  *
7637
- * import { INTEGRATION_SELECTORS } from "@bigbinary/neeto-playwright-commons";
7637
+ * import { INTEGRATION_SELECTORS } from "@neetoplaywright";
7638
7638
  * @endexample
7639
7639
  * integrationCard(integration: string): Method that generates a selector for the integration card based on the integration name. Accepts a string parameter representing the integration name.
7640
7640
  *
@@ -7676,7 +7676,7 @@ declare const dataQa: (value: string) => string;
7676
7676
  *
7677
7677
  * @example
7678
7678
  *
7679
- * import { SLACK_SELECTORS} from "@bigbinary/neeto-playwright-commons";
7679
+ * import { SLACK_SELECTORS} from "@neetoplaywright";
7680
7680
  * @endexample
7681
7681
  * messageContainer: Selector for the message container.
7682
7682
  *
@@ -7730,7 +7730,7 @@ declare const SLACK_SELECTORS: {
7730
7730
  *
7731
7731
  * @example
7732
7732
  *
7733
- * import { SLACK_DATA_QA_SELECTORS } from "@bigbinary/neeto-playwright-commons";
7733
+ * import { SLACK_DATA_QA_SELECTORS } from "@neetoplaywright";
7734
7734
  * @endexample
7735
7735
  * sectionHeadingButton: Selector for the section heading button.
7736
7736
  *
@@ -7780,7 +7780,7 @@ declare const SLACK_DATA_QA_SELECTORS: {
7780
7780
  *
7781
7781
  * @example
7782
7782
  *
7783
- * import { WEBHOOK_SELECTORS } from "@bigbinary/neeto-playwright-commons";
7783
+ * import { WEBHOOK_SELECTORS } from "@neetoplaywright";
7784
7784
  * @endexample
7785
7785
  * addNewWebhook: Selector for the "Add New Webhook" button.
7786
7786
  *
@@ -7830,7 +7830,7 @@ declare const WEBHOOK_SELECTORS: {
7830
7830
  *
7831
7831
  * @example
7832
7832
  *
7833
- * import { ZAPIER_SELECTORS } from "@bigbinary/neeto-playwright-commons";
7833
+ * import { ZAPIER_SELECTORS } from "@neetoplaywright";
7834
7834
  * @endexample
7835
7835
  * zapTriggerStep(zapId: string): Method that generates a selector for the Zap trigger step based on the Zap ID. Accepts a string parameter representing the Zap ID.
7836
7836
  *
@@ -7911,7 +7911,7 @@ type ColumnMenuAction = "hide" | "freeze-unfreeze" | "ascending" | "descending"
7911
7911
  *
7912
7912
  * @example
7913
7913
  *
7914
- * import { TABLE_SELECTORS } from "@bigbinary/neeto-playwright-commons";
7914
+ * import { TABLE_SELECTORS } from "@neetoplaywright";
7915
7915
  * @endexample
7916
7916
  * freezeUnfreezeButton: Selector for freeze/unfreeze column button.
7917
7917
  *
@@ -7943,7 +7943,7 @@ declare const TABLE_SELECTORS: {
7943
7943
  *
7944
7944
  * @example
7945
7945
  *
7946
- * import { THEMES_SELECTORS } from "@bigbinary/neeto-playwright-commons";
7946
+ * import { THEMES_SELECTORS } from "@neetoplaywright";
7947
7947
  * @endexample
7948
7948
  * colorPickerDropdownContainer(colorHex: string): Selector for the color picker dropdown container.
7949
7949
  *
@@ -7961,7 +7961,7 @@ declare const THEMES_SELECTORS: {
7961
7961
  *
7962
7962
  * @example
7963
7963
  *
7964
- * import { ADMIN_PANEL_SELECTORS } from "@bigbinary/neeto-playwright-commons";
7964
+ * import { ADMIN_PANEL_SELECTORS } from "@neetoplaywright";
7965
7965
  * @endexample
7966
7966
  * settingsItemHeading: Selector for settings item heading.
7967
7967
  *
@@ -8106,7 +8106,7 @@ declare const ONBOARDING_SELECTORS: {
8106
8106
  *
8107
8107
  * @example
8108
8108
  *
8109
- * import { NEETO_SEO_SELECTORS } from "@bigbinary/neeto-playwright-commons";
8109
+ * import { NEETO_SEO_SELECTORS } from "@neetoplaywright";
8110
8110
  * @endexample
8111
8111
  * configureBtn: Selector for the SEO configure button.
8112
8112
  *
@@ -8120,7 +8120,7 @@ declare const NEETO_SEO_SELECTORS: {
8120
8120
  *
8121
8121
  * @example
8122
8122
  *
8123
- * import { MICROSOFT_LOGIN_SELECTORS } from "@bigbinary/neeto-playwright-commons";
8123
+ * import { MICROSOFT_LOGIN_SELECTORS } from "@neetoplaywright";
8124
8124
  * @endexample
8125
8125
  * acceptButton: Selector for the accept/sign in submit button.
8126
8126
  *
@@ -8147,6 +8147,8 @@ declare const MICROSOFT_LOGIN_SELECTORS: {
8147
8147
  *
8148
8148
  * Function to initialize credentials of the current user in the storageState.
8149
8149
  *
8150
+ * When SKIP_SETUP is enabled in staging, it reuses the previously stored session. Since staging organizations are automatically deleted after 3 days they are created, it first checks (via isStagingOrganizationExpired) whether the stored organization has expired by parsing the creation timestamp encoded in its subdomain. If it has, the stale user.json is removed so that a fresh organization is created and logged into instead of failing the run.
8151
+ *
8150
8152
  * @example
8151
8153
  *
8152
8154
  * initializeCredentials("invoice");
@@ -8201,6 +8203,7 @@ declare const joinString: JoinString;
8201
8203
  * @endexample
8202
8204
  */
8203
8205
  declare const readFileSyncIfExists: ReadFileSyncIfExists;
8206
+ declare const getDirname: (metaUrl: string) => string;
8204
8207
  /**
8205
8208
  *
8206
8209
  * Returns the current logged in user info.
@@ -8525,7 +8528,7 @@ declare const imageRegex: (imageName: string) => RegExp;
8525
8528
  * @example
8526
8529
  *
8527
8530
  * import { chromium } from "@playwright/test";
8528
- * import { withCookieCache } from "@bigbinary/neeto-playwright-commons";
8531
+ * import { withCookieCache } from "@neetoplaywright";
8529
8532
  *
8530
8533
  * export default async () => {
8531
8534
  * const browser = await chromium.launch();
@@ -8564,7 +8567,7 @@ declare const fillCredentialsAndSubmit: ({
8564
8567
  *
8565
8568
  * @example
8566
8569
  *
8567
- * import { loginWithoutSSO } from "@bigbinary/neeto-playwright-commons"
8570
+ * import { loginWithoutSSO } from "@neetoplaywright"
8568
8571
  *
8569
8572
  * await loginWithoutSSO({ page, loginPath:"/home" })
8570
8573
  * @endexample
@@ -8584,7 +8587,7 @@ declare const loginWithoutSSO: ({
8584
8587
  *
8585
8588
  * @example
8586
8589
  *
8587
- * import { login } from "@bigbinary/neeto-playwright-commons"
8590
+ * import { login } from "@neetoplaywright"
8588
8591
  *
8589
8592
  * await login({ page, loginPath:"/home" })
8590
8593
  * @endexample
@@ -8602,7 +8605,7 @@ declare const login: ({
8602
8605
  *
8603
8606
  * @example
8604
8607
  *
8605
- * import { generateRandomBypassEmail } from "@bigbinary/neeto-playwright-commons";
8608
+ * import { generateRandomBypassEmail } from "@neetoplaywright";
8606
8609
  *
8607
8610
  * const bypassEmail = generateRandomBypassEmail();
8608
8611
  * @endexample
@@ -8644,7 +8647,7 @@ interface CreateOrganizationProps {
8644
8647
  *
8645
8648
  * @example
8646
8649
  *
8647
- * import { createOrganizationViaRake } from "@bigbinary/neeto-playwright-commons";
8650
+ * import { createOrganizationViaRake } from "@neetoplaywright";
8648
8651
  *
8649
8652
  * await createOrganizationViaRake({
8650
8653
  * email: "user@example.com",
@@ -8689,7 +8692,7 @@ declare const tableUtils: {
8689
8692
  *
8690
8693
  * @example
8691
8694
  *
8692
- * import { tableUtils } from "@bigbinary/neeto-playwright-commons"
8695
+ * import { tableUtils } from "@neetoplaywright"
8693
8696
  *
8694
8697
  * await tableUtils.verifyTableColumnsExistence({
8695
8698
  * page,
@@ -8713,7 +8716,7 @@ declare const tableUtils: {
8713
8716
  *
8714
8717
  * @example
8715
8718
  *
8716
- * import { tableUtils } from "@bigbinary/neeto-playwright-commons"
8719
+ * import { tableUtils } from "@neetoplaywright"
8717
8720
  *
8718
8721
  * await tableUtils.assertColumnHeaderVisibility({
8719
8722
  * page,
@@ -8739,7 +8742,7 @@ declare const tableUtils: {
8739
8742
  *
8740
8743
  * @example
8741
8744
  *
8742
- * import { tableUtils } from "@bigbinary/neeto-playwright-commons"
8745
+ * import { tableUtils } from "@neetoplaywright"
8743
8746
  *
8744
8747
  * await tableUtils.toggleColumnCheckboxAndVerifyVisibility({
8745
8748
  * page,
@@ -8763,7 +8766,7 @@ declare const tableUtils: {
8763
8766
  *
8764
8767
  * @example
8765
8768
  *
8766
- * import { tableUtils } from "@bigbinary/neeto-playwright-commons"
8769
+ * import { tableUtils } from "@neetoplaywright"
8767
8770
  *
8768
8771
  * await tableUtils.verifyFreezeColumnAction(
8769
8772
  * page,
@@ -8800,7 +8803,7 @@ type NetworkThrottlingUsingCdpParams = {
8800
8803
  *
8801
8804
  * @example
8802
8805
  *
8803
- * import { cpuThrottlingUsingCDP } from "@bigbinary/neeto-playwright-commons";
8806
+ * import { cpuThrottlingUsingCDP } from "@neetoplaywright";
8804
8807
  *
8805
8808
  * cpuThrottlingUsingCDP({
8806
8809
  * cdpSession
@@ -8821,7 +8824,7 @@ type NetworkThrottlingUsingCdpParams = {
8821
8824
  * @example
8822
8825
  *
8823
8826
  * import { networkConditions } from "@constants/networkConditions";
8824
- * import { executeWithThrottledResources } from "@bigbinary/neeto-playwright-commons";
8827
+ * import { executeWithThrottledResources } from "@neetoplaywright";
8825
8828
  *
8826
8829
  * const emulateNetworkConditionsParameters = networkConditions["Fast 3G"];
8827
8830
  * const cpuThrottlingRate = 2;
@@ -8884,7 +8887,7 @@ declare const basicHTMLContent: (content: string) => string;
8884
8887
  *
8885
8888
  * @example
8886
8889
  *
8887
- * import { hexToRGB } from "@bigbinary/neeto-playwright-commons";
8890
+ * import { hexToRGB } from "@neetoplaywright";
8888
8891
  *
8889
8892
  * // Convert hexadecimal color code to RGB
8890
8893
  * const rgbColor = hexToRGB("#ff0000");
@@ -8908,7 +8911,7 @@ declare const filterUtils: {
8908
8911
  * @example
8909
8912
  *
8910
8913
  * import { Page } from "@playwright/test";
8911
- * import { filterUtils } from "@bigbinary/neeto-playwright-commons";
8914
+ * import { filterUtils } from "@neetoplaywright";
8912
8915
  *
8913
8916
  * await filterUtils.openFilterPane(page);
8914
8917
  * @endexample
@@ -8923,7 +8926,7 @@ declare const filterUtils: {
8923
8926
  * @example
8924
8927
  *
8925
8928
  * import { Page } from "@playwright/test";
8926
- * import { filterUtils } from "@bigbinary/neeto-playwright-commons";
8929
+ * import { filterUtils } from "@neetoplaywright";
8927
8930
  *
8928
8931
  * await filterUtils.clearFiltersFromActionBlock(page);
8929
8932
  * @endexample
@@ -8936,7 +8939,7 @@ declare const filterUtils: {
8936
8939
  *
8937
8940
  * @example
8938
8941
  *
8939
- * import { getImagePathAndName } from "@bigbinary/neeto-playwright-commons";
8942
+ * import { getImagePathAndName } from "@neetoplaywright";
8940
8943
  *
8941
8944
  * const { imagePath, imageName } = getImagePathAndName("../assets/images/image.png");
8942
8945
  * @endexample
@@ -9000,7 +9003,7 @@ declare const isGithubIssueOpen: (issueLinks: string[]) => Promise<boolean>;
9000
9003
  *
9001
9004
  * @example
9002
9005
  *
9003
- * import { simulateTypingWithDelay } from "@bigbinary/neeto-playwright-commons";
9006
+ * import { simulateTypingWithDelay } from "@neetoplaywright";
9004
9007
  *
9005
9008
  * await simulateTypingWithDelay({
9006
9009
  * field: page.getByTestId("email-field"),
@@ -9024,7 +9027,7 @@ declare const simulateTypingWithDelay: ({
9024
9027
  *
9025
9028
  * @example
9026
9029
  *
9027
- * import { simulateClickWithDelay } from "@bigbinary/neeto-playwright-commons";
9030
+ * import { simulateClickWithDelay } from "@neetoplaywright";
9028
9031
  *
9029
9032
  * await simulateClickWithDelay({
9030
9033
  * element: page.getByTestId("submit-button"),
@@ -9111,13 +9114,13 @@ declare const getFormattedPhoneNumber: (countryName: string, phoneNumber: string
9111
9114
  */
9112
9115
  declare const generatePhoneNumberDetails: () => CountryProps;
9113
9116
  interface WarmupOptions {
9114
- urls?: string[];
9115
- timeout?: number;
9117
+ urls: string[];
9118
+ timeout: number;
9116
9119
  }
9117
9120
  declare function warmup({
9118
9121
  urls,
9119
9122
  timeout
9120
- }?: WarmupOptions): Promise<void>;
9123
+ }?: Partial<WarmupOptions>): Promise<void>;
9121
9124
  declare class NeetoAuthServer {
9122
9125
  private process;
9123
9126
  private targetApp;
@@ -9279,7 +9282,7 @@ interface Overrides {
9279
9282
  *
9280
9283
  * @example
9281
9284
  *
9282
- * import { definePlaywrightConfig } from "@bigbinary/neeto-playwright-commons";
9285
+ * import { definePlaywrightConfig } from "@neetoplaywright";
9283
9286
  *
9284
9287
  * export default definePlaywrightConfig({
9285
9288
  * playdashProductionOverrides: { projectKey: "********************" },
@@ -9287,5 +9290,5 @@ interface Overrides {
9287
9290
  * @endexample
9288
9291
  */
9289
9292
  declare const definePlaywrightConfig: (overrides: Overrides) => PlaywrightTestConfig<{}, {}>;
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 };
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, 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, getDirname, getFormattedPhoneNumber, getFullUrl, getGlobalUserProps, getGlobalUserState, getImagePathAndName, getIsoCodeFromPhoneCode, getListCount, globalShortcuts, grantClipboardPermissions, hexToRGB, hexToRGBA, i18nFixture, imageRegex, initializeCredentials, initializeTestData, initializeTotp, isGithubIssueOpen, isStagingOrganizationExpired, joinHyphenCase, joinString, login, loginWithoutSSO, networkConditions, networkThrottlingUsingCDP, readFileSyncIfExists, removeCredentialFile, serializeFileForBrowser, shouldSkipCustomDomainSetup, shouldSkipSetupAndTeardown, simulateClickWithDelay, simulateTypingWithDelay, skipTest, squish, _default as stealthTest, tableUtils, toCamelCase, updateCredentials, warmup, withCookieCache, writeDataToFile };
9291
9294
  export type { BaseThemeStyle, BaseThemeStyleType, ColumnMenuAction, CountryProps, CustomFixture, EmailDeliveryConnectParams, EmailDeliveryProvider, EmailDeliveryVerifiedEmail, EmailDeliveryVerifyEmailParams, EmailDeliveryVerifyEmailResponse, EmailMatchCriteria, IntroPageThemeStyle, IntroPageThemeStyleType, OAuthEmailDeliveryProvider, ProjectName, ThemeCategory, ValueOf };