public void CheckVisibilityOfAdditionalNews() { FinancePage fp = new FinancePage(); fp.Load(); Assert.AreEqual(fp.AdditionalNewsCount, 5); // Assert.IsFalse(fp.isSeachFormDisplayed); var news = fp.GetSideNews(); string text = fp.GetSideNews().ElementAt(1).Text; string date = fp.GetSideNews().ElementAt(1).Date; int count = fp.GetSideNews().ElementAt(1).Count; Assert.IsTrue(news.First().Text.Contains("Forbes назвал богатейшего человека мира")); }