public void VerifyIndNavigationBackV2()
 {
     CPQNavigate.NavigateToAccessoriesPage(Brand.IND, ModelPageUrl.INDIAN_SPRINGFIELD_BASE_TEST);
     BuildConfigurePage.WaitForBuildPageToLoad();
     Assert.IsTrue(BuildConfigurePage.IsNavigationBarDisplayed(), "Navigation bar is not present");
     BuildConfigurePage.ClickColorFromNavigationBar();
     BuildColorPage.WaitForColorPageToLoad();
     Assert.IsTrue(BuildColorPage.UrlContains(BUILD_COLOR_PART_URL));
     BuildConfigurePage.ClickCategoriesFromNavigationBar();
     Assert.IsTrue(BuildModelPage.UrlContains(BUILD_CATEGORY_PART_URL));
 }
Exemple #2
0
 private void CompleteSteppedProcessAndValidate()
 {
     BuildModelPage.ClickRandomModel();
     BuildColorPage.WaitForColorPageToLoad();
     BuildColorPage.ClickColor();
     BuildColorPage.ClickNextButton();
     BuildConfigurePage.WaitForBuildPageToLoad();
     BuildConfigurePage.ClickAccessoryCategory("Engine");
     BuildConfigurePage.ClickAccessorySubCategory("Intake");
     BuildConfigurePage.ClickRandomAccessoryCardAddButton();
     BuildConfigurePage.ClickIamFinishedButton();
     BuildQuotePage.WaitForBuildQuotePgeToLoad();
     BuildQuotePage.FillQuoteFormDefaultData();
     BuildQuotePage.ClickGetInternetPriceButton();
     BuildConfirmationPage.WaitForBuildConfirmationPageToLoad();
     BuildConfirmationPage.VerifyNewBuildConfirmationAsExpected();
 }
Exemple #3
0
 public void VerifyRestartBuildFunctionalityv2()
 {
     CPQNavigate.NavigateToCategoryPage(Brand.IND);
     BuildCategoryPage.WaitForCategoryPageToLoad();
     BuildCategoryPage.ClickOnIndianCategory("scout");
     BuildModelPage.ClickRandomModel();
     BuildColorPage.WaitForColorPageToLoad();
     BuildColorPage.ClickColor();
     BuildColorPage.ClickNextButton();
     BuildConfigurePage.WaitForBuildPageToLoad();
     BuildConfigurePage.ClickAccessoryCategory("Engine");
     BuildConfigurePage.ClickAccessorySubCategory("Intake");
     BuildConfigurePage.ClickSpecificAccessoryCardAddButton("Intake");
     BuildConfigurePage.VerifyItemsIdsPresentBuildSummary(new string[] { "2882519" });
     BuildConfigurePage.ClickBuildRestartButton();
     BuildConfigurePage.ClickConfirmationContinueButton();
     BuildConfigurePage.VerifyItemsIdsNotPresentBuildSummary(new string[] { "2882519" });
 }
 //[Test, Category(TestCategories.RZR), Category(TestCategories.STEPPED_PROCESS), RetryDynamic]
 public void VerifyRzrSteppedProcessFourSeat()
 {
     CPQNavigate.NavigateToModelsPage(Brand.RZR);
     BuildModelPage.WaitForBuildModelPageToLoad();
     BuildModelPage.ClickFourSeat();
     BuildModelPage.ClickRandomModel();
     BuildTrimPage.WaitForTrimPageToLoad();
     BuildTrimPage.ClickRandomTrim();
     BuildColorPage.WaitForColorPageToLoad();
     BuildColorPage.ClickColor();
     BuildColorPage.ClickNextButton();
     BuildConfigurePage.WaitForBuildPageToLoad();
     BuildConfigurePage.ClickRandomAccessoryAvoidPRP();
     BuildConfigurePage.ClickIamFinishedButton();
     BuildQuotePage.WaitForBuildQuotePgeToLoad();
     BuildQuotePage.FillQuoteFormDefaultData();
     BuildQuotePage.ClickGetInternetPriceButton();
     BuildConfirmationPage.WaitForBuildConfirmationPageToLoad();
     BuildConfirmationPage.VerifyNewBuildConfirmationAsExpected();
 }