+Test toggling price per slice updates internal supply cells correctly + | |||
clickAndWait | +link=Internal | ++ | |
type | +field_my_internal_supply_line_base_unit_price | +0.00001 | + +|
type | +field_my_internal_supply_line_quantity_step_list | +11 21 |
+|
clickAndWait | +Base_edit:method | ++ | |
assertText | +field_my_internal_supply_line_quantity_step_list | +11.0 +21.0 | +|
assertText | +//input[@name="field_matrixbox_base_price_cell_0_0_0"]/../../../td[1] | +Quantity < 11.0 | +|
assertText | +//input[@name="field_matrixbox_base_price_cell_1_0_0"]/../../../td[1] | +11.0 <= Quantity < 21.0 | +|
assertText | +//input[@name="field_matrixbox_base_price_cell_2_0_0"]/../../../td[1] | +21.0 <= Quantity | +|
open | ++ | + | |
type | +//input[@name="field_my_quantity"] | +15 | +|
type | +//input[@name="field_my_price"] | ++ | |
clickAndWait | +Base_edit:method | ++ | |
assertFloatValue | +//input[@name="field_my_price"] | +9 | +|
open | +${base_url}/product_module/erp5_pdm_ui_test_product | ++ | |
clickAndWait | +link=Internal | ++ | |
open | ++ | + | |
type | +//input[@name="field_my_quantity"] | +15 | +|
type | +//input[@name="field_my_price"] | ++ | |
clickAndWait | +Base_edit:method | ++ | |
assertFloatValue | +//input[@name="field_my_price"] | +9.66667 | +|
open | +${base_url}/product_module/erp5_pdm_ui_test_product | ++ | |
clickAndWait | +link=Internal | ++ | |
open | ++ | + | |
type | +//input[@name="field_my_quantity"] | +15 | +|
type | +//input[@name="field_my_price"] | ++ | |
clickAndWait | +Base_edit:method | ++ | |
assertFloatValue | +//input[@name="field_my_price"] | +9 | +
+Test toggling price per slice updates purchase supply cells correctly + | |||
clickAndWait | +link=Purchase | ++ | |
type | +field_my_purchase_supply_line_base_unit_price | +0.00001 | + +|
type | +field_my_purchase_supply_line_quantity_step_list | +11 21 |
+|
clickAndWait | +Base_edit:method | ++ | |
assertText | +field_my_purchase_supply_line_quantity_step_list | +11.0 +21.0 | +|
assertText | +//input[@name="field_matrixbox_base_price_cell_0_0_0"]/../../../td[1] | +Quantity < 11.0 | +|
assertText | +//input[@name="field_matrixbox_base_price_cell_1_0_0"]/../../../td[1] | +11.0 <= Quantity < 21.0 | +|
assertText | +//input[@name="field_matrixbox_base_price_cell_2_0_0"]/../../../td[1] | +21.0 <= Quantity | +|
open | ++ | + | |
type | +//input[@name="field_my_quantity"] | +15 | +|
type | +//input[@name="field_my_price"] | ++ | |
clickAndWait | +Base_edit:method | ++ | |
assertFloatValue | +//input[@name="field_my_price"] | +9 | +|
open | +${base_url}/product_module/erp5_pdm_ui_test_product | ++ | |
clickAndWait | +link=Purchase | ++ | |
open | ++ | + | |
type | +//input[@name="field_my_quantity"] | +15 | +|
type | +//input[@name="field_my_price"] | ++ | |
clickAndWait | +Base_edit:method | ++ | |
assertFloatValue | +//input[@name="field_my_price"] | +9.66667 | +|
open | +${base_url}/product_module/erp5_pdm_ui_test_product | ++ | |
clickAndWait | +link=Purchase | ++ | |
open | ++ | + | |
type | +//input[@name="field_my_quantity"] | +15 | +|
type | +//input[@name="field_my_price"] | ++ | |
clickAndWait | +Base_edit:method | ++ | |
assertFloatValue | +//input[@name="field_my_price"] | +9 | +
+Test toggling price per slice updates sale supply cells correctly + | |||
clickAndWait | +link=Sale | ++ | |
type | +field_my_sale_supply_line_base_unit_price | +0.00001 | + +|
type | +field_my_sale_supply_line_quantity_step_list | +11 21 |
+|
clickAndWait | +Base_edit:method | ++ | |
assertText | +field_my_sale_supply_line_quantity_step_list | +11.0 +21.0 | +|
assertText | +//input[@name="field_matrixbox_base_price_cell_0_0_0"]/../../../td[1] | +Quantity < 11.0 | +|
assertText | +//input[@name="field_matrixbox_base_price_cell_1_0_0"]/../../../td[1] | +11.0 <= Quantity < 21.0 | +|
assertText | +//input[@name="field_matrixbox_base_price_cell_2_0_0"]/../../../td[1] | +21.0 <= Quantity | +|
open | ++ | + | |
type | +//input[@name="field_my_quantity"] | +15 | +|
type | +//input[@name="field_my_price"] | ++ | |
clickAndWait | +Base_edit:method | ++ | |
assertFloatValue | +//input[@name="field_my_price"] | +9 | +|
open | +${base_url}/product_module/erp5_pdm_ui_test_product | ++ | |
clickAndWait | +link=Sale | ++ | |
open | ++ | + | |
type | +//input[@name="field_my_quantity"] | +15 | +|
type | +//input[@name="field_my_price"] | ++ | |
clickAndWait | +Base_edit:method | ++ | |
assertFloatValue | +//input[@name="field_my_price"] | +9.66667 | +|
open | +${base_url}/product_module/erp5_pdm_ui_test_product | ++ | |
clickAndWait | +link=Sale | ++ | |
open | ++ | + | |
type | +//input[@name="field_my_quantity"] | +15 | +|
type | +//input[@name="field_my_price"] | ++ | |
clickAndWait | +Base_edit:method | ++ | |
assertFloatValue | +//input[@name="field_my_price"] | +9 | +
+Test quantity steps for price on internal supply line + | |||
open | +${base_url}/Zuite_deleteDataForTradeZuite | ++ | |
assertTextPresent | +Deleted Successfully. | ++ | |
open | +${base_url}/Zuite_waitForActivities | ++ | |
assertTextPresent | +Done. | ++ | |
open | +${base_url}/Zuite_resetForTradeZuite | ++ | |
assertTextPresent | +Reset Successfully. | ++ | |
open | ++ | + | |
assertTextPresent | +Internal Trade Condition Created. | ++ | |
open | +${base_url}/Zuite_waitForActivities | ++ | |
assertTextPresent | +Done. | ++ | |
open | ++ | + | |
type | +field_my_base_unit_price | +0.00001 | +|
clickAndWait | +Base_edit:method | ++ | |
clickAndWait | +link=Base Price | ++ | |
type | +field_my_quantity_step_list | +11 21 |
+|
clickAndWait | +Base_edit:method | ++ | |
assertText | +field_my_quantity_step_list | +11.0 21.0 | +|
assertText | +//input[@name="field_matrixbox_base_price_cell_0_0_0"]/../../../td[1] | +Quantity < 11.0 | +|
assertText | +//input[@name="field_matrixbox_base_price_cell_1_0_0"]/../../../td[1] | +11.0 <= Quantity < 21.0 | +|
assertText | +//input[@name="field_matrixbox_base_price_cell_2_0_0"]/../../../td[1] | +21.0 <= Quantity | +|
open | ++ | + | |
type | +//input[@name="field_my_quantity"] | +15 | +|
type | +//input[@name="field_my_price"] | ++ | |
clickAndWait | +Base_edit:method | ++ | |
assertFloatValue | +//input[@name="field_my_price"] | +9 | +|
open | +${base_url}/internal_trade_condition_module/erp5_trade_ui_test_trade_condition/1/InternalSupplyLine_viewBasePrice | ++ | |
open | ++ | + | |
type | +//input[@name="field_my_quantity"] | +15 | +|
type | +//input[@name="field_my_price"] | ++ | |
clickAndWait | +Base_edit:method | ++ | |
assertFloatValue | +//input[@name="field_my_price"] | +9.66667 | +|
open | +${base_url}/internal_trade_condition_module/erp5_trade_ui_test_trade_condition/1/InternalSupplyLine_viewBasePrice | ++ | |
open | ++ | + | |
type | +//input[@name="field_my_quantity"] | +15 | +|
type | +//input[@name="field_my_price"] | ++ | |
clickAndWait | +Base_edit:method | ++ | |
assertFloatValue | +//input[@name="field_my_price"] | +9 | +
+Test quantity steps for price on purchase supply line + | |||
open | +${base_url}/Zuite_deleteDataForTradeZuite | ++ | |
assertTextPresent | +Deleted Successfully. | ++ | |
open | +${base_url}/Zuite_waitForActivities | ++ | |
assertTextPresent | +Done. | ++ | |
open | +${base_url}/Zuite_resetForTradeZuite | ++ | |
assertTextPresent | +Reset Successfully. | ++ | |
open | ++ | + | |
assertTextPresent | +Purchase Trade Condition Created. | ++ | |
open | +${base_url}/Zuite_waitForActivities | ++ | |
assertTextPresent | +Done. | ++ | |
open | ++ | + | |
type | +field_my_base_unit_price | +0.00001 | +|
clickAndWait | +Base_edit:method | ++ | |
clickAndWait | +link=Base Price | ++ | |
type | +field_my_quantity_step_list | +11 21 |
+|
clickAndWait | +Base_edit:method | ++ | |
assertText | +field_my_quantity_step_list | +11.0 21.0 | +|
assertText | +//input[@name="field_matrixbox_base_price_cell_0_0_0"]/../../../td[1] | +Quantity < 11.0 | +|
assertText | +//input[@name="field_matrixbox_base_price_cell_1_0_0"]/../../../td[1] | +11.0 <= Quantity < 21.0 | +|
assertText | +//input[@name="field_matrixbox_base_price_cell_2_0_0"]/../../../td[1] | +21.0 <= Quantity | +|
open | ++ | + | |
type | +//input[@name="field_my_quantity"] | +15 | +|
type | +//input[@name="field_my_price"] | ++ | |
clickAndWait | +Base_edit:method | ++ | |
assertFloatValue | +//input[@name="field_my_price"] | +9 | +|
open | +${base_url}/purchase_trade_condition_module/erp5_trade_ui_test_trade_condition/1/PurchaseSupplyLine_viewBasePrice | ++ | |
open | ++ | + | |
type | +//input[@name="field_my_quantity"] | +15 | +|
type | +//input[@name="field_my_price"] | ++ | |
clickAndWait | +Base_edit:method | ++ | |
assertFloatValue | +//input[@name="field_my_price"] | +9.66667 | +|
open | +${base_url}/purchase_trade_condition_module/erp5_trade_ui_test_trade_condition/1/PurchaseSupplyLine_viewBasePrice | ++ | |
open | ++ | + | |
type | +//input[@name="field_my_quantity"] | +15 | +|
type | +//input[@name="field_my_price"] | ++ | |
clickAndWait | +Base_edit:method | ++ | |
assertFloatValue | +//input[@name="field_my_price"] | +9 | +
+Test quantity steps for price on sale supply line + | |||
open | +${base_url}/Zuite_deleteDataForTradeZuite | ++ | |
assertTextPresent | +Deleted Successfully. | ++ | |
open | +${base_url}/Zuite_waitForActivities | ++ | |
assertTextPresent | +Done. | ++ | |
open | +${base_url}/Zuite_resetForTradeZuite | ++ | |
assertTextPresent | +Reset Successfully. | ++ | |
open | ++ | + | |
assertTextPresent | +Sale Trade Condition Created. | ++ | |
open | +${base_url}/Zuite_waitForActivities | ++ | |
assertTextPresent | +Done. | ++ | |
open | ++ | + | |
type | +field_my_base_unit_price | +0.00001 | +|
clickAndWait | +Base_edit:method | ++ | |
clickAndWait | +link=Base Price | ++ | |
type | +field_my_quantity_step_list | +11 21 |
+|
clickAndWait | +Base_edit:method | ++ | |
assertText | +field_my_quantity_step_list | +11.0 21.0 | +|
assertText | +//input[@name="field_matrixbox_base_price_cell_0_0_0"]/../../../td[1] | +Quantity < 11.0 | +|
assertText | +//input[@name="field_matrixbox_base_price_cell_1_0_0"]/../../../td[1] | +11.0 <= Quantity < 21.0 | +|
assertText | +//input[@name="field_matrixbox_base_price_cell_2_0_0"]/../../../td[1] | +21.0 <= Quantity | +|
open | ++ | + | |
type | +//input[@name="field_my_quantity"] | +15 | +|
type | +//input[@name="field_my_price"] | ++ | |
clickAndWait | +Base_edit:method | ++ | |
assertFloatValue | +//input[@name="field_my_price"] | +9 | +|
open | +${base_url}/sale_trade_condition_module/erp5_trade_ui_test_trade_condition/1/SaleSupplyLine_viewBasePrice | ++ | |
open | ++ | + | |
type | +//input[@name="field_my_quantity"] | +15 | +|
type | +//input[@name="field_my_price"] | ++ | |
clickAndWait | +Base_edit:method | ++ | |
assertFloatValue | +//input[@name="field_my_price"] | +9.66667 | +|
open | +${base_url}/sale_trade_condition_module/erp5_trade_ui_test_trade_condition/1/SaleSupplyLine_viewBasePrice | ++ | |
open | ++ | + | |
type | +//input[@name="field_my_quantity"] | +15 | +|
type | +//input[@name="field_my_price"] | ++ | |
clickAndWait | +Base_edit:method | ++ | |
assertFloatValue | +//input[@name="field_my_price"] | +9 | +