public void Can_Search_Posts() { #region Manual test case //Go to login page //Login as “admin” user with correct password “ha tran” //Click Login button //Hover mouse on the “Posts” menu on the left navigation panel //Click “All Posts” menu //Enter a search string that matches to at least a post title to the Search text box //Click “Search Posts” button //Verify that the matching post titles show up in the list #endregion Manual test case //Create a new post PostCreator.CreatePost(); //Go to list posts ListPostsPage.GoTo(PostType.Posts); //Search for posts ListPostsPage.SearchForPosts(PostCreator.PreviousTitle); //Check that post show up in results Assert.IsTrue(ListPostsPage.DoesPostExistWithTitle(PostCreator.PreviousTitle)); }