Exemplo n.º 1
0
        public void Can_Search_Posts()
        {
            PostCreator.CreatePost();

            ListPostPage.SearchForPost(PostCreator.PreviousTitle);

            Assert.IsTrue(ListPostPage.DoesPostExistWithTitle(PostCreator.PreviousTitle));
        }
Exemplo n.º 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));
        }