Updated the ID of the locator in the test 'can set a minimum of required blocks in content with a block list editor' to match the correct ID. (#13769)

This commit is contained in:
Andreas Zerbst
2023-02-01 13:52:39 +01:00
committed by Andreas Zerbst
parent 5e03f9bb4e
commit eaf7994dca

View File

@@ -56,6 +56,7 @@ test.describe('BlockListEditorContent', () => {
.addGroup()
.withName('BlockListGroup')
.addCustomProperty(dataType['id'])
.withLabel('BlockGroup')
.withAlias(blockListAlias)
.done()
.done()
@@ -281,7 +282,7 @@ test.describe('BlockListEditorContent', () => {
await expect(page.locator('.alert-error')).toBeVisible();
// Adds another block
await page.locator('[id="' + blockListAlias + '"]').click();
await page.locator('[id="' + 'button_' + blockListAlias + '"]').click();
await page.locator('[label="Create"]').click();
await umbracoUi.clickElement(umbracoUi.getButtonByLabelKey(ConstantHelper.buttons.saveAndPublish));