From 892fe53568271d00d177bfaf5fd4d33c98541a8c Mon Sep 17 00:00:00 2001 From: delchev Date: Wed, 22 Jul 2026 12:51:39 +0300 Subject: [PATCH] test(ui): DependsOnHarmoniaIT caption is now 'Orders' not 'ORDERS' #6361 unified the form caption to the document-title style and dropped the force-uppercase (.toUpperCase()), matching the non-uppercased document layout - but this UI assertion still expected the old all-caps 'ORDERS' and was left red on master. Assert the resolved human label 'Orders' instead; the test's intent (the generator derives a real label, not the raw ${ENTITYLABEL} placeholder) is unchanged. Only source assertion affected. Co-Authored-By: Claude Opus 4.8 --- .../tests/ui/tests/DependsOnHarmoniaTestProject.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tests/tests-integrations/src/main/java/org/eclipse/dirigible/integration/tests/ui/tests/DependsOnHarmoniaTestProject.java b/tests/tests-integrations/src/main/java/org/eclipse/dirigible/integration/tests/ui/tests/DependsOnHarmoniaTestProject.java index a4378f2ad23..8c62cb97c56 100644 --- a/tests/tests-integrations/src/main/java/org/eclipse/dirigible/integration/tests/ui/tests/DependsOnHarmoniaTestProject.java +++ b/tests/tests-integrations/src/main/java/org/eclipse/dirigible/integration/tests/ui/tests/DependsOnHarmoniaTestProject.java @@ -60,10 +60,11 @@ public void verify() { // equivalent of the AngularJS "Create" button). browser.clickOnElementWithText(HtmlElementType.BUTTON, "New"); - // The form caption is the entity's (uppercased) human label - assert it resolved to a real - // value and not the literal "${ENTITYLABEL}" (the depends-on entities are hand-authored, so - // they carry no baked entityLabel; the generator must derive it). - browser.assertElementExistsByTypeAndContainsText(HtmlElementType.SPAN, "ORDERS"); + // The form caption is the entity's human label - assert it resolved to a real value and not + // the literal "${ENTITYLABEL}" (the depends-on entities are hand-authored, so they carry no + // baked entityLabel; the generator must derive it). The caption no longer force-uppercases + // (title styling unified with the document layout in #6361), so the resolved label is "Orders". + browser.assertElementExistsByTypeAndContainsText(HtmlElementType.SPAN, "Orders"); // Pick Country = Bulgaria. The Harmonia x-h-select hides the bound // and renders a visible trigger whose text is the placeholder; click