Exemple #1
0
        public void Can_Search_Posts()
        {
            PostCreator.CreatePost();

            ListPostPage.SearchForPost(PostCreator.PreviousTitle);

            Assert.IsTrue(ListPostPage.DoesPostExistWithTitle(PostCreator.PreviousTitle));
        }
Exemple #2
0
        public void Can_Search_Posts()
        {
            // add a new post
            PostCreator.CreatePost();

            // search for post
            ListPostPage.SearchForPost(PostCreator.PreviousTitle);

            // check that post shows up in results
            Assert.IsTrue(ListPostPage.DoesPostExistWithTitle(PostCreator.PreviousTitle));
        }