Add back the v10 locator that was updated in v11

This commit is contained in:
Zeegaan
2022-10-19 07:46:15 +02:00
parent 7ba9484705
commit 61415b5c31

View File

@@ -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));