Add back the v10 locator that was updated in v11
This commit is contained in:
@@ -30,7 +30,9 @@ test.describe('Macros', () => {
|
||||
await form.locator(".btn-primary").click();
|
||||
|
||||
// Adds partial view to macro
|
||||
await page.locator('[data-element="property-label-macroPartialViewPickerProperty"]').click();
|
||||
// THIS SHOULD BE await page.locator('[data-element="property-label-macroPartialViewPickerProperty"]').click(); IN V11
|
||||
await page.locator('[label="Macro partial view"]').click();
|
||||
|
||||
await page.locator('[data-element="tree-item-' + partialViewName + '.cshtml"]').click();
|
||||
|
||||
await umbracoUi.clickElement(umbracoUi.getButtonByLabelKey(ConstantHelper.buttons.save));
|
||||
|
||||
Reference in New Issue
Block a user