@bigbinary/neeto-playwright-commons 1.10.13 → 1.10.15
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 +8 -2
- package/index.cjs.js +9 -4
- package/index.cjs.js.map +1 -1
- package/index.d.ts +14 -0
- package/index.js +9 -4
- package/index.js.map +1 -1
- package/package.json +1 -1
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
|
-
- [
|
|
143
|
-
- [
|
|
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
|
@@ -14750,7 +14750,7 @@ class OrganizationPage {
|
|
|
14750
14750
|
this.fillOrganizationDetails = async ({ credentials, appName, }) => {
|
|
14751
14751
|
await this.page
|
|
14752
14752
|
.getByTestId(SIGNUP_SELECTORS.organizationNameTextField)
|
|
14753
|
-
.fill(credentials.businessName);
|
|
14753
|
+
.fill(neetoCist.humanize(credentials.businessName));
|
|
14754
14754
|
const fetchSubdomainAvailability = this.neetoPlaywrightUtilities.interceptMultipleResponses({
|
|
14755
14755
|
responseUrl: ROUTES.subdomainAvailability,
|
|
14756
14756
|
timeout: 60 * 1000,
|
|
@@ -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
|
-
.
|
|
148232
|
-
|
|
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,
|