public void CreatePostWithoutContent()
        {
            var  postPage = new PostPage(this.driver);
            Post post     = AccessExcelData.GetPostTestData("CreatePostWithoutContent");

            postPage.NavigateTo();
            postPage.FillPostForm(post);

            postPage.AssertErrorMessage("The Content field is required.");
        }
        public void CreatePostWithLongTitle()
        {
            var  postPage = new PostPage(this.driver);
            Post post     = AccessExcelData.GetPostTestData("CreatePostWithLongTitle");

            postPage.NavigateTo();
            postPage.FillPostForm(post);

            postPage.AssertErrorMessage("The field Title must be a string with a maximum length of 50.");
        }