Commit f6863601 authored by Tatuya Kamada's avatar Tatuya Kamada Committed by Arnaud Fontaine

Follow new listbox sort button style on the functional tests of erp5_accounting_ui_test.

parent 323e311c
...@@ -121,15 +121,21 @@ Test `preferred_gap_id` column of Account Module\n ...@@ -121,15 +121,21 @@ Test `preferred_gap_id` column of Account Module\n
\n \n
<!-- make sure we are sorted by preferred_gap_id ASC -->\n <!-- make sure we are sorted by preferred_gap_id ASC -->\n
<tr>\n <tr>\n
<!-- sort by title, to reset any sort on preferred_gap_id -->\n <td>storeLocation</td>\n
<td>clickAndWait</td>\n <td>current_account_url</td>\n
<td>//button[@value=\'listbox.title\']</td>\n <td></td>\n
</tr>\n
<tr>\n
<!-- reset any sort on preferred_gap_id. previously here was sorting by title, \n
but now we can sort by multiple columns, so sort by title does not reset sorting. -->\n
<td>openAndWait</td>\n
<td>${current_account_url}&reset=int:1</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<!-- sort by preferred_gap_id -->\n <!-- sort by preferred_gap_id -->\n
<td>clickAndWait</td>\n <td>clickAndWait</td>\n
<td>//button[@value=\'listbox.preferred_gap_id\']</td>\n <td>//button[@value=\'listbox.preferred_gap_id:asc\']</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
...@@ -153,7 +159,7 @@ Test `preferred_gap_id` column of Account Module\n ...@@ -153,7 +159,7 @@ Test `preferred_gap_id` column of Account Module\n
<tr>\n <tr>\n
<!-- sort by preferred_gap_id -->\n <!-- sort by preferred_gap_id -->\n
<td>clickAndWait</td>\n <td>clickAndWait</td>\n
<td>//button[@value=\'listbox.preferred_gap_id\']</td>\n <td>//button[@value=\'listbox.preferred_gap_id:desc\']</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
...@@ -181,8 +187,7 @@ Test `preferred_gap_id` column of Account Module\n ...@@ -181,8 +187,7 @@ Test `preferred_gap_id` column of Account Module\n
</tbody></table>\n </tbody></table>\n
</body>\n </body>\n
</html> <!-- vim: syntax=html foldmethod=marker\n </html> <!-- vim: syntax=html foldmethod=marker\n
-->\n -->
]]></unicode> </value> ]]></unicode> </value>
</item> </item>
......
...@@ -87,15 +87,21 @@ Test `preferred_gap_id` column of Account Module\n ...@@ -87,15 +87,21 @@ Test `preferred_gap_id` column of Account Module\n
\n \n
<!-- make sure we are sorted by preferred_gap_id ASC -->\n <!-- make sure we are sorted by preferred_gap_id ASC -->\n
<tr>\n <tr>\n
<!-- sort by title, to reset any sort on preferred_gap_id -->\n <td>storeLocation</td>\n
<td>clickAndWait</td>\n <td>current_account_url</td>\n
<td>//button[@value=\'listbox.title\']</td>\n <td></td>\n
</tr>\n
<tr>\n
<!-- reset any sort on preferred_gap_id. previously here was sorting by title, \n
but now we can sort by multiple columns, so sort by title does not reset sorting. -->\n
<td>openAndWait</td>\n
<td>${current_account_url}&reset=int:1</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<!-- sort by preferred_gap_id -->\n <!-- sort by preferred_gap_id -->\n
<td>clickAndWait</td>\n <td>clickAndWait</td>\n
<td>//button[@value=\'listbox.preferred_gap_id\']</td>\n <td>//button[@value=\'listbox.preferred_gap_id:asc\']</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
...@@ -124,7 +130,7 @@ Test `preferred_gap_id` column of Account Module\n ...@@ -124,7 +130,7 @@ Test `preferred_gap_id` column of Account Module\n
<tr>\n <tr>\n
<!-- sort by preferred_gap_id -->\n <!-- sort by preferred_gap_id -->\n
<td>clickAndWait</td>\n <td>clickAndWait</td>\n
<td>//button[@value=\'listbox.preferred_gap_id\']</td>\n <td>//button[@value=\'listbox.preferred_gap_id:desc\']</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
...@@ -152,7 +158,7 @@ Test `preferred_gap_id` column of Account Module\n ...@@ -152,7 +158,7 @@ Test `preferred_gap_id` column of Account Module\n
<tr>\n <tr>\n
<!-- make sure we end up sorting in ASCENDING-->\n <!-- make sure we end up sorting in ASCENDING-->\n
<td>clickAndWait</td>\n <td>clickAndWait</td>\n
<td>//button[@value=\'listbox.preferred_gap_id\']</td>\n <td>//button[@value=\'listbox.preferred_gap_id:asc\']</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
\n \n
...@@ -160,8 +166,7 @@ Test `preferred_gap_id` column of Account Module\n ...@@ -160,8 +166,7 @@ Test `preferred_gap_id` column of Account Module\n
</tbody></table>\n </tbody></table>\n
</body>\n </body>\n
</html> <!-- vim: syntax=html foldmethod=marker\n </html> <!-- vim: syntax=html foldmethod=marker\n
-->\n -->
]]></unicode> </value> ]]></unicode> </value>
</item> </item>
......
...@@ -91,7 +91,7 @@ Test sort for Accounting module main listbox\n ...@@ -91,7 +91,7 @@ Test sort for Accounting module main listbox\n
<!-- sort by title {{{ -->\n <!-- sort by title {{{ -->\n
<tr>\n <tr>\n
<td>clickAndWait</td>\n <td>clickAndWait</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and @value=\'listbox.title\']</td>\n <td>//button[@name=\'setSelectionQuickSortOrder:method\' and @value=\'listbox.title:asc\']</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
...@@ -129,7 +129,7 @@ Test sort for Accounting module main listbox\n ...@@ -129,7 +129,7 @@ Test sort for Accounting module main listbox\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>clickAndWait</td>\n <td>clickAndWait</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and @value=\'listbox.title\']</td>\n <td>//button[@name=\'setSelectionQuickSortOrder:method\' and @value=\'listbox.title:desc\']</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
...@@ -160,10 +160,21 @@ Test sort for Accounting module main listbox\n ...@@ -160,10 +160,21 @@ Test sort for Accounting module main listbox\n
<!-- }}} -->\n <!-- }}} -->\n
\n \n
<!-- sort by type {{{ -->\n <!-- sort by type {{{ -->\n
<tr>\n
<td>assertElementPresent</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and @value=\'listbox.title:none\']</td>\n
<td></td>\n
</tr>\n
<tr>\n
<!-- reset title sorting -->\n
<td>clickAndWait</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and @value=\'listbox.title:none\']</td>\n
<td></td>\n
</tr>\n
<tr>\n <tr>\n
<td>clickAndWait</td>\n <td>clickAndWait</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and\n <td>//button[@name=\'setSelectionQuickSortOrder:method\' and\n
@value=\'listbox.translated_portal_type\']</td>\n @value=\'listbox.translated_portal_type:asc\']</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
...@@ -187,7 +198,7 @@ Test sort for Accounting module main listbox\n ...@@ -187,7 +198,7 @@ Test sort for Accounting module main listbox\n
<tr>\n <tr>\n
<td>clickAndWait</td>\n <td>clickAndWait</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and\n <td>//button[@name=\'setSelectionQuickSortOrder:method\' and\n
@value=\'listbox.translated_portal_type\']</td>\n @value=\'listbox.translated_portal_type:desc\']</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
...@@ -208,10 +219,21 @@ Test sort for Accounting module main listbox\n ...@@ -208,10 +219,21 @@ Test sort for Accounting module main listbox\n
<!-- }}} -->\n <!-- }}} -->\n
\n \n
<!-- sort by date {{{ -->\n <!-- sort by date {{{ -->\n
<tr>\n
<td>assertElementPresent</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and @value=\'listbox.translated_portal_type:none\']</td>\n
<td></td>\n
</tr>\n
<tr>\n
<!-- reset type sorting -->\n
<td>clickAndWait</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and @value=\'listbox.translated_portal_type:none\']</td>\n
<td></td>\n
</tr>\n
<tr>\n <tr>\n
<td>clickAndWait</td>\n <td>clickAndWait</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and\n <td>//button[@name=\'setSelectionQuickSortOrder:method\' and\n
@value=\'listbox.operation_date\']</td>\n @value=\'listbox.operation_date:asc\']</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
...@@ -245,7 +267,7 @@ Test sort for Accounting module main listbox\n ...@@ -245,7 +267,7 @@ Test sort for Accounting module main listbox\n
<tr>\n <tr>\n
<td>clickAndWait</td>\n <td>clickAndWait</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and\n <td>//button[@name=\'setSelectionQuickSortOrder:method\' and\n
@value=\'listbox.operation_date\']</td>\n @value=\'listbox.operation_date:desc\']</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
...@@ -276,6 +298,17 @@ Test sort for Accounting module main listbox\n ...@@ -276,6 +298,17 @@ Test sort for Accounting module main listbox\n
<!-- }}} -->\n <!-- }}} -->\n
\n \n
<!-- sort by reference {{{ -->\n <!-- sort by reference {{{ -->\n
<tr>\n
<td>assertElementPresent</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and @value=\'listbox.operation_date:none\']</td>\n
<td></td>\n
</tr>\n
<tr>\n
<!-- reset date sorting -->\n
<td>clickAndWait</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and @value=\'listbox.operation_date:none\']</td>\n
<td></td>\n
</tr>\n
<tr>\n <tr>\n
<td>type</td>\n <td>type</td>\n
<td>listbox_reference</td>\n <td>listbox_reference</td>\n
...@@ -285,7 +318,7 @@ Test sort for Accounting module main listbox\n ...@@ -285,7 +318,7 @@ Test sort for Accounting module main listbox\n
<tr>\n <tr>\n
<td>clickAndWait</td>\n <td>clickAndWait</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and\n <td>//button[@name=\'setSelectionQuickSortOrder:method\' and\n
@value=\'listbox.reference\']</td>\n @value=\'listbox.reference:asc\']</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
...@@ -309,7 +342,7 @@ Test sort for Accounting module main listbox\n ...@@ -309,7 +342,7 @@ Test sort for Accounting module main listbox\n
<tr>\n <tr>\n
<td>clickAndWait</td>\n <td>clickAndWait</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and\n <td>//button[@name=\'setSelectionQuickSortOrder:method\' and\n
@value=\'listbox.reference\']</td>\n @value=\'listbox.reference:desc\']</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
...@@ -339,10 +372,22 @@ Test sort for Accounting module main listbox\n ...@@ -339,10 +372,22 @@ Test sort for Accounting module main listbox\n
<!-- }}} -->\n <!-- }}} -->\n
\n \n
<!-- sort by specific reference {{{ -->\n <!-- sort by specific reference {{{ -->\n
<tr>\n
<td>assertElementPresent</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and @value=\'listbox.reference:none\']</td>\n
<td></td>\n
</tr>\n
<tr>\n
<!-- reset reference sorting -->\n
<td>clickAndWait</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and\n
@value=\'listbox.reference:none\']</td>\n
<td></td>\n
</tr>\n
<tr>\n <tr>\n
<td>clickAndWait</td>\n <td>clickAndWait</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and\n <td>//button[@name=\'setSelectionQuickSortOrder:method\' and\n
@value=\'listbox.specific_reference\']</td>\n @value=\'listbox.specific_reference:asc\']</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
...@@ -376,7 +421,7 @@ Test sort for Accounting module main listbox\n ...@@ -376,7 +421,7 @@ Test sort for Accounting module main listbox\n
<tr>\n <tr>\n
<td>clickAndWait</td>\n <td>clickAndWait</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and\n <td>//button[@name=\'setSelectionQuickSortOrder:method\' and\n
@value=\'listbox.specific_reference\']</td>\n @value=\'listbox.specific_reference:desc\']</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
...@@ -407,10 +452,22 @@ Test sort for Accounting module main listbox\n ...@@ -407,10 +452,22 @@ Test sort for Accounting module main listbox\n
<!-- }}} -->\n <!-- }}} -->\n
\n \n
<!-- sort by simulation state {{{ -->\n <!-- sort by simulation state {{{ -->\n
<tr>\n
<td>assertElementPresent</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and @value=\'listbox.specific_reference:none\']</td>\n
<td></td>\n
</tr>\n
<tr>\n
<!-- reset specific_reference sorting -->\n
<td>clickAndWait</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and\n
@value=\'listbox.specific_reference:none\']</td>\n
<td></td>\n
</tr>\n
<tr>\n <tr>\n
<td>clickAndWait</td>\n <td>clickAndWait</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and\n <td>//button[@name=\'setSelectionQuickSortOrder:method\' and\n
@value=\'listbox.translated_simulation_state_title\']</td>\n @value=\'listbox.translated_simulation_state_title:asc\']</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
......
...@@ -80,7 +80,7 @@ Test sort for Accounting module main listbox, without section\n ...@@ -80,7 +80,7 @@ Test sort for Accounting module main listbox, without section\n
<!-- sort by title {{{ -->\n <!-- sort by title {{{ -->\n
<tr>\n <tr>\n
<td>clickAndWait</td>\n <td>clickAndWait</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and @value=\'listbox.title\']</td>\n <td>//button[@name=\'setSelectionQuickSortOrder:method\' and @value=\'listbox.title:asc\']</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
...@@ -118,7 +118,7 @@ Test sort for Accounting module main listbox, without section\n ...@@ -118,7 +118,7 @@ Test sort for Accounting module main listbox, without section\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>clickAndWait</td>\n <td>clickAndWait</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and @value=\'listbox.title\']</td>\n <td>//button[@name=\'setSelectionQuickSortOrder:method\' and @value=\'listbox.title:desc\']</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
...@@ -149,10 +149,21 @@ Test sort for Accounting module main listbox, without section\n ...@@ -149,10 +149,21 @@ Test sort for Accounting module main listbox, without section\n
<!-- }}} -->\n <!-- }}} -->\n
\n \n
<!-- sort by type {{{ -->\n <!-- sort by type {{{ -->\n
<tr>\n
<td>assertElementPresent</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and @value=\'listbox.title:none\']</td>\n
<td></td>\n
</tr>\n
<tr>\n
<!-- reset title sorting -->\n
<td>clickAndWait</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and @value=\'listbox.title:none\']</td>\n
<td></td>\n
</tr>\n
<tr>\n <tr>\n
<td>clickAndWait</td>\n <td>clickAndWait</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and\n <td>//button[@name=\'setSelectionQuickSortOrder:method\' and\n
@value=\'listbox.translated_portal_type\']</td>\n @value=\'listbox.translated_portal_type:asc\']</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
...@@ -176,7 +187,7 @@ Test sort for Accounting module main listbox, without section\n ...@@ -176,7 +187,7 @@ Test sort for Accounting module main listbox, without section\n
<tr>\n <tr>\n
<td>clickAndWait</td>\n <td>clickAndWait</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and\n <td>//button[@name=\'setSelectionQuickSortOrder:method\' and\n
@value=\'listbox.translated_portal_type\']</td>\n @value=\'listbox.translated_portal_type:desc\']</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
...@@ -197,10 +208,21 @@ Test sort for Accounting module main listbox, without section\n ...@@ -197,10 +208,21 @@ Test sort for Accounting module main listbox, without section\n
<!-- }}} -->\n <!-- }}} -->\n
\n \n
<!-- sort by date {{{ -->\n <!-- sort by date {{{ -->\n
<tr>\n
<td>assertElementPresent</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and @value=\'listbox.translated_portal_type:none\']</td>\n
<td></td>\n
</tr>\n
<tr>\n
<!-- reset type sorting -->\n
<td>clickAndWait</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and @value=\'listbox.translated_portal_type:none\']</td>\n
<td></td>\n
</tr>\n
<tr>\n <tr>\n
<td>clickAndWait</td>\n <td>clickAndWait</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and\n <td>//button[@name=\'setSelectionQuickSortOrder:method\' and\n
@value=\'listbox.operation_date\']</td>\n @value=\'listbox.operation_date:asc\']</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
...@@ -215,7 +237,7 @@ Test sort for Accounting module main listbox, without section\n ...@@ -215,7 +237,7 @@ Test sort for Accounting module main listbox, without section\n
<tr>\n <tr>\n
<td>clickAndWait</td>\n <td>clickAndWait</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and\n <td>//button[@name=\'setSelectionQuickSortOrder:method\' and\n
@value=\'listbox.operation_date\']</td>\n @value=\'listbox.operation_date:desc\']</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
...@@ -227,6 +249,17 @@ Test sort for Accounting module main listbox, without section\n ...@@ -227,6 +249,17 @@ Test sort for Accounting module main listbox, without section\n
<!-- }}} -->\n <!-- }}} -->\n
\n \n
<!-- sort by reference {{{ -->\n <!-- sort by reference {{{ -->\n
<tr>\n
<td>assertElementPresent</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and @value=\'listbox.operation_date:none\']</td>\n
<td></td>\n
</tr>\n
<tr>\n
<!-- reset date sorting -->\n
<td>clickAndWait</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and @value=\'listbox.operation_date:none\']</td>\n
<td></td>\n
</tr>\n
<tr>\n <tr>\n
<td>type</td>\n <td>type</td>\n
<td>listbox_reference</td>\n <td>listbox_reference</td>\n
...@@ -236,7 +269,7 @@ Test sort for Accounting module main listbox, without section\n ...@@ -236,7 +269,7 @@ Test sort for Accounting module main listbox, without section\n
<tr>\n <tr>\n
<td>clickAndWait</td>\n <td>clickAndWait</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and\n <td>//button[@name=\'setSelectionQuickSortOrder:method\' and\n
@value=\'listbox.reference\']</td>\n @value=\'listbox.reference:asc\']</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
...@@ -260,7 +293,7 @@ Test sort for Accounting module main listbox, without section\n ...@@ -260,7 +293,7 @@ Test sort for Accounting module main listbox, without section\n
<tr>\n <tr>\n
<td>clickAndWait</td>\n <td>clickAndWait</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and\n <td>//button[@name=\'setSelectionQuickSortOrder:method\' and\n
@value=\'listbox.reference\']</td>\n @value=\'listbox.reference:desc\']</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
...@@ -290,10 +323,22 @@ Test sort for Accounting module main listbox, without section\n ...@@ -290,10 +323,22 @@ Test sort for Accounting module main listbox, without section\n
<!-- }}} -->\n <!-- }}} -->\n
\n \n
<!-- sort by specific reference {{{ -->\n <!-- sort by specific reference {{{ -->\n
<tr>\n
<td>assertElementPresent</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and @value=\'listbox.reference:none\']</td>\n
<td></td>\n
</tr>\n
<tr>\n
<!-- reset reference sorting -->\n
<td>clickAndWait</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and\n
@value=\'listbox.reference:none\']</td>\n
<td></td>\n
</tr>\n
<tr>\n <tr>\n
<td>clickAndWait</td>\n <td>clickAndWait</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and\n <td>//button[@name=\'setSelectionQuickSortOrder:method\' and\n
@value=\'listbox.specific_reference\']</td>\n @value=\'listbox.specific_reference:asc\']</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
...@@ -308,7 +353,7 @@ Test sort for Accounting module main listbox, without section\n ...@@ -308,7 +353,7 @@ Test sort for Accounting module main listbox, without section\n
<tr>\n <tr>\n
<td>clickAndWait</td>\n <td>clickAndWait</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and\n <td>//button[@name=\'setSelectionQuickSortOrder:method\' and\n
@value=\'listbox.specific_reference\']</td>\n @value=\'listbox.specific_reference:desc\']</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
...@@ -320,10 +365,22 @@ Test sort for Accounting module main listbox, without section\n ...@@ -320,10 +365,22 @@ Test sort for Accounting module main listbox, without section\n
<!-- }}} -->\n <!-- }}} -->\n
\n \n
<!-- sort by simulation state {{{ -->\n <!-- sort by simulation state {{{ -->\n
<tr>\n
<td>assertElementPresent</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and @value=\'listbox.specific_reference:none\']</td>\n
<td></td>\n
</tr>\n
<tr>\n
<!-- reset specific_reference sorting -->\n
<td>clickAndWait</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and\n
@value=\'listbox.specific_reference:none\']</td>\n
<td></td>\n
</tr>\n
<tr>\n <tr>\n
<td>clickAndWait</td>\n <td>clickAndWait</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and\n <td>//button[@name=\'setSelectionQuickSortOrder:method\' and\n
@value=\'listbox.translated_simulation_state_title\']</td>\n @value=\'listbox.translated_simulation_state_title:asc\']</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
......
...@@ -81,7 +81,7 @@ Sorting in Grouping Dialog\n ...@@ -81,7 +81,7 @@ Sorting in Grouping Dialog\n
<!-- Sort by date asc {{{ -->\n <!-- Sort by date asc {{{ -->\n
<tr>\n <tr>\n
<td>clickAndWait</td>\n <td>clickAndWait</td>\n
<td>//tr[@class=\'listbox-label-line\']/th[6]/button</td>\n <td>//tr[@class=\'listbox-label-line\']/th[6]/button[@value="listbox.date:asc"]</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
...@@ -109,7 +109,7 @@ Sorting in Grouping Dialog\n ...@@ -109,7 +109,7 @@ Sorting in Grouping Dialog\n
<!-- Sort by date desc {{{ -->\n <!-- Sort by date desc {{{ -->\n
<tr>\n <tr>\n
<td>clickAndWait</td>\n <td>clickAndWait</td>\n
<td>//tr[@class=\'listbox-label-line\']/th[6]/button</td>\n <td>//tr[@class=\'listbox-label-line\']/th[6]/button[@value="listbox.date:desc"]</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
...@@ -135,9 +135,20 @@ Sorting in Grouping Dialog\n ...@@ -135,9 +135,20 @@ Sorting in Grouping Dialog\n
<!-- }}} -->\n <!-- }}} -->\n
\n \n
<!-- Sort by title asc {{{ -->\n <!-- Sort by title asc {{{ -->\n
<tr>\n
<td>assertElementPresent</td>\n
<td>//tr[@class=\'listbox-label-line\']/th[6]/button[@value="listbox.date:none"]</td>\n
<td></td>\n
</tr>\n
<tr>\n
<!-- reset date sorting -->\n
<td>clickAndWait</td>\n
<td>//tr[@class=\'listbox-label-line\']/th[6]/button[@value="listbox.date:none"]</td>\n
<td></td>\n
</tr>\n
<tr>\n <tr>\n
<td>clickAndWait</td>\n <td>clickAndWait</td>\n
<td>//tr[@class=\'listbox-label-line\']/th[7]/button</td>\n <td>//tr[@class=\'listbox-label-line\']/th[7]/button[@value="listbox.parent_title:asc"]</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
...@@ -165,7 +176,7 @@ Sorting in Grouping Dialog\n ...@@ -165,7 +176,7 @@ Sorting in Grouping Dialog\n
<!-- Sort by title desc {{{ -->\n <!-- Sort by title desc {{{ -->\n
<tr>\n <tr>\n
<td>clickAndWait</td>\n <td>clickAndWait</td>\n
<td>//tr[@class=\'listbox-label-line\']/th[7]/button</td>\n <td>//tr[@class=\'listbox-label-line\']/th[7]/button[@value="listbox.parent_title:desc"]</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
...@@ -192,17 +203,41 @@ Sorting in Grouping Dialog\n ...@@ -192,17 +203,41 @@ Sorting in Grouping Dialog\n
\n \n
<!-- Sort by grouping reference asc {{{ -->\n <!-- Sort by grouping reference asc {{{ -->\n
<tr>\n <tr>\n
<!-- reset title sorting -->\n
<td>assertElementPresent</td>\n
<td>//tr[@class=\'listbox-label-line\']/th[7]/button[@value="listbox.parent_title:none"]</td>\n
<td></td>\n
</tr>\n
<tr>\n
<!-- reset title sorting -->\n
<td>clickAndWait</td>\n <td>clickAndWait</td>\n
<td>//tr[@class=\'listbox-label-line\']/th[2]/button</td>\n <td>//tr[@class=\'listbox-label-line\']/th[7]/button[@value="listbox.parent_title:none"]</td>\n
<td></td>\n
</tr>\n
<tr>\n
<!-- XXX-Tatuya: For what purpose of this sort? -->\n
<td>clickAndWait</td>\n
<td>//tr[@class=\'listbox-label-line\']/th[2]/button[@value="listbox.grouping_reference:asc"]</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<!-- }}} -->\n <!-- }}} -->\n
\n \n
\n \n
<!-- Sort by Account Name asc {{{ -->\n <!-- Sort by Account Name asc {{{ -->\n
<tr>\n
<td>assertElementPresent</td>\n
<td>//tr[@class=\'listbox-label-line\']/th[2]/button[@value="listbox.grouping_reference:none"]</td>\n
<td></td>\n
</tr>\n
<tr>\n
<!-- reset grouping reference sorting -->\n
<td>clickAndWait</td>\n
<td>//tr[@class=\'listbox-label-line\']/th[2]/button[@value="listbox.grouping_reference:none"]</td>\n
<td></td>\n
</tr>\n
<tr>\n <tr>\n
<td>clickAndWait</td>\n <td>clickAndWait</td>\n
<td>//tr[@class=\'listbox-label-line\']/th[9]/button</td>\n <td>//tr[@class=\'listbox-label-line\']/th[9]/button[@value="listbox.node_title:asc"]</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<!-- all lines have the same account here. -->\n <!-- all lines have the same account here. -->\n
...@@ -210,8 +245,19 @@ Sorting in Grouping Dialog\n ...@@ -210,8 +245,19 @@ Sorting in Grouping Dialog\n
\n \n
<!-- Sort by third party title asc {{{ -->\n <!-- Sort by third party title asc {{{ -->\n
<tr>\n <tr>\n
<td>assertElementPresent</td>\n
<td>//tr[@class=\'listbox-label-line\']/th[9]/button[@value="listbox.node_title:none"]</td>\n
<td></td>\n
</tr>\n
<tr>\n
<!-- reset Account Name sorting -->\n
<td>clickAndWait</td>\n <td>clickAndWait</td>\n
<td>//tr[@class=\'listbox-label-line\']/th[10]/button</td>\n <td>//tr[@class=\'listbox-label-line\']/th[9]/button[@value="listbox.node_title:none"]</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>clickAndWait</td>\n
<td>//tr[@class=\'listbox-label-line\']/th[10]/button[@value="listbox.Movement_getMirrorSectionTitle:asc"]</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<!-- this is not really sorting by title, but by uid just to make sure lines\n <!-- this is not really sorting by title, but by uid just to make sure lines\n
...@@ -222,8 +268,7 @@ for the same party are grouped together.\n ...@@ -222,8 +268,7 @@ for the same party are grouped together.\n
</tbody></table>\n </tbody></table>\n
</body>\n </body>\n
</html> <!-- vim: syntax=html foldmethod=marker\n </html> <!-- vim: syntax=html foldmethod=marker\n
-->\n -->
]]></unicode> </value> ]]></unicode> </value>
</item> </item>
......
189 190
\ No newline at end of file \ 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