public void VerifyBackNavigationBarGem()
 {
     CPQNavigate.NavigateToAccessoriesPage(Brand.GEM, ModelPageUrl.GEM_EL_XD_BASE_TEST);
     Accessories.NavigationBarModule.WaitForNavigationBarToLoad();
     Accessories.NavigationBarModule.ClickModelsNavigation();
     Accessories.ClickConfirmationBuildContinueButton();
     Assert.IsTrue(Models.IsChooseModelTitleDisplayed(), "Choose Model title is not displayed");
 }
 public void VerifyAccessoriesPageHeaderElementsGem()
 {
     CPQNavigate.NavigateToAccessoriesPage(Brand.GEM, ModelPageUrl.GEM_EL_XD_BASE_TEST);
     Accessories.WaitForAccessoriesPageToLoad();
     Assert.IsTrue(Accessories.HeaderModule.IsHeaderSignInIconDisplayed(), "Header Sign In is not displayed");
     Assert.IsTrue(Accessories.HeaderModule.IsHeaderBrandNameDisplayed("GEM"), "Header brand name not displayed");
     Assert.IsFalse(Accessories.HeaderModule.IsSaveHeaderIconDisplayed(), "Save icon was not expected to be displayed");
     Assert.IsFalse(Accessories.HeaderModule.IsEmailHeaderIconDisplayed(), "Email icon was not expected to be displayed");
     Accessories.HeaderModule.ClickHeaderCloseIcon();
     Accessories.ClickConfirmationBuildContinueButton();
     Assert.AreEqual(CPQNavigate.GetCurrentUrl(), UrlBuilder.getGemLandingPageURL());
 }
 public void VerifyToolbarRestartBuildFunctionalityRan()
 {
     CPQNavigate.NavigateToAccessoriesPage(Brand.RAN, ModelPageUrl.RANGER_500_SAGE_GREEN_ACCESSORIES);
     Accessories.WaitForAccessoriesPageToLoad();
     Accessories.ClickCategoryByName("Wheel");
     Accessories.ClickSubcategoryByName("Trail");
     Accessories.ClickAccessoryAddByProductName("Buckle- Accent");
     Assert.IsTrue(Accessories.Toolbar.IsToolbarDisplayed(), "Toolbar was not displayed");
     Accessories.Toolbar.ClickToolbarRestartIcon();
     Accessories.ClickConfirmationBuildContinueButton();
     Accessories.FooterModule.OpenBuildSummary();
     Accessories.WaitUntilBuildSummaryIsDisplayed();
     Accessories.VerifyItemsDescNotPresentBuildSummary(new string[] { "Buckle- Accent" });
 }
 public void VerifyToolbarRestartBuildFunctionalitySno()
 {
     CPQNavigate.NavigateToAccessoriesPage(Brand.SNO, ModelPageUrl.SNO_SWITCHBACK_600_BASE_TEST);
     Accessories.WaitForAccessoriesPageToLoad();
     Accessories.ClickCategoryByName("Protection");
     Accessories.ClickSubcategoryByName("Covers");
     Accessories.ClickAccessoryAddByProductName("Cover - Black");
     Assert.IsTrue(Accessories.Toolbar.IsToolbarDisplayed(), "Toolbar is not displayed");
     Accessories.Toolbar.ClickToolbarRestartIcon();
     Accessories.ClickConfirmationBuildContinueButton();
     Accessories.FooterModule.OpenBuildSummary();
     Accessories.WaitUntilBuildSummaryIsDisplayed();
     Accessories.VerifyItemsDescNotPresentBuildSummary(new string[] { "Cover - Black" });
 }
示例#5
0
 public void VerifyToolbarRestartBuildFunctionalityAtv()
 {
     CPQNavigate.NavigateToAccessoriesPage(Brand.ATV, ModelPageUrl.ATV_450_HO_BASE_TEST);
     Accessories.WaitForAccessoriesPageToLoad();
     Accessories.ClickCategoryByName("Protection");
     Accessories.ClickSubcategoryByName("Handguards");
     Accessories.ClickAccessoryAddByProductName("Handguards");
     Assert.IsTrue(Accessories.Toolbar.IsToolbarDisplayed(), "Toolbar was not displayed");
     Accessories.Toolbar.ClickToolbarRestartIcon();
     Accessories.ClickConfirmationBuildContinueButton();
     Accessories.FooterModule.OpenBuildSummary();
     Accessories.WaitUntilBuildSummaryIsDisplayed();
     Accessories.VerifyItemsDescNotPresentBuildSummary(new string[] { "Handguards" });
 }
 public void VerifyToolbarRestartBuildFunctionalityRzr()
 {
     CPQNavigate.NavigateToAccessoriesPage(Brand.RZR, ModelPageUrl.RZR_XP_1000_EPS_BASE_TEST);
     Accessories.WaitForAccessoriesPageToLoad();
     Accessories.ClickCategoryByName("Tire & Wheel Sets");
     Accessories.ClickSubcategoryByName("Trail");
     Accessories.ClickAccessoryAddByProductName("Wheel & Tire Set");
     Assert.IsTrue(Accessories.Toolbar.IsToolbarDisplayed(), "Toolbar was not displayed");
     Accessories.Toolbar.ClickToolbarRestartIcon();
     Accessories.ClickConfirmationBuildContinueButton();
     Accessories.FooterModule.OpenBuildSummary();
     Accessories.WaitUntilBuildSummaryIsDisplayed();
     Accessories.VerifyItemsDescNotPresentBuildSummary(new string[] { "Wheel & Tire Set" });
 }