public void WithoutContentPostCreation()
        {
            HomePage homePage = new HomePage(this.driver);

            homePage.NavigateTo();

            LoginPage logPage = new LoginPage(this.driver);

            logPage.NavigateTo();
            var loginUser = AccessExcelData.GetTestDataLoging("LoginSuccessfully");

            logPage.FillLoginForm(loginUser);

            homePage.CreatePostLink.Click();

            CreatePost createPage = new CreatePost(this.driver);
            var        postUser   = AccessExcelData.GetTestDataPosts("CreatePostWithoutContent");

            createPage.NavigateTo();
            createPage.FillCreatePostForm(postUser);

            createPage.AssertErrorMessageForEmptyFields("The Content field is required.");
        }
        public void CreatePostSuccessfuly()
        {
            HomePage homePage = new HomePage(this.driver);

            homePage.NavigateTo();

            LoginPage logPage = new LoginPage(this.driver);

            logPage.NavigateTo();
            var loginUser = AccessExcelData.GetTestDataLoging("LoginSuccessfully");

            logPage.FillLoginForm(loginUser);

            homePage.CreatePostLink.Click();

            CreatePost createPage = new CreatePost(this.driver);
            var        postUser   = AccessExcelData.GetTestDataPosts("CreatePostSuccessfuly");

            createPage.NavigateTo();
            createPage.FillCreatePostForm(postUser);

            createPage.AssertSuccessfulPostCreation("Test Post Creation");
        }