diff --git a/src/Samples/Common/Views/FeatureSamples/Validation/ValidationPropertyPathResolving.dothtml b/src/Samples/Common/Views/FeatureSamples/Validation/ValidationPropertyPathResolving.dothtml index af8ec4e282..b24a15f626 100644 --- a/src/Samples/Common/Views/FeatureSamples/Validation/ValidationPropertyPathResolving.dothtml +++ b/src/Samples/Common/Views/FeatureSamples/Validation/ValidationPropertyPathResolving.dothtml @@ -9,22 +9,23 @@
- + *
- + *
- + *
- + | + {{value: $"Col[{_index}].Text: "}} * diff --git a/src/Samples/Tests/Tests/Feature/ValidationTests.cs b/src/Samples/Tests/Tests/Feature/ValidationTests.cs index acbe2d52fa..f22fd7254e 100644 --- a/src/Samples/Tests/Tests/Feature/ValidationTests.cs +++ b/src/Samples/Tests/Tests/Feature/ValidationTests.cs @@ -808,10 +808,13 @@ public void Feature_Validation_ValidationPaths(string validationPath) button.Click(); - var validationPaths = validationPathsList.FindElements("li").Select(t => t.GetInnerText()).ToList(); + browser.WaitFor(() => { + + var validationPaths = validationPathsList.FindElements("li").Select(t => t.GetInnerText()).ToList(); - bool hasCorrectValidationPath = validationPaths.Any(t => t == validationPath); - Assert.True(hasCorrectValidationPath,"None of the errors has expected validation path."); + bool hasCorrectValidationPath = validationPaths.Any(t => t == validationPath); + Assert.True(hasCorrectValidationPath, $"None of the errors has expected validation path ({validationPath})."); + }, timeout: 2_000); }); }