I'm integrating bUnit to add unit test to blazor.
Now i have a form with some TelerikTextBox and other components with DataAnnotationValidation.
Example:
<TelerikTextBox Id="txtUserName" @bind-Value="@EditingItem.UserName"></TelerikTextBox>
When i set the input value from bUnit with cut.Find("#txtUserName").Input("UnitTest_User"); the binding property EditingItem.UserName is not updated successully due to default value of DebounceDelay property who is set to 150ms.
This cause the subsequent validation of the form to fail.
I have open an issue on bUnit project with some sample code, thinking originally who was a bUnit issue, but we found who it's related to telerik components:
https://github.com/bUnit-dev/bUnit/discussions/651
Note iIf i set the property DebounceDelay="0" on the TelerikTextBox the binding and validation work fine, but it require to change all the components to work with tests.
I think we need a settings from telerik blazor components who can allow reset DebounceDelay for all components, before run unit test.