Skip to content

Commit f8a78aa

Browse files
delchevclaude
andauthored
test(ui): DependsOnHarmoniaIT caption is now 'Orders' not 'ORDERS' (#6372)
#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 <noreply@anthropic.com>
1 parent 8d50921 commit f8a78aa

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

tests/tests-integrations/src/main/java/org/eclipse/dirigible/integration/tests/ui/tests/DependsOnHarmoniaTestProject.java

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,11 @@ public void verify() {
6060
// equivalent of the AngularJS "Create" button).
6161
browser.clickOnElementWithText(HtmlElementType.BUTTON, "New");
6262

63-
// The form caption is the entity's (uppercased) human label - assert it resolved to a real
64-
// value and not the literal "${ENTITYLABEL}" (the depends-on entities are hand-authored, so
65-
// they carry no baked entityLabel; the generator must derive it).
66-
browser.assertElementExistsByTypeAndContainsText(HtmlElementType.SPAN, "ORDERS");
63+
// The form caption is the entity's human label - assert it resolved to a real value and not
64+
// the literal "${ENTITYLABEL}" (the depends-on entities are hand-authored, so they carry no
65+
// baked entityLabel; the generator must derive it). The caption no longer force-uppercases
66+
// (title styling unified with the document layout in #6361), so the resolved label is "Orders".
67+
browser.assertElementExistsByTypeAndContainsText(HtmlElementType.SPAN, "Orders");
6768

6869
// Pick Country = Bulgaria. The Harmonia x-h-select hides the bound <input id="f_Country">
6970
// and renders a visible <span role="combobox"> trigger whose text is the placeholder; click

0 commit comments

Comments
 (0)