Ejemplo n.º 1
0
        public void ShouldOpenInformationPageFromMainMenu(string menuTitle, string expectedPageHeader)
        {
            var siteNavigator = new SiteNavigator(_driver);

            var informationPage = siteNavigator.OpenInformationPage(menuTitle);

            Assert.AreEqual(expectedPageHeader, informationPage.Header.GetInnerHtml());
        }
Ejemplo n.º 2
0
        public void ShouldBeAbleToOpenPhoneCallPopupFromSalePage()
        {
            var siteNavigator = new SiteNavigator(_driver);

            var salePage = siteNavigator.OpenSalePage();

            var phoneCallPopup = salePage.OpenPhoneCallPopup();

            phoneCallPopup.ClosePopup();
        }
Ejemplo n.º 3
0
        public void ShouldBeAbleToOpenPhoneCallPopupFromInformationPage()
        {
            var siteNavigator = new SiteNavigator(_driver);

            var informationPage = siteNavigator.OpenInformationPage("Гарантия и возврат");

            var phoneCallPopup = informationPage.OpenPhoneCallPopup();

            phoneCallPopup.ClosePopup();
        }
Ejemplo n.º 4
0
        public void ShouldBeAbleToOpenPhoneCallPopupFromCategoryPage()
        {
            var siteNavigator = new SiteNavigator(_driver);

            var categoryPage = siteNavigator.OpenCategoryPage("Немецкие");

            var phoneCallPopup = categoryPage.OpenPhoneCallPopup();

            phoneCallPopup.ClosePopup();
        }
Ejemplo n.º 5
0
        public void ShouldBeAbleToOpenPhoneCallPopupFromManufacturerPage()
        {
            var siteNavigator = new SiteNavigator(_driver);

            var manufacturerPage = siteNavigator.OpenManufacturerPage("Swiss Military");

            var phoneCallPopup = manufacturerPage.OpenPhoneCallPopup();

            phoneCallPopup.ClosePopup();
        }
Ejemplo n.º 6
0
        public void ShouldBeAbleToOpenPhoneCallPopupFromProductPage()
        {
            var siteNavigator = new SiteNavigator(_driver);

            siteNavigator.OpenManufacturerPage("Swiss Military");

            var productPage = siteNavigator.OpenProductPage("Swiss Military SMP36010.09");

            var phoneCallPopup = productPage.OpenPhoneCallPopup();

            phoneCallPopup.ClosePopup();
        }