コード例 #1
0
 @Issue("MAT-29")
 @Pending
 @Test
 public void create_a_shipment_for_order() {
   createAnOrderSteps.click_create_order_btn();
   createAnOrderSteps.select_customer(emailExisting);
   createAnOrderSteps.select_engish_storeview();
   createAnOrderSteps.add_products_to_cart(productId);
   createAnOrderSteps.select_payment_shipment();
   createAnOrderSteps.click_submit_btn();
   manageSingleOrderSteps.create_shipment_for_order();
   manageSingleOrderSteps.check_success_message(shipmentMessage);
 }
コード例 #2
0
 @Issue("MAT-30")
 @Pending
 @Test
 public void can_user_create_a_full_refund_credit_memo() {
   createAnOrderSteps.click_create_order_btn();
   createAnOrderSteps.select_customer(emailExisting);
   createAnOrderSteps.select_engish_storeview();
   createAnOrderSteps.add_products_to_cart(productId);
   createAnOrderSteps.select_payment_shipment();
   createAnOrderSteps.click_submit_btn();
   manageSingleOrderSteps.create_an_invoice_for_order();
   manageSingleOrderSteps.create_shipment_for_order();
   manageSingleOrderSteps.start_creating_credit_memo();
   manageSingleOrderSteps.submit_credit_memo();
   manageSingleOrderSteps.check_success_message(creditMemoMessage);
 }
コード例 #3
0
 @Issue("MAT-32")
 @Pending
 @Test
 public void can_user_reorder_from_admin() {
   createAnOrderSteps.click_create_order_btn();
   createAnOrderSteps.select_customer(emailExisting);
   createAnOrderSteps.select_engish_storeview();
   createAnOrderSteps.add_products_to_cart(productId);
   createAnOrderSteps.select_payment_shipment();
   createAnOrderSteps.click_submit_btn();
   manageSingleOrderSteps.click_reorder_btn();
   manageSingleOrderSteps.check_correct_product_reordered();
   manageSingleOrderSteps.check_shipment_method_is_selected();
   manageSingleOrderSteps.check_payment_method_is_selected();
   createAnOrderSteps.click_submit_btn();
   manageSingleOrderSteps.check_success_message(orderMessage);
 }