Commit e5f441f6 authored by Nicolas Wavrant's avatar Nicolas Wavrant

fixup! erp5_pdm_ui_test: add tests for the "price per slice" checkbox

parent fdd7c7ec
...@@ -24,8 +24,7 @@ Test toggling price per slice updates internal supply cells correctly ...@@ -24,8 +24,7 @@ Test toggling price per slice updates internal supply cells correctly
<tr> <tr>
<td>type</td> <td>type</td>
<td>field_my_internal_supply_line_quantity_step_list</td> <td>field_my_internal_supply_line_quantity_step_list</td>
<td>11 <td>11<br />21</td>
21</td>
</tr> </tr>
<tr> <tr>
<td>clickAndWait</td> <td>clickAndWait</td>
...@@ -35,7 +34,8 @@ Test toggling price per slice updates internal supply cells correctly ...@@ -35,7 +34,8 @@ Test toggling price per slice updates internal supply cells correctly
<tr> <tr>
<td>assertText</td> <td>assertText</td>
<td>field_my_internal_supply_line_quantity_step_list</td> <td>field_my_internal_supply_line_quantity_step_list</td>
<td>11.0 21.0</td> <td>11.0
21.0</td>
<tr> <tr>
<td>assertText</td> <td>assertText</td>
<td>//input[@name="field_matrixbox_base_price_cell_0_0_0"]/../../../td[1]</td> <td>//input[@name="field_matrixbox_base_price_cell_0_0_0"]/../../../td[1]</td>
......
...@@ -24,8 +24,7 @@ Test toggling price per slice updates purchase supply cells correctly ...@@ -24,8 +24,7 @@ Test toggling price per slice updates purchase supply cells correctly
<tr> <tr>
<td>type</td> <td>type</td>
<td>field_my_purchase_supply_line_quantity_step_list</td> <td>field_my_purchase_supply_line_quantity_step_list</td>
<td>11 <td>11<br />21</td>
21</td>
</tr> </tr>
<tr> <tr>
<td>clickAndWait</td> <td>clickAndWait</td>
...@@ -35,7 +34,8 @@ Test toggling price per slice updates purchase supply cells correctly ...@@ -35,7 +34,8 @@ Test toggling price per slice updates purchase supply cells correctly
<tr> <tr>
<td>assertText</td> <td>assertText</td>
<td>field_my_purchase_supply_line_quantity_step_list</td> <td>field_my_purchase_supply_line_quantity_step_list</td>
<td>11.0 21.0</td> <td>11.0
21.0</td>
<tr> <tr>
<td>assertText</td> <td>assertText</td>
<td>//input[@name="field_matrixbox_base_price_cell_0_0_0"]/../../../td[1]</td> <td>//input[@name="field_matrixbox_base_price_cell_0_0_0"]/../../../td[1]</td>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment