public void WithoutContentPostEdit()
        {
            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.EditPostLink.Click();

            EditPost editPage = new EditPost(this.driver);
            var      postUser = AccessExcelData.GetTestDataPosts("EditPostWithoutContent");

            editPage.NavigateTo();
            editPage.FillEditPostForm(postUser);

            editPage.AssertErrorMessageForEmptyFieldsPostEdit("The Content field is required.");
        }
        public void EditPostSuccessfuly()
        {
            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.EditPostLink.Click();

            EditPost editPage = new EditPost(this.driver);
            var      postUser = AccessExcelData.GetTestDataPosts("EditPostSuccessfuly");

            editPage.NavigateTo();
            editPage.FillEditPostForm(postUser);

            editPage.AssertSuccessfulPostEdit("Test Post Edit");
        }