Skip to content

Commit

Permalink
Extend CreateUI Test Coverage (#721)
Browse files Browse the repository at this point in the history
* Fix False Positive

Textboxes-With-Length-Constrains-Regex should not fail when length constraint is in the middle.

* Update createUiDefinition.json
  • Loading branch information
dciborow authored Dec 5, 2022
1 parent d45c87a commit 107056f
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,16 @@
"regex": "^[0-9]{5,10}$",
"validationMessage": "Textboxes with constraints.regex contains length limits."
}
},
{
"name": "TextBox2",
"type": "Microsoft.Common.TextBox",
"label": "Textboxes-With-Constrains-Validations-2",
"toolTip": "Textboxes with constraints.validations.",
"constraints": {
"regex": "^[A-Za-z][A-Za-z0-9-]{1,61}[A-Za-z0-9]$",
"validationMessage": "Textboxes with constraints.regex contains length limits."
}
}
],
"outputs": {
Expand Down

0 comments on commit 107056f

Please sign in to comment.