예제 #1
0
        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());
        }
예제 #2
0
        public void Step_5_NavigateToTrending()
        {
            TrendingPage trendingPage = new TrendingPage();

            Assert.True(trendingPage.ViewOpened);
        }