예제 #1
0
        public void NavigateToMainPage_LogoRedirectsToMainPage()
        {
            _driver.Navigate().GoToUrl("https://ru.wikipedia.org/wiki/Википедия:Форум");

            var logoExists = _welcomePage.IsLogoExists();

            logoExists.Should()
            .BeTrue("any wiki page must have logo");

            _welcomePage.ClickOnLogo();
            logoExists = _welcomePage.WaitLogoExists(TimeSpan.FromSeconds(3));
            logoExists.Should()
            .BeTrue("any wiki page must have logo");
        }