<?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>__ac_local_roles__</string> </key>
            <value>
              <none/>
            </value>
        </item>
        <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>_owner</string> </key>
            <value>
              <none/>
            </value>
        </item>
        <item>
            <key> <string>_text</string> </key>
            <value> <string encoding="cdata"><![CDATA[

<html>\n
<head><title>Test for Account module main lisbox</title></head>\n
<body>\n
<table cellpadding="1" cellspacing="1" border="1">\n
<thead>\n
<tr><td rowspan="1" colspan="4">\n
Test `preferred_gap_id` column of Account Module\n
</td></tr>\n
</thead><tbody tal:define="init_method string:AccountingZuite_createAccountingTransactionList">\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>Accounts</td>\n
</tr>\n
<!-- }}} -->\n
\n
<!-- 10 accounts -> 10 records in the list {{{ -->\n
<tr>\n
  <td>clickAndWait</td>\n
  <td>Folder_show:method</td>\n
  <td></td>\n
</tr>\n
<tr>\n
  <td>verifyText</td>\n
  <td>listbox_record_number</td>\n
  <td>10 record(s)</td>\n
</tr>\n
<!-- }}} -->\n
\n
<!-- Filter on preferred_gap_id {{{ -->\n
<tr>\n
  <td>type</td>\n
  <td>//tr[@id=\'listbox_search_line\']/td[2]/span/input</td>\n
  <td>4</td>\n
</tr>\n
<tr>\n
  <td>clickAndWait</td>\n
  <td>Base_doSelect:method</td>\n
  <td></td>\n
</tr>\n
<tr>\n
  <td>verifyText</td>\n
  <td>listbox_record_number</td>\n
  <td>4 record(s)</td>\n
</tr>\n
\n
<!-- make sure we are sorted by preferred_gap_id ASC -->\n
<tr>\n
  <!-- sort by title, to reset any sort on preferred_gap_id -->\n
  <td>clickAndWait</td>\n
  <td>//button[@title=\'Account Name\']</td>\n
  <td></td>\n
</tr>\n
<tr>\n
  <!-- sort by preferred_gap_id -->\n
  <td>clickAndWait</td>\n
  <td>//button[@title=\'GAP No\']</td>\n
  <td></td>\n
</tr>\n
<tr>\n
  <td>verifyText</td>\n
  <td>//tr[@id=\'listbox_data_line_0\']/td[2]/a</td>\n
  <td>40</td>\n
</tr>\n
<tr>\n
  <td>verifyText</td>\n
  <td>//tr[@id=\'listbox_data_line_1\']/td[2]/a</td>\n
  <td>41</td>\n
</tr>\n
<tr>\n
  <td>verifyText</td>\n
  <td>//tr[@id=\'listbox_data_line_2\']/td[2]/a</td>\n
  <td>4456</td>\n
</tr>\n
<tr>\n
  <td>verifyText</td>\n
  <td>//tr[@id=\'listbox_data_line_3\']/td[2]/a</td>\n
  <td>4457</td>\n
</tr>\n
<!-- }}} -->\n
\n
<!-- sort by preferred_gap_id DESC {{{ -->\n
<tr>\n
  <!-- sort by preferred_gap_id -->\n
  <td>clickAndWait</td>\n
  <td>//button[@title=\'GAP No\']</td>\n
  <td></td>\n
</tr>\n
<tr>\n
  <td>verifyText</td>\n
  <td>//tr[@id=\'listbox_data_line_0\']/td[2]/a</td>\n
  <td>4457</td>\n
</tr>\n
<tr>\n
  <td>verifyText</td>\n
  <td>//tr[@id=\'listbox_data_line_1\']/td[2]/a</td>\n
  <td>4456</td>\n
</tr>\n
<tr>\n
  <td>verifyText</td>\n
  <td>//tr[@id=\'listbox_data_line_2\']/td[2]/a</td>\n
  <td>41</td>\n
</tr>\n
<tr>\n
  <td>verifyText</td>\n
  <td>//tr[@id=\'listbox_data_line_3\']/td[2]/a</td>\n
  <td>40</td>\n
</tr>\n
<!-- }}} -->\n
\n
<tr>\n
  <!-- make sure we end up sorting in ASCENDING-->\n
  <td>clickAndWait</td>\n
  <td>//button[@title=\'GAP No\']</td>\n
  <td></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_account_module_preferred_gap_id_column.html</string> </value>
        </item>
        <item>
            <key> <string>title</string> </key>
            <value> <string></string> </value>
        </item>
      </dictionary>
    </pickle>
  </record>
</ZopeData>
