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:
committed by
Andreas Zerbst
parent
5e03f9bb4e
commit
eaf7994dca
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user