@bigbinary/neeto-playwright-commons 1.8.46 → 1.8.47

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
@@ -250,6 +250,7 @@ const COMMON_SELECTORS = {
250
250
  header: "neeto-molecules-header",
251
251
  sidebarSubLink: (label) => `${hyphenize(label)}-sub-link`,
252
252
  sidebarGoBackButton: (label) => `${hyphenize(label)}-go-back-button`,
253
+ selectSingleValue: "select-single-value",
253
254
  };
254
255
 
255
256
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
@@ -12424,7 +12425,7 @@ class EmbedBase {
12424
12425
  await test$1.expect(popUpButton).toBeVisible();
12425
12426
  await popUpButton.click();
12426
12427
  await test$1.expect(this.embedTestPage.locator(EMBED_SELECTORS.loader(this.appName))).toBeHidden({
12427
- timeout: 10000,
12428
+ timeout: 40000,
12428
12429
  });
12429
12430
  };
12430
12431
  this.copyEmbedScript = async ({ embedLabel }) => {
@@ -146910,6 +146911,14 @@ const executeWithThrottledResources = async ({ code: emulatedCode, kind = "both"
146910
146911
  await cpuThrottlingUsingCDP({ cdpSession, rate: 1 });
146911
146912
  };
146912
146913
 
146914
+ const openFilterPane = async (page) => {
146915
+ await page.getByTestId(NEETO_FILTERS_SELECTORS.filterButton).click();
146916
+ await test$1.expect(page.getByTestId(COMMON_SELECTORS.paneHeader)).toHaveText(playwrightI18nextFixture.getI18nInstance().t("neetoFilters.common.filters"));
146917
+ };
146918
+ const filterUtils = {
146919
+ openFilterPane,
146920
+ };
146921
+
146913
146922
  var main$2 = {exports: {}};
146914
146923
 
146915
146924
  var name = "dotenv";
@@ -147569,6 +147578,7 @@ exports.decodeQRCodeFromFile = decodeQRCodeFromFile;
147569
147578
  exports.definePlaywrightConfig = definePlaywrightConfig;
147570
147579
  exports.executeWithThrottledResources = executeWithThrottledResources;
147571
147580
  exports.extractSubdomainFromError = extractSubdomainFromError;
147581
+ exports.filterUtils = filterUtils;
147572
147582
  exports.generateRandomBypassEmail = generateRandomBypassEmail;
147573
147583
  exports.generateStagingData = generateStagingData;
147574
147584
  exports.getByDataQA = getByDataQA;