public void CancleButtonFuntionality()
        {
            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("CancelButtonTestData").ToString();

            createPage.NavigateTo();
            createPage.Title.SendKeys(postUser);
            createPage.Content.SendKeys(postUser);
            createPage.CancelButton.Click();

            createPage.AssertPostCreationCancelButton("Test Post");
        }
        public void DuplicatePostCreation()
        {
            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.AssertPostCreationCancelButton("Test Post Creation");
        }