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

Follow new listbox sort button style in several functional tests.

parent 54950c6c
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n <tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
<tr>\n <tr>\n
<td>clickAndWait</td>\n <td>clickAndWait</td>\n
<td>//button[@value=\'listbox.title\']</td>\n <td>//button[@value=\'listbox.title:desc\']</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
</tal:block>\n </tal:block>\n
...@@ -93,7 +93,7 @@ ...@@ -93,7 +93,7 @@
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n <tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
<tr>\n <tr>\n
<td>clickAndWait</td>\n <td>clickAndWait</td>\n
<td>//button[@value=\'listbox.title\']</td>\n <td>//button[@value=\'listbox.title:asc\']</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
</tal:block>\n </tal:block>\n
...@@ -118,8 +118,7 @@ ...@@ -118,8 +118,7 @@
<td>foo bar</td>\n <td>foo bar</td>\n
</tr>\n </tr>\n
</body>\n </body>\n
</html>\n </html>
]]></unicode> </value> ]]></unicode> </value>
</item> </item>
......
...@@ -53,29 +53,34 @@ ...@@ -53,29 +53,34 @@
<tal:block metal:use-macro="here/ListBoxDialogModeZuite_CommonTemplate/macros/init" />\n <tal:block metal:use-macro="here/ListBoxDialogModeZuite_CommonTemplate/macros/init" />\n
<tr>\n <tr>\n
<td>assertElementPresent</td>\n <td>assertElementPresent</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and @value=\'listbox.id\']</td>\n <td>//button[@name=\'setSelectionQuickSortOrder:method\' and @value=\'listbox.id:asc\']</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>assertElementPresent</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and @value=\'listbox.id:desc\']</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<!-- click the ID -->\n <!-- click the ID -->\n
<tr>\n <tr>\n
<td>clickAndWait</td>\n <td>clickAndWait</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and @value=\'listbox.id\']</td>\n <td>//button[@name=\'setSelectionQuickSortOrder:method\' and @value=\'listbox.id:asc\']</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tal:block metal:use-macro="here/ListBoxDialogModeZuite_CommonTemplate/macros/verify_dialog" />\n <tal:block metal:use-macro="here/ListBoxDialogModeZuite_CommonTemplate/macros/verify_dialog" />\n
<tr>\n <tr>\n
<td>assertElementPresent</td>\n <td>assertElementPresent</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and @value=\'listbox.id\']</td>\n <td>//button[@name=\'setSelectionQuickSortOrder:method\' and @value=\'listbox.id:desc\']</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertElementPresent</td>\n <td>assertElementPresent</td>\n
<td>//tr[@class="listbox-label-line"]/th[2]/img[@title="Ascending Display"]</td>\n <td>//tr[@class="listbox-label-line"]/th[2]/button/img[@title="Ascending Display"]</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertElementNotPresent</td>\n <td>assertElementPresent</td>\n
<td>//tr[@class="listbox-label-line"]/th[2]/img[@title="Descending Display"]</td>\n <td>//tr[@class="listbox-label-line"]/th[2]/button/img[@title="Descending Display"]</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
...@@ -102,22 +107,22 @@ ...@@ -102,22 +107,22 @@
<tal:block metal:use-macro="here/ListBoxDialogModeZuite_CommonTemplate/macros/verify_dialog" />\n <tal:block metal:use-macro="here/ListBoxDialogModeZuite_CommonTemplate/macros/verify_dialog" />\n
<tr>\n <tr>\n
<td>clickAndWait</td>\n <td>clickAndWait</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and @value=\'listbox.id\']</td>\n <td>//button[@name=\'setSelectionQuickSortOrder:method\' and @value=\'listbox.id:desc\']</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertElementPresent</td>\n <td>assertElementPresent</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and @value=\'listbox.id\']</td>\n <td>//button[@name=\'setSelectionQuickSortOrder:method\' and @value=\'listbox.id:asc\']</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertElementNotPresent</td>\n <td>assertElementPresent</td>\n
<td>//tr[@class="listbox-label-line"]/th[2]/img[@title="Ascending Display"]</td>\n <td>//tr[@class="listbox-label-line"]/th[2]/button/img[@title="Ascending Display"]</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertElementPresent</td>\n <td>assertElementPresent</td>\n
<td>//tr[@class="listbox-label-line"]/th[2]/img[@title="Descending Display"]</td>\n <td>//tr[@class="listbox-label-line"]/th[2]/button/img[@title="Descending Display"]</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
...@@ -143,8 +148,7 @@ ...@@ -143,8 +148,7 @@
</tal:block>\n </tal:block>\n
</tbody></table>\n </tbody></table>\n
</body>\n </body>\n
</html>\n </html>
]]></unicode> </value> ]]></unicode> </value>
</item> </item>
......
709 710
\ 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