@bigbinary/neeto-playwright-commons 1.22.10 → 1.22.12

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 CHANGED
@@ -3304,7 +3304,7 @@ const COMMON_SELECTORS = {
3304
3304
  homeButton: "home-button",
3305
3305
  neetoUiSwitch: "nui-switch",
3306
3306
  floatingActionMenuButton: "floating-action-menu-container",
3307
- columnsDropdownContainer: "show/hide-columns-dropdown-container",
3307
+ columnsDropdownContainer: "customize-columns-dropdown-container",
3308
3308
  columnsDropdownButton: "columns-dropdown-button",
3309
3309
  breadcrumbHeader: "header-breadcrumb",
3310
3310
  header: "neeto-molecules-header",
@@ -3534,6 +3534,7 @@ const globalShortcuts = (t) => [
3534
3534
  sequence: "ctrl+enter",
3535
3535
  },
3536
3536
  ];
3537
+ const generatePhoneNumber = () => `${"+91"} 9${faker.faker.string.numeric(4)} ${faker.faker.string.numeric(5)}`;
3537
3538
 
3538
3539
  const optionSelector = (option) => `neeto-editor-fixed-menu-${option}-option`;
3539
3540
  const fixedMenuSelector = (selector) => `neeto-editor-fixed-menu-${selector}`;
@@ -193879,7 +193880,6 @@ const toggleColumnCheckboxAndVerifyVisibility = async ({ page, tableColumns, sho
193879
193880
  for (const columnName of tableColumns) {
193880
193881
  const checkbox = page
193881
193882
  .getByTestId(COMMON_SELECTORS.columnsDropdownContainer)
193882
- .getByRole("listitem")
193883
193883
  .getByRole("checkbox", { name: columnName, exact: true });
193884
193884
  const isCheckBoxChecked = await checkbox.isChecked();
193885
193885
  if (isCheckBoxChecked !== shouldBeChecked) {
@@ -195859,6 +195859,7 @@ exports.definePlaywrightConfig = definePlaywrightConfig;
195859
195859
  exports.executeWithThrottledResources = executeWithThrottledResources;
195860
195860
  exports.extractSubdomainFromError = extractSubdomainFromError;
195861
195861
  exports.filterUtils = filterUtils;
195862
+ exports.generatePhoneNumber = generatePhoneNumber;
195862
195863
  exports.generateRandomBypassEmail = generateRandomBypassEmail;
195863
195864
  exports.generateRandomFile = generateRandomFile;
195864
195865
  exports.generateStagingData = generateStagingData;