|
| Summary: |
Add automated test for "Name strategies Kebab case strategy" |
| Issue Type: |
Task |
| Affects Versions: |
11.10.13 |
| Assignee: |
Unassigned |
| Components: |
Development Issues only |
| Created: |
01/Oct/26 20:52 |
| Labels: |
testneeded |
| Priority: |
Major |
| Reporter: |
Vincent Massol |
| Description: |
The manual test is here: Name strategies Kebab case strategy Existing automated coverage
Missing automated coverage
- In Administer Wiki > Editing > Name Strategies select Kebab-case, enable "Transform name automatically", disable "Validate names before saving".
- Enable "Conversion to Lowercase" and "Allow Dots", add the forbidden word "Forbidden", save.
- Create a page whose title has accents, spaces, special characters, dots and the forbidden word (e.g. the manual test value) and save it.
- Assert the page reference/URL is the expected kebab-case name (e.g. t-e-s-t8.9e-d) and the title is unchanged.
- Page object: NameStrategiesAdministrationSectionPage has no setters for lowercase, allow dots or forbidden words.
Suggested location: xwiki-platform-core/xwiki-platform-model/xwiki-platform-model-validation/xwiki-platform-model-validation-test/xwiki-platform-model-validation-test-docker/src/test/it/org/xwiki/model/validation/test/ui/docker/NameStrategiesIT.java Found by comparing the XWiki 18.4.4 manual test runs against the automated tests on master (a0055f10a1a). |
|