From fc5f20745b86e9fb20fc13865954c6cd61c58f04 Mon Sep 17 00:00:00 2001 From: Andreas Zerbst Date: Tue, 20 May 2025 10:02:42 +0200 Subject: [PATCH] Updated test as we do not have notifications for save/publish --- .../Content/BlockGrid/ComplexBlockGridTest.spec.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/Umbraco.Tests.AcceptanceTest/tests/DefaultConfig/Content/BlockGrid/ComplexBlockGridTest.spec.ts b/tests/Umbraco.Tests.AcceptanceTest/tests/DefaultConfig/Content/BlockGrid/ComplexBlockGridTest.spec.ts index 78b1ea1213..6f8daa1122 100644 --- a/tests/Umbraco.Tests.AcceptanceTest/tests/DefaultConfig/Content/BlockGrid/ComplexBlockGridTest.spec.ts +++ b/tests/Umbraco.Tests.AcceptanceTest/tests/DefaultConfig/Content/BlockGrid/ComplexBlockGridTest.spec.ts @@ -117,8 +117,10 @@ test('can update property value nested in a block grid area with an RTE with a b await umbracoUi.content.clickSaveAndPublishButton(); // Assert - await umbracoUi.content.doesSuccessNotificationHaveText(NotificationConstantHelper.success.saved, true, true); - await umbracoUi.content.doesSuccessNotificationHaveText(NotificationConstantHelper.success.published, true, true); + // await umbracoUi.content.doesSuccessNotificationHaveText(NotificationConstantHelper.success.saved, true, true); + // await umbracoUi.content.doesSuccessNotificationHaveText(NotificationConstantHelper.success.published, true, true); + await umbracoUi.content.isErrorNotificationVisible(false); + await umbracoUi.waitForTimeout(1000); // Checks if published const contentData = await umbracoApi.document.getByName(contentName); expect(contentData.variants[0].state).toBe('Published');