public void Atom_Feed_Is_Working() { Footer.GoToAbout(); AboutPage.GoToAtomFeed(); foreach (var blogPost in DataToValidate.BlogPosts.Reverse().Take(10)) { AtomFeed.GoToArticle(blogPost.Title); Assert.IsTrue(BlogPostPage.IsAt(blogPost.Title)); Footer.GoToAbout(); AboutPage.GoToAtomFeed(); } }
public void All_Pages_Are_Available() { Assert.IsTrue(HomePage.IsAt()); Footer.GoToAbout(); Assert.IsTrue(AboutPage.IsAt()); AboutPage.GoToAtomFeed(); Assert.IsTrue(AtomFeed.IsAt()); Navigation.GoToRoot(); Navigation.GoToBlog(); Assert.IsTrue(HomePage.IsAt()); Navigation.GoToTrending(); TrendingPage.IsAt(); Navigation.GoToArchive(); Assert.IsTrue(ArchivePage.IsAt()); Navigation.GoToRoot(); Navigation.GoToRssFeed(); Assert.IsTrue(RssFeed.IsAt()); }