@Test(dependsOnMethods = "loginTest")
  public void selectCustomerTest() {

    customerData =
        SerializeHelper.deserializeObject(
            CustomerData.class, Constants.CUSTOMER_SERIALIZE_FILENAME);

    if (customerData == null) {
      customerData = DataFactory.generateDefaultCustomer(CustomerType.PROF_ADVERTISER);
      Actions.partnerActions().createCustomer(customerData);
      SerializeHelper.serializeObject(customerData, Constants.CUSTOMER_SERIALIZE_FILENAME);
    }

    Actions.partnerActions().searchPartnerByName(customerData.getCompanyName());
    Actions.partnerActions().openAdvancedBooking(customerData.getCompanyName());
  }
  @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();
  }
 @Test(dataProvider = "loginData")
 public void loginTest(String login, String password) {
   Actions.loginActions().openLoginPage();
   Actions.loginActions().doLogin(login, password, Constants.DEFAULT_SYSTEM_LANGUAGE);
 }