From eaf7994dca95c206e8eab03fa61452cf84dcff1d Mon Sep 17 00:00:00 2001 From: Andreas Zerbst <73799582+andr317c@users.noreply.github.com> Date: Wed, 1 Feb 2023 13:52:39 +0100 Subject: [PATCH] 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) --- .../BlockListEditor/blockListEditorContent.spec.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/Umbraco.Tests.AcceptanceTest/tests/DefaultConfig/BlockListEditor/blockListEditorContent.spec.ts b/tests/Umbraco.Tests.AcceptanceTest/tests/DefaultConfig/BlockListEditor/blockListEditorContent.spec.ts index e44a5cc87d..8c2c0eeec7 100644 --- a/tests/Umbraco.Tests.AcceptanceTest/tests/DefaultConfig/BlockListEditor/blockListEditorContent.spec.ts +++ b/tests/Umbraco.Tests.AcceptanceTest/tests/DefaultConfig/BlockListEditor/blockListEditorContent.spec.ts @@ -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));