private void ClickRandomModeTrimSeeSpecsLinkAndVerify() { BuildModelPage.WaitForBuildModelPageToLoad(); BuildModelPage.SelectRandomSeatOption(); BuildModelPage.ClickRandomModel(); BuildTrimPage.ClickRandomSeeSpecsLink(); Assert.IsTrue(BuildTrimPage.IsSeeSpecsModalDisplayed()); }
//[Test, Category(TestCategories.ACE), Category(TestCategories.STEPPED_PROCESS), RetryDynamic] public void VerifyAceSteppedProcess() { CPQNavigate.NavigateToModelsPage(Brand.ACE); BuildModelPage.WaitForBuildModelPageToLoad(); BuildModelPage.ClickRandomModel(); BuildConfigurePage.WaitForBuildPageToLoad(); BuildConfigurePage.ClickRandomAccessoryAvoidPRP(); BuildConfigurePage.ClickIamFinishedButton(); BuildQuotePage.WaitForBuildQuotePgeToLoad(); BuildQuotePage.FillQuoteFormDefaultData(); BuildQuotePage.ClickGetInternetPriceButton(); BuildConfirmationPage.WaitForBuildConfirmationPageToLoad(); BuildConfirmationPage.VerifyNewBuildConfirmationAsExpected(); }
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(); }
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(); }