@umbraco/playwright-testhelpers 17.0.19 → 17.0.20
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/dist/lib/helpers/ContentUiHelper.js +3 -3
- package/dist/lib/helpers/ContentUiHelper.js.map +1 -1
- package/dist/lib/helpers/LogViewerUiHelper.js +1 -1
- package/dist/lib/helpers/LogViewerUiHelper.js.map +1 -1
- package/dist/lib/helpers/UserUiHelper.js +1 -1
- package/dist/lib/helpers/UserUiHelper.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -241,7 +241,7 @@ class ContentUiHelper extends UiBaseLocators_1.UiBaseLocators {
|
|
|
241
241
|
// Culture and Hostname
|
|
242
242
|
this.cultureAndHostnamesBtn = page.getByLabel(/^Culture and Hostnames(…)?$/);
|
|
243
243
|
this.hostNameItem = page.locator('.hostname-item');
|
|
244
|
-
this.cultureLanguageDropdownBox = this.
|
|
244
|
+
this.cultureLanguageDropdownBox = this.page.locator('[label="Culture"]').getByLabel('combobox-input');
|
|
245
245
|
this.hostnameTxt = page.getByLabel('Hostname', { exact: true });
|
|
246
246
|
this.hostnameLanguageDropdownBox = this.hostNameItem.locator('[label="Culture"]').getByLabel('combobox-input');
|
|
247
247
|
this.deleteHostnameBtn = this.hostNameItem.locator('[name="icon-trash"] svg');
|
|
@@ -541,8 +541,8 @@ class ContentUiHelper extends UiBaseLocators_1.UiBaseLocators {
|
|
|
541
541
|
async selectCultureLanguageOption(option) {
|
|
542
542
|
await (0, test_1.expect)(this.cultureLanguageDropdownBox).toBeVisible();
|
|
543
543
|
await this.cultureLanguageDropdownBox.click();
|
|
544
|
-
await (0, test_1.expect)(this.
|
|
545
|
-
await this.
|
|
544
|
+
await (0, test_1.expect)(this.page.getByText(option, { exact: true })).toBeVisible();
|
|
545
|
+
await this.page.getByText(option, { exact: true }).click();
|
|
546
546
|
}
|
|
547
547
|
async selectHostnameLanguageOption(option, index = 0) {
|
|
548
548
|
await this.hostnameLanguageDropdownBox.nth(index).click();
|