Commit 46b27465 authored by Jérome Perrin's avatar Jérome Perrin

Checks that clicking on the filter button toggle invert mode on and off while

remembering selected items and search parameters.



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@11001 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 140b69cf
...@@ -44,6 +44,12 @@ ...@@ -44,6 +44,12 @@
</object> </object>
</value> </value>
</item> </item>
<item>
<key> <string>_dav_writelocks</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item> <item>
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string encoding="cdata"><![CDATA[ <value> <string encoding="cdata"><![CDATA[
...@@ -438,6 +444,80 @@ ...@@ -438,6 +444,80 @@
\t<td>off</td>\n \t<td>off</td>\n
</tr>\n </tr>\n
\n \n
<!-- Clicking again on the filter button reset the filter, and selected items\n
and search parameters are remembered -->\n
<tr>\n
\t<td>type</td>\n
\t<td>title</td>\n
\t<td>Title</td>\n
</tr>\n
<tr>\n
\t<td>clickAndWait</td>\n
\t<td>Base_doSelect:method</td>\n
\t<td></td>\n
</tr>\n
<tr>\n
\t<td>click</td>\n
\t<td>//tr[@id="listbox_data_line_0"]/td//input</td>\n
\t<td></td>\n
</tr>\n
<tr>\n
\t<td>click</td>\n
\t<td>//tr[@id="listbox_data_line_2"]/td//input</td>\n
\t<td></td>\n
</tr>\n
<tr>\n
\t<td>clickAndWait</td>\n
\t<td>Folder_filter:method</td>\n
\t<td></td>\n
</tr>\n
<tr>\n
\t<td>verifyText</td>\n
\t<td>id=listbox_record_number</td>\n
\t<td>2 record(s)</td>\n
</tr>\n
<tr>\n
\t<td>verifyText</td>\n
\t<td>id=listbox_item_number</td>\n
\t<td> - 2 item(s) selected</td>\n
</tr>\n
<!-- reset the filter -->\n
<tr>\n
\t<td>clickAndWait</td>\n
\t<td>Folder_filter:method</td>\n
\t<td></td>\n
</tr>\n
<tr>\n
\t<td>verifyText</td>\n
\t<td>id=listbox_record_number</td>\n
\t<td>10 record(s)</td>\n
</tr>\n
<tr>\n
\t<td>verifyText</td>\n
\t<td>id=listbox_item_number</td>\n
\t<td> - 2 item(s) selected</td>\n
</tr>\n
<tr>\n
\t<td>verifyValue</td>\n
\t<td>//tr[@id="listbox_data_line_0"]/td//input</td>\n
\t<td>on</td>\n
</tr>\n
<tr>\n
\t<td>verifyValue</td>\n
\t<td>//tr[@id="listbox_data_line_1"]/td//input</td>\n
\t<td>off</td>\n
</tr>\n
<tr>\n
\t<td>verifyValue</td>\n
\t<td>//tr[@id="listbox_data_line_2"]/td//input</td>\n
\t<td>on</td>\n
</tr>\n
<tr>\n
\t<td>verifyValue</td>\n
\t<td>title</td>\n
\t<td>Title</td>\n
</tr>\n
\n
</tbody></table>\n </tbody></table>\n
</body>\n </body>\n
</html>\n </html>\n
...@@ -464,4 +544,25 @@ ...@@ -464,4 +544,25 @@
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Persistence</string>
<string>PersistentMapping</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_container</string> </key>
<value>
<dictionary/>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData> </ZopeData>
106 112
\ 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