[MGNLTEST-237] Accessing form elements work for both exact caption and caption-starts-with Created: 23/May/22  Updated: 16/Jun/22  Resolved: 24/May/22

Status: Closed
Project: Magnolia Test Framework
Component/s: None
Affects Version/s: 1.3.1
Fix Version/s: 1.3.2

Type: Improvement Priority: Neutral
Reporter: Christoph Meier Assignee: Christoph Meier
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: 5h
Original Estimate: Not Specified

Issue Links:
dependency
Template:
Acceptance criteria:
Empty
Task DoD:
[X]* Doc/release notes changes? Comment present?
[X]* Downstream builds green?
[X]* Solution information and context easily available?
[X]* Tests
[X]* FixVersion filled and not yet released
[X]  Architecture Decision Record (ADR)

 Description   

With MGNLTEST-234 (Form#byFieldCaption can find String.startsWith) we have changed the API to access form fields in a way, that it does find a field not by the exact caption, but with a "caption starts with".

This change is still valuable - it will decrease the number of changes in tests in the context of re-adding the site, etc.  But the change also has broken at least one test (maybe more, but we cannot say this now, since dx-core@mster still is broken).

With this ticket we should ensure that the Form API allows both

  • finding a form field with the exact caption
  • finding a form field with caption-starts-with-string


 Comments   
Comment by Christoph Meier [ 24/May/22 ]

Reviewed (by Michael D.) and integrated

Generated at Mon Feb 12 07:46:56 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.