[MGNLTEST-234] Form#byFieldCaption can find String.startsWith Created: 19/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: | 0.5d | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| 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 |
|
Currently Form#byFieldCaption - which is used form-elements by its caption - is searching for an exact String. Improve the #byFieldCaption in a way it can find Labels which start with a given string. This will make tests more "stable" if a label like "Page (en)" changes into "Page" e.g. when the site gets removed. |
| Comments |
| Comment by Christoph Meier [ 24/May/22 ] |
|
Finished - but this actually gets replaced by |