Beispiel #1
0
            public void Castr_ValidatePostUrl()
            {
                _browser.Navigate(_config.Url);
                HomePage homePage = new HomePage(_browser);

                homePage.Login(_config.ConfigObject.Users.AdminUser);
                PostCreator postCreator = new PostCreator(_browser);
                PostPage    postPage    = postCreator.Create(typeof(ArticleBase));
                string      exUrl       = _browser.GetUrl();

                postPage.HoverOverOptions();
                CastrPage CasterPage = postPage.ClickOnOpenInCaster();

                _browser.SwitchToLastTab();
                CastrPost post  = new CastrPost(_browser);
                string    acUrl = post.GetPostUrl().Replace("https", "http");

                Assert.AreEqual(exUrl, acUrl);
            }