@Test(dependsOnMethods = "checkSurchargeTest") public void changeProductOrderDataTest() { PartnersPages.priceManagementTab().clickOrderInformationTab(); PartnersPages.orderInformationTab().clickProductInShoppingCart(productData.getProductName()); PartnersPages.scheduleAdvancedTab().waitForProductPageLoad(productData.getProductUniqueId()); productData.setProductSize("10 columns"); productData.setProductSizeHeight("80"); Actions.advancedBookingActions().setProductData(productData); PartnersPages.orderInformationTab().clickSaveOrderButton(); }
@Test(dependsOnMethods = "selectCustomerTest") public void addProductToOrder() { productData = new ProductData(); productData.setProductName("Il Mattino della Domenica"); productData.setProductUniqueId("24206"); productData.setProductAdType("Ads"); productData.setProductHeading("Recommendations"); productData.setProductSubHeading("Base"); productData.setProductColor("B/W + 3 colors"); productData.setProductPrescriptionSize("Full material"); productData.setProductSize("2 columns"); productData.setProductSizeHeight("50"); productData.setProductDatesCount(1); productData.setProductContentType("07 Without digital transmission"); productData.setProductContentDescription("Description"); Actions.advancedBookingActions().addProductToShoppingCart(productData); PartnersPages.orderInformationTab().clickSaveOrderButton(); }