Commit 675c5d93 authored by Jérome Perrin's avatar Jérome Perrin

test sort on accounting module, with and without selection filtered

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34618 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e3595307
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_bind_names</string> </key>
<value>
<object>
<klass>
<global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key> <string>_asgns</string> </key>
<value>
<dictionary>
<item>
<key> <string>name_subpath</string> </key>
<value> <string>traverse_subpath</string> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>_text</string> </key>
<value> <string encoding="cdata"><![CDATA[
<html>\n
<head><title>Test sort for Accounting module main listbox</title></head>\n
<body>\n
<table cellpadding="1" cellspacing="1" border="1">\n
<thead>\n
<tr><td rowspan="1" colspan="4">\n
Test sort for Accounting module main listbox\n
</td></tr>\n
</thead><tbody tal:define="init_method string:AccountingZuite_createAccountingTransactionList?add_draft_transactions:int=0">\n
<tal:block metal:use-macro="here/AccountingZuite_CommonTemplate/macros/init"/>\n
\n
<!-- Setup {{{ -->\n
<tr>\n
<td>selectAndWait</td>\n
<td>select_module</td>\n
<td>Accounting</td>\n
</tr>\n
<tr>\n
<td>clickAndWait</td>\n
<td>Folder_show:method</td>\n
<td></td>\n
</tr>\n
<!-- }}} -->\n
\n
<!-- check content of known lines {{{ -->\n
<tr>\n
<td>verifyText</td>\n
<td>listbox_record_number</td>\n
<td>4 records</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_0\']/td[5]</td>\n
<td>2005/01/01</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_1\']/td[5]</td>\n
<td>2005/01/02</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_2\']/td[5]</td>\n
<td>2005/01/03</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_3\']/td[5]</td>\n
<td>2005/01/04</td>\n
</tr>\n
<!-- }}} -->\n
\n
<!-- sort by title {{{ -->\n
<tr>\n
<td>clickAndWait</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and @value=\'listbox.title\']</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>listbox_record_number</td>\n
<td>4 records</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_0\']/td[5]</td>\n
<td>2005/01/01</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_1\']/td[5]</td>\n
<td>2005/01/02</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_2\']/td[5]</td>\n
<td>2005/01/03</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_3\']/td[5]</td>\n
<td>2005/01/04</td>\n
</tr>\n
<!-- }}} -->\n
\n
<!-- search and sort by title desc (regression) {{{ -->\n
<tr>\n
<td>type</td>\n
<td>title</td>\n
<td>%</td>\n
</tr>\n
<tr>\n
<td>clickAndWait</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and @value=\'listbox.title\']</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>listbox_record_number</td>\n
<td>4 records</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_0\']/td[5]</td>\n
<td>2005/01/04</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_1\']/td[5]</td>\n
<td>2005/01/03</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_2\']/td[5]</td>\n
<td>2005/01/02</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_3\']/td[5]</td>\n
<td>2005/01/01</td>\n
</tr>\n
<!-- }}} -->\n
\n
<!-- sort by type {{{ -->\n
<tr>\n
<td>clickAndWait</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and\n
@value=\'listbox.translated_portal_type\']</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>listbox_record_number</td>\n
<td>4 records</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_0\']/td[5]</td>\n
<td>2005/01/01</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_1\']/td[5]</td>\n
<td>2005/01/04</td>\n
</tr>\n
<!-- }}} -->\n
\n
<!-- sort by type desc {{{ -->\n
<tr>\n
<td>clickAndWait</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and\n
@value=\'listbox.translated_portal_type\']</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>listbox_record_number</td>\n
<td>4 records</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_2\']/td[5]</td>\n
<td>2005/01/04</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_3\']/td[5]</td>\n
<td>2005/01/01</td>\n
</tr>\n
<!-- }}} -->\n
\n
<!-- sort by date {{{ -->\n
<tr>\n
<td>clickAndWait</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and\n
@value=\'listbox.operation_date\']</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>listbox_record_number</td>\n
<td>4 records</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_0\']/td[5]</td>\n
<td>2005/01/01</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_1\']/td[5]</td>\n
<td>2005/01/02</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_2\']/td[5]</td>\n
<td>2005/01/03</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_3\']/td[5]</td>\n
<td>2005/01/04</td>\n
</tr>\n
<!-- }}} -->\n
\n
<!-- sort by date desc {{{ -->\n
<tr>\n
<td>clickAndWait</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and\n
@value=\'listbox.operation_date\']</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>listbox_record_number</td>\n
<td>4 records</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_0\']/td[5]</td>\n
<td>2005/01/04</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_1\']/td[5]</td>\n
<td>2005/01/03</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_2\']/td[5]</td>\n
<td>2005/01/02</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_3\']/td[5]</td>\n
<td>2005/01/01</td>\n
</tr>\n
<!-- }}} -->\n
\n
<!-- sort by reference {{{ -->\n
<tr>\n
<td>type</td>\n
<td>reference</td>\n
<td>%</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>clickAndWait</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and\n
@value=\'listbox.reference\']</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>listbox_record_number</td>\n
<td>2 records</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_0\']/td[5]</td>\n
<td>2005/01/02</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_1\']/td[5]</td>\n
<td>2005/01/03</td>\n
</tr>\n
<!-- }}} -->\n
\n
<!-- sort by reference desc {{{ -->\n
<tr>\n
<td>clickAndWait</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and\n
@value=\'listbox.reference\']</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>listbox_record_number</td>\n
<td>2 records</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_0\']/td[5]</td>\n
<td>2005/01/03</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_1\']/td[5]</td>\n
<td>2005/01/02</td>\n
</tr>\n
<!-- }}} -->\n
\n
<!-- clear reference search {{{ -->\n
<tr>\n
<td>type</td>\n
<td>reference</td>\n
<td></td>\n
<td></td>\n
</tr>\n
<!-- }}} -->\n
\n
<!-- sort by specific reference {{{ -->\n
<tr>\n
<td>clickAndWait</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and\n
@value=\'listbox.specific_reference\']</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>listbox_record_number</td>\n
<td>4 records</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_0\']/td[5]</td>\n
<td>2005/01/01</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_1\']/td[5]</td>\n
<td>2005/01/02</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_2\']/td[5]</td>\n
<td>2005/01/03</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_3\']/td[5]</td>\n
<td>2005/01/04</td>\n
</tr>\n
<!-- }}} -->\n
\n
<!-- sort by specific reference desc {{{ -->\n
<tr>\n
<td>clickAndWait</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and\n
@value=\'listbox.specific_reference\']</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>listbox_record_number</td>\n
<td>4 records</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_0\']/td[5]</td>\n
<td>2005/01/04</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_1\']/td[5]</td>\n
<td>2005/01/03</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_2\']/td[5]</td>\n
<td>2005/01/02</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_3\']/td[5]</td>\n
<td>2005/01/01</td>\n
</tr>\n
<!-- }}} -->\n
\n
<!-- sort by simulation state {{{ -->\n
<tr>\n
<td>clickAndWait</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and\n
@value=\'listbox.translated_simulation_state_title\']</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>listbox_record_number</td>\n
<td>4 records</td>\n
</tr>\n
<!-- }}} -->\n
\n
</tbody></table>\n
</body>\n
</html> <!-- vim: syntax=html foldmethod=marker\n
-->\n
]]></string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>text/html</string> </value>
</item>
<item>
<key> <string>expand</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>test_accounting_transaction_module_sort.html</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
...@@ -40,12 +40,12 @@ ...@@ -40,12 +40,12 @@
<value> <string encoding="cdata"><![CDATA[ <value> <string encoding="cdata"><![CDATA[
<html>\n <html>\n
<head><title>Test for Accounting module main lisbox</title></head>\n <head><title>Test sort for Accounting module main listbox, without section</title></head>\n
<body>\n <body>\n
<table cellpadding="1" cellspacing="1" border="1">\n <table cellpadding="1" cellspacing="1" border="1">\n
<thead>\n <thead>\n
<tr><td rowspan="1" colspan="4">\n <tr><td rowspan="1" colspan="4">\n
Test Accounting module listbox display values + sort on dates\n Test sort for Accounting module main listbox, without section\n
</td></tr>\n </td></tr>\n
</thead><tbody tal:define="init_method string:AccountingZuite_createAccountingTransactionList?add_draft_transactions:int=0">\n </thead><tbody tal:define="init_method string:AccountingZuite_createAccountingTransactionList?add_draft_transactions:int=0">\n
<tal:block metal:use-macro="here/AccountingZuite_CommonTemplate/macros/init"/>\n <tal:block metal:use-macro="here/AccountingZuite_CommonTemplate/macros/init"/>\n
...@@ -56,12 +56,34 @@ Test Accounting module listbox display values + sort on dates\n ...@@ -56,12 +56,34 @@ Test Accounting module listbox display values + sort on dates\n
<td>select_module</td>\n <td>select_module</td>\n
<td>Accounting</td>\n <td>Accounting</td>\n
</tr>\n </tr>\n
<tr>\n
<td>clickAndWait</td>\n
<td>Folder_show:method</td>\n
<td></td>\n
</tr>\n
<!-- we unselect section -->\n
<tr>\n
<td>clickAndWait</td>\n
<td>//a[@class=\'find\'][1]</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>select</td>\n
<td>field_your_section_category</td>\n
<td>label=</td>\n
</tr>\n
<tr>\n
<td>clickAndWait</td>\n
<td>dialog_submit_button</td>\n
<td></td>\n
</tr>\n
<!-- }}} -->\n <!-- }}} -->\n
\n \n
<!-- 4 records in the list {{{ -->\n \n
<!-- sort by title {{{ -->\n
<tr>\n <tr>\n
<td>clickAndWait</td>\n <td>clickAndWait</td>\n
<td>Folder_show:method</td>\n <td>//button[@name=\'setSelectionQuickSortOrder:method\' and @value=\'listbox.title\']</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
...@@ -69,17 +91,77 @@ Test Accounting module listbox display values + sort on dates\n ...@@ -69,17 +91,77 @@ Test Accounting module listbox display values + sort on dates\n
<td>listbox_record_number</td>\n <td>listbox_record_number</td>\n
<td>4 records</td>\n <td>4 records</td>\n
</tr>\n </tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_0\']/td[2]</td>\n
<td>Accounts opening</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_1\']/td[2]</td>\n
<td>Client 1 Sale Invoice</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_2\']/td[2]</td>\n
<td>Client 2 Sale Invoice</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_3\']/td[2]</td>\n
<td>First Purchase Invoice</td>\n
</tr>\n
<!-- }}} -->\n <!-- }}} -->\n
\n \n
<!-- TODO:\n <!-- search and sort by title desc (regression) {{{ -->\n
loop and check date line1 <= line2 ???\n <tr>\n
-->\n <td>type</td>\n
<td>title</td>\n
<td>%</td>\n
</tr>\n
<tr>\n
<td>clickAndWait</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and @value=\'listbox.title\']</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>listbox_record_number</td>\n
<td>4 records</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_0\']/td[2]</td>\n
<td>First Purchase Invoice</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_1\']/td[2]</td>\n
<td>Client 2 Sale Invoice</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_2\']/td[2]</td>\n
<td>Client 1 Sale Invoice</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_3\']/td[2]</td>\n
<td>Accounts opening</td>\n
</tr>\n
<!-- }}} -->\n
\n \n
<!-- check content of known lines {{{ -->\n <!-- sort by type {{{ -->\n
<tr>\n
<td>clickAndWait</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and\n
@value=\'listbox.translated_portal_type\']</td>\n
<td></td>\n
</tr>\n
<tr>\n <tr>\n
<td>verifyText</td>\n <td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_0\']/td[5]</td>\n <td>listbox_record_number</td>\n
<td>2005/01/01</td>\n <td>4 records</td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>verifyText</td>\n <td>verifyText</td>\n
...@@ -88,56 +170,169 @@ loop and check date line1 <= line2 ???\n ...@@ -88,56 +170,169 @@ loop and check date line1 <= line2 ???\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>verifyText</td>\n <td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_0\']/td[3]</td>\n <td>//tr[@id=\'listbox_data_line_1\']/td[2]</td>\n
<td>First Purchase Invoice</td>\n
</tr>\n
<!-- }}} -->\n
\n
<!-- sort by type desc {{{ -->\n
<tr>\n
<td>clickAndWait</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and\n
@value=\'listbox.translated_portal_type\']</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n
<td>verifyText</td>\n
<td>listbox_record_number</td>\n
<td>4 records</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_2\']/td[2]</td>\n
<td>First Purchase Invoice</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_3\']/td[2]</td>\n
<td>Accounts opening</td>\n
</tr>\n
<!-- }}} -->\n
\n \n
<!-- sort by date {{{ -->\n
<tr>\n
<td>clickAndWait</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and\n
@value=\'listbox.operation_date\']</td>\n
<td></td>\n
</tr>\n
<tr>\n <tr>\n
<td>verifyText</td>\n <td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_1\']/td[5]</td>\n <td>listbox_record_number</td>\n
<td>2005/01/02</td>\n <td>4 records</td>\n
</tr>\n
<!-- no error -->\n
<!-- }}} -->\n
\n
<!-- sort by date desc {{{ -->\n
<tr>\n
<td>clickAndWait</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and\n
@value=\'listbox.operation_date\']</td>\n
<td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>verifyText</td>\n <td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_1\']/td[2]</td>\n <td>listbox_record_number</td>\n
<td>4 records</td>\n
</tr>\n
<!-- no error -->\n
<!-- }}} -->\n
\n
<!-- sort by reference {{{ -->\n
<tr>\n
<td>type</td>\n
<td>reference</td>\n
<td>%</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>clickAndWait</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and\n
@value=\'listbox.reference\']</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>listbox_record_number</td>\n
<td>2 records</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_0\']/td[2]</td>\n
<td>Client 1 Sale Invoice</td>\n <td>Client 1 Sale Invoice</td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>verifyText</td>\n <td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_1\']/td[3]</td>\n <td>//tr[@id=\'listbox_data_line_1\']/td[2]</td>\n
<td>Client 1</td>\n <td>Client 2 Sale Invoice</td>\n
</tr>\n </tr>\n
<!-- }}} -->\n
\n \n
<!-- sort by reference desc {{{ -->\n
<tr>\n
<td>clickAndWait</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and\n
@value=\'listbox.reference\']</td>\n
<td></td>\n
</tr>\n
<tr>\n <tr>\n
<td>verifyText</td>\n <td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_2\']/td[5]</td>\n <td>listbox_record_number</td>\n
<td>2005/01/03</td>\n <td>2 records</td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>verifyText</td>\n <td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_2\']/td[2]</td>\n <td>//tr[@id=\'listbox_data_line_0\']/td[2]</td>\n
<td>Client 2 Sale Invoice</td>\n <td>Client 2 Sale Invoice</td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>verifyText</td>\n <td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_2\']/td[3]</td>\n <td>//tr[@id=\'listbox_data_line_1\']/td[2]</td>\n
<td>Client 2</td>\n <td>Client 1 Sale Invoice</td>\n
</tr>\n </tr>\n
<!-- }}} -->\n
\n \n
<!-- clear reference search {{{ -->\n
<tr>\n
<td>type</td>\n
<td>reference</td>\n
<td></td>\n
<td></td>\n
</tr>\n
<!-- }}} -->\n
\n
<!-- sort by specific reference {{{ -->\n
<tr>\n
<td>clickAndWait</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and\n
@value=\'listbox.specific_reference\']</td>\n
<td></td>\n
</tr>\n
<tr>\n <tr>\n
<td>verifyText</td>\n <td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_3\']/td[5]</td>\n <td>listbox_record_number</td>\n
<td>2005/01/04</td>\n <td>4 records</td>\n
</tr>\n
<!-- no error -->\n
<!-- }}} -->\n
\n
<!-- sort by specific reference desc {{{ -->\n
<tr>\n
<td>clickAndWait</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and\n
@value=\'listbox.specific_reference\']</td>\n
<td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>verifyText</td>\n <td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_3\']/td[2]</td>\n <td>listbox_record_number</td>\n
<td>First Purchase Invoice</td>\n <td>4 records</td>\n
</tr>\n
<!-- no error -->\n
<!-- }}} -->\n
\n
<!-- sort by simulation state {{{ -->\n
<tr>\n
<td>clickAndWait</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and\n
@value=\'listbox.translated_simulation_state_title\']</td>\n
<td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>verifyText</td>\n <td>verifyText</td>\n
<td>//tr[@id=\'listbox_data_line_3\']/td[3]</td>\n <td>listbox_record_number</td>\n
<td>Supplier</td>\n <td>4 records</td>\n
</tr>\n </tr>\n
<!-- }}} -->\n <!-- }}} -->\n
\n \n
...@@ -159,7 +354,7 @@ loop and check date line1 <= line2 ???\n ...@@ -159,7 +354,7 @@ loop and check date line1 <= line2 ???\n
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>test_accounting_transaction_module_default_sort.html</string> </value> <value> <string>test_accounting_transaction_module_sort_without_section.html</string> </value>
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
......
154 155
\ 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