@bigbinary/neeto-playwright-commons 1.10.13 → 1.10.14

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
@@ -138,9 +138,15 @@ import { COMMON_SELECTORS } from "@bigbinary/neeto-playwright-common";
138
138
  ## Exported Functions
139
139
 
140
140
  - [Common default configurations](./docs/default-configurations.md)
141
+ - [Commons and Envs](./docs/common.md)
142
+ - [Routes](./docs/routes.md)
141
143
  - [Custom commands](./docs/custom-commands.md)
142
- - [Util functions](./docs/util-functions.md)
143
- - [Selectors and texts](./docs/selectors-and-texts.md)
144
+ - [Mailosaur](./docs/mailosaur.md)
145
+ - [Util functions](./docs/utils)
146
+ - [POMs](./docs/poms)
147
+ - [Integration](./docs/integration)
148
+ - [Selectors](./docs/selectors.md)
149
+ - [Texts](./docs/texts.md)
144
150
 
145
151
  ## Other references
146
152
 
package/index.cjs.js CHANGED
@@ -148226,10 +148226,15 @@ const openFilterPane = async (page) => {
148226
148226
  await test$1.expect(page.getByTestId(COMMON_SELECTORS.paneHeader)).toHaveText(playwrightI18nextFixture.getI18nInstance().t("neetoFilters.common.filters"));
148227
148227
  };
148228
148228
  const clearFiltersFromActionBlock = async (page) => {
148229
- await page
148229
+ const isClearButtonVisible = await page
148230
148230
  .getByTestId(NEETO_FILTERS_SELECTORS.neetoFiltersBarClearButton)
148231
- .click();
148232
- await test$1.expect(page.getByTestId(NEETO_FILTERS_SELECTORS.neetoFiltersBarClearButton)).toBeHidden();
148231
+ .isVisible();
148232
+ if (isClearButtonVisible) {
148233
+ await page
148234
+ .getByTestId(NEETO_FILTERS_SELECTORS.neetoFiltersBarClearButton)
148235
+ .click();
148236
+ await test$1.expect(page.getByTestId(NEETO_FILTERS_SELECTORS.neetoFiltersBarClearButton)).toBeHidden();
148237
+ }
148233
148238
  };
148234
148239
  const filterUtils = {
148235
148240
  openFilterPane,