@bigbinary/neeto-playwright-commons 4.7.2 → 4.7.3
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.js +5 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -18375,10 +18375,13 @@ class OrganizationPage {
|
|
|
18375
18375
|
});
|
|
18376
18376
|
};
|
|
18377
18377
|
changeCountry = async (country) => {
|
|
18378
|
-
const countrySelector = this.page.getByTestId(COMMON_SELECTORS.
|
|
18378
|
+
const countrySelector = this.page.getByTestId(COMMON_SELECTORS.customSelectContainer("country"));
|
|
18379
18379
|
await countrySelector.click();
|
|
18380
18380
|
await countrySelector.pressSequentially(country);
|
|
18381
|
-
await this.page
|
|
18381
|
+
await this.page
|
|
18382
|
+
.getByTestId(COMMON_SELECTORS.selectOption("country"))
|
|
18383
|
+
.filter({ hasText: new RegExp(`^${country}$`) })
|
|
18384
|
+
.click();
|
|
18382
18385
|
await expect(countrySelector).toContainText(country);
|
|
18383
18386
|
};
|
|
18384
18387
|
loginViaGoogleAuth = async () => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bigbinary/neeto-playwright-commons",
|
|
3
|
-
"version": "4.7.
|
|
3
|
+
"version": "4.7.3",
|
|
4
4
|
"description": "A package encapsulating common playwright code across neeto projects.",
|
|
5
5
|
"repository": "git@github.com:bigbinary/neeto-playwright-commons.git",
|
|
6
6
|
"license": "apache-2.0",
|