how to make any string case-insensitive code example
Example: How to make String.Contains case insensitive?
Assert.IsTrue(text.ToUpper().Contains("Sample".ToUpper()));
Assert.IsTrue(text.ToUpper().Contains("Sample".ToUpper()));