Commit 583344b7 authored by Tatuya Kamada's avatar Tatuya Kamada Committed by Arnaud Fontaine

Follow new listbox sort button style on Functional Tests in relation_field_zuite.

parent 6d1170f2
......@@ -100,12 +100,22 @@
</tr>\n
<tr>\n
<td>assertElementPresent</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
</tr>\n
<tr>\n
<td>assertElementPresent</td>\n
<td>//tr[@class="listbox-label-line"]/th[2]/img[@class="sort-button"]</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and @value=\'listbox.title:desc\']</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>assertElementPresent</td>\n
<td>//tr[@class="listbox-label-line"]/th[2]/button/img[@class="sort-button sort-button-arrow sort-button-asc-not-selected"]</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>assertElementPresent</td>\n
<td>//tr[@class="listbox-label-line"]/th[2]/button/img[@class="sort-button sort-button-arrow sort-button-desc-not-selected"]</td>\n
<td></td>\n
</tr>\n
<tr>\n
......@@ -115,12 +125,22 @@
</tr>\n
<tr>\n
<td>assertElementPresent</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and @value=\'listbox.int_index\']</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and @value=\'listbox.int_index:asc\']</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>assertElementPresent</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and @value=\'listbox.int_index:desc\']</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>assertElementPresent</td>\n
<td>//tr[@class="listbox-label-line"]/th[3]/button/img[@class="sort-button sort-button-arrow sort-button-asc-not-selected"]</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>assertElementPresent</td>\n
<td>//tr[@class="listbox-label-line"]/th[3]/img[@class="sort-button"]</td>\n
<td>//tr[@class="listbox-label-line"]/th[3]/button/img[@class="sort-button sort-button-arrow sort-button-desc-not-selected"]</td>\n
<td></td>\n
</tr>\n
<tr>\n
......@@ -130,18 +150,28 @@
</tr>\n
<tr>\n
<td>assertElementPresent</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and @value=\'listbox.relative_url\']</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and @value=\'listbox.relative_url:asc\']</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>assertElementPresent</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and @value=\'listbox.relative_url:desc\']</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>assertElementPresent</td>\n
<td>//tr[@class="listbox-label-line"]/th[4]/button/img[@class="sort-button sort-button-arrow sort-button-desc-not-selected"]</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>assertElementPresent</td>\n
<td>//tr[@class="listbox-label-line"]/th[4]/img[@class="sort-button"]</td>\n
<td>//tr[@class="listbox-label-line"]/th[4]/button/img[@class="sort-button sort-button-arrow sort-button-asc-not-selected"]</td>\n
<td></td>\n
</tr>\n
<!-- click the Title -->\n
<tr>\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
</tr>\n
\n
......@@ -152,17 +182,22 @@
</tr>\n
<tr>\n
<td>assertElementPresent</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
</tr>\n
<tr>\n
<td>assertElementPresent</td>\n
<td>//tr[@class="listbox-label-line"]/th[2]/img[@title="Ascending Display"]</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and @value=\'listbox.title:none\']</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>assertElementNotPresent</td>\n
<td>//tr[@class="listbox-label-line"]/th[2]/img[@title="Descending Display"]</td>\n
<td>assertElementPresent</td>\n
<td>//tr[@class="listbox-label-line"]/th[2]/button/img[@title="Ascending Display"]</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>assertElementPresent</td>\n
<td>//tr[@class="listbox-label-line"]/th[2]/button/img[@title="Descending Display"]</td>\n
<td></td>\n
</tr>\n
<tr>\n
......@@ -172,12 +207,22 @@
</tr>\n
<tr>\n
<td>assertElementPresent</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and @value=\'listbox.int_index\']</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and @value=\'listbox.int_index:asc\']</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>assertElementPresent</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and @value=\'listbox.int_index:desc\']</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>assertElementPresent</td>\n
<td>//tr[@class="listbox-label-line"]/th[3]/button/img[@class="sort-button sort-button-arrow sort-button-asc-not-selected"]</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>assertElementPresent</td>\n
<td>//tr[@class="listbox-label-line"]/th[3]/img[@class="sort-button"]</td>\n
<td>//tr[@class="listbox-label-line"]/th[3]/button/img[@class="sort-button sort-button-arrow sort-button-desc-not-selected"]</td>\n
<td></td>\n
</tr>\n
<tr>\n
......@@ -187,18 +232,23 @@
</tr>\n
<tr>\n
<td>assertElementPresent</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and @value=\'listbox.relative_url\']</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and @value=\'listbox.relative_url:asc\']</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>assertElementPresent</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and @value=\'listbox.relative_url:desc\']</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>assertElementNotPresent</td>\n
<td>//tr[@id="listbox_label_line"]/td[4]/img</td>\n
<td>//tr[@id="listbox_label_line"]/td[4]/button/img</td>\n
<td></td>\n
</tr>\n
<!-- click the Title again-->\n
<tr>\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
</tr>\n
\n
......@@ -209,17 +259,22 @@
</tr>\n
<tr>\n
<td>assertElementPresent</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
</tr>\n
<tr>\n
<td>assertElementNotPresent</td>\n
<td>//tr[@class="listbox-label-line"]/th[2]/img[@title="Ascending Display"]</td>\n
<td>assertElementPresent</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and @value=\'listbox.title:none\']</td>\n
<td></td>\n
</tr>\n
<tr>\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="Ascending Display"]</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>assertElementPresent</td>\n
<td>//tr[@class="listbox-label-line"]/th[2]/button/img[@title="Descending Display"]</td>\n
<td></td>\n
</tr>\n
<tr>\n
......@@ -229,12 +284,22 @@
</tr>\n
<tr>\n
<td>assertElementPresent</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and @value=\'listbox.int_index\']</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and @value=\'listbox.int_index:asc\']</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>assertElementPresent</td>\n
<td>//tr[@class="listbox-label-line"]/th[3]/img[@class="sort-button"]</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and @value=\'listbox.int_index:desc\']</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>assertElementPresent</td>\n
<td>//tr[@class="listbox-label-line"]/th[3]/button/img[@class="sort-button sort-button-arrow sort-button-asc-not-selected"]</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>assertElementPresent</td>\n
<td>//tr[@class="listbox-label-line"]/th[3]/button/img[@class="sort-button sort-button-arrow sort-button-desc-not-selected"]</td>\n
<td></td>\n
</tr>\n
<tr>\n
......@@ -244,18 +309,34 @@
</tr>\n
<tr>\n
<td>assertElementPresent</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and @value=\'listbox.relative_url\']</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and @value=\'listbox.relative_url:asc\']</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>assertElementPresent</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and @value=\'listbox.relative_url:desc\']</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>assertElementPresent</td>\n
<td>//tr[@class="listbox-label-line"]/th[4]/button/img[@class="sort-button sort-button-arrow sort-button-asc-not-selected"]</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>assertElementPresent</td>\n
<td>//tr[@class="listbox-label-line"]/th[4]/img[@class="sort-button"]</td>\n
<td>//tr[@class="listbox-label-line"]/th[4]/button/img[@class="sort-button sort-button-arrow sort-button-desc-not-selected"]</td>\n
<td></td>\n
</tr>\n
<!-- click the Int index -->\n
<!-- reset tittle sort -->\n
<tr>\n
<td>clickAndWait</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and @value=\'listbox.int_index\']</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and @value=\'listbox.title:none\']</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>clickAndWait</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and @value=\'listbox.int_index:asc\']</td>\n
<td></td>\n
</tr>\n
\n
......@@ -266,12 +347,22 @@
</tr>\n
<tr>\n
<td>assertElementPresent</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
</tr>\n
<tr>\n
<td>assertElementPresent</td>\n
<td>//tr[@class="listbox-label-line"]/th[2]/img[@class="sort-button"]</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and @value=\'listbox.title:desc\']</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>assertElementPresent</td>\n
<td>//tr[@class="listbox-label-line"]/th[2]/button/img[@class="sort-button sort-button-arrow sort-button-desc-not-selected"]</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>assertElementPresent</td>\n
<td>//tr[@class="listbox-label-line"]/th[2]/button/img[@class="sort-button sort-button-arrow sort-button-asc-not-selected"]</td>\n
<td></td>\n
</tr>\n
<tr>\n
......@@ -281,17 +372,22 @@
</tr>\n
<tr>\n
<td>assertElementPresent</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and @value=\'listbox.int_index\']</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and @value=\'listbox.int_index:none\']</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>assertElementPresent</td>\n
<td>//tr[@class="listbox-label-line"]/th[3]/img[@title="Ascending Display"]</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and @value=\'listbox.int_index:desc\']</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>assertElementNotPresent</td>\n
<td>//tr[@class="listbox-label-line"]/th[3]/img[@title="Descending Display"]</td>\n
<td>assertElementPresent</td>\n
<td>//tr[@class="listbox-label-line"]/th[3]/button/img[@title="Ascending Display"]</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>assertElementPresent</td>\n
<td>//tr[@class="listbox-label-line"]/th[3]/button/img[@title="Descending Display"]</td>\n
<td></td>\n
</tr>\n
<tr>\n
......@@ -301,18 +397,23 @@
</tr>\n
<tr>\n
<td>assertElementPresent</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and @value=\'listbox.relative_url\']</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and @value=\'listbox.relative_url:asc\']</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>assertElementPresent</td>\n
<td>//tr[@class="listbox-label-line"]/th[4]/img[@class="sort-button"]</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and @value=\'listbox.relative_url:desc\']</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>assertElementPresent</td>\n
<td>//tr[@class="listbox-label-line"]/th[4]/button/img[@class="sort-button sort-button-arrow sort-button-desc-not-selected"]</td>\n
<td></td>\n
</tr>\n
<!-- click the Int index again -->\n
<tr>\n
<td>clickAndWait</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and @value=\'listbox.int_index\']</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and @value=\'listbox.int_index:desc\']</td>\n
<td></td>\n
</tr>\n
\n
......@@ -323,12 +424,22 @@
</tr>\n
<tr>\n
<td>assertElementPresent</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
</tr>\n
<tr>\n
<td>assertElementPresent</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and @value=\'listbox.title:desc\']</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>assertElementPresent</td>\n
<td>//tr[@class="listbox-label-line"]/th[2]/img[@class="sort-button"]</td>\n
<td>//tr[@class="listbox-label-line"]/th[2]/button/img[@class="sort-button sort-button-arrow sort-button-desc-not-selected"]</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>assertElementPresent</td>\n
<td>//tr[@class="listbox-label-line"]/th[2]/button/img[@class="sort-button sort-button-arrow sort-button-asc-not-selected"]</td>\n
<td></td>\n
</tr>\n
<tr>\n
......@@ -338,17 +449,22 @@
</tr>\n
<tr>\n
<td>assertElementPresent</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and @value=\'listbox.int_index\']</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and @value=\'listbox.int_index:asc\']</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>assertElementNotPresent</td>\n
<td>//tr[@class="listbox-label-line"]/th[3]/img[@title="Ascending Display"]</td>\n
<td>assertElementPresent</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and @value=\'listbox.int_index:none\']</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>assertElementPresent</td>\n
<td>//tr[@class="listbox-label-line"]/th[3]/img[@title="Descending Display"]</td>\n
<td>//tr[@class="listbox-label-line"]/th[3]/button/img[@title="Ascending Display"]</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>assertElementPresent</td>\n
<td>//tr[@class="listbox-label-line"]/th[3]/button/img[@title="Descending Display"]</td>\n
<td></td>\n
</tr>\n
<tr>\n
......@@ -358,20 +474,29 @@
</tr>\n
<tr>\n
<td>assertElementPresent</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and @value=\'listbox.relative_url\']</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and @value=\'listbox.relative_url:asc\']</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>assertElementPresent</td>\n
<td>//tr[@class=\'listbox-label-line\']/th[4]/img[@class="sort-button"]</td>\n
<td>//button[@name=\'setSelectionQuickSortOrder:method\' and @value=\'listbox.relative_url:desc\']</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>assertElementPresent</td>\n
<td>//tr[@class=\'listbox-label-line\']/th[4]/button/img[@class="sort-button sort-button-arrow sort-button-asc-not-selected"]</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>assertElementPresent</td>\n
<td>//tr[@class=\'listbox-label-line\']/th[4]/button/img[@class="sort-button sort-button-arrow sort-button-desc-not-selected"]</td>\n
<td></td>\n
</tr>\n
</tal:block>\n
\n
</tbody></table>\n
</body>\n
</html>\n
</html>
]]></unicode> </value>
</item>
......
......@@ -197,7 +197,7 @@ will be shown\n
<!-- do sort on the title column default sort bring Title 0 in first place-->\n
<tr>\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
......@@ -209,7 +209,7 @@ will be shown\n
<!-- do revert sort on the title column, it will bring Title 1 in first place-->\n
<tr>\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
......
711
\ No newline at end of file
712
\ 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