Commit b162a3ec authored by Jérome Perrin's avatar Jérome Perrin

update the test now that lines are sorted properly on sales invoice transactions

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34494 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 6e7a2700
......@@ -131,12 +131,10 @@ Test for Creating Reversal Transaction for a Sale Invoice Transaction\n
<td>3 records</td>\n
</tr>\n
\n
<!-- XXX all this ordering is wrong; make sure to update this test after\n
fixing. -->\n
<tr>\n
<td>select</td>\n
<td>//tr[@id=\'listbox_data_line_0\']/td[3]/select</td>\n
<td>label=7 - Goods Sales</td>\n
<td>label=41 - Receivable</td>\n
</tr>\n
<tr>\n
<td>select</td>\n
......@@ -146,12 +144,12 @@ fixing. -->\n
<tr>\n
<td>select</td>\n
<td>//tr[@id=\'listbox_data_line_2\']/td[3]/select</td>\n
<td>label=41 - Receivable</td>\n
<td>label=7 - Goods Sales</td>\n
</tr>\n
<tr>\n
<td>type</td>\n
<td>//tr[@id=\'listbox_data_line_0\']/td[5]/input</td>\n
<td>11.0</td>\n
<td>//tr[@id=\'listbox_data_line_0\']/td[4]/input</td>\n
<td>10.0</td>\n
</tr>\n
<tr>\n
<td>type</td>\n
......@@ -160,8 +158,8 @@ fixing. -->\n
</tr>\n
<tr>\n
<td>type</td>\n
<td>//tr[@id=\'listbox_data_line_2\']/td[4]/input</td>\n
<td>10.0</td>\n
<td>//tr[@id=\'listbox_data_line_2\']/td[5]/input</td>\n
<td>11.0</td>\n
</tr>\n
<tr>\n
<td>clickAndWait</td>\n
......@@ -288,11 +286,10 @@ delivered.\n
<td>//span[@id=\'listbox_record_number\']</td>\n
<td>3 records</td>\n
</tr>\n
<!-- Same as above, bad ordering ... -->\n
<tr>\n
<td>assertValue</td>\n
<td>//tr[@id=\'listbox_data_line_0\']/td[3]/select</td>\n
<td>account_module/receivable</td>\n
<td>account_module/goods_sales</td>\n
</tr>\n
<tr>\n
<td>assertValue</td>\n
......@@ -302,17 +299,17 @@ delivered.\n
<tr>\n
<td>assertValue</td>\n
<td>//tr[@id=\'listbox_data_line_2\']/td[3]/select</td>\n
<td>account_module/goods_sales</td>\n
<td>account_module/receivable</td>\n
</tr>\n
<tr>\n
<td>assertFloatValue</td>\n
<td>//tr[@id=\'listbox_data_line_0\']/td[4]/input</td>\n
<td>0.0</td> \n
<td>11.0</td>\n
</tr>\n
<tr>\n
<td>assertFloatValue</td>\n
<td>//tr[@id=\'listbox_data_line_0\']/td[5]/input</td>\n
<td>10.0</td> \n
<td>0.0</td>\n
</tr>\n
<tr>\n
<td>assertFloatValue</td>\n
......@@ -327,12 +324,12 @@ delivered.\n
<tr>\n
<td>assertFloatValue</td>\n
<td>//tr[@id=\'listbox_data_line_2\']/td[4]/input</td>\n
<td>11.0</td>\n
<td>0.0</td> \n
</tr>\n
<tr>\n
<td>assertFloatValue</td>\n
<td>//tr[@id=\'listbox_data_line_2\']/td[5]/input</td>\n
<td>0.0</td>\n
<td>10.0</td> \n
</tr>\n
<!-- }}} -->\n
\n
......
149
\ No newline at end of file
150
\ No newline at end of file
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