Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Nicolas Wavrant
erp5
Commits
3ad462a9
Commit
3ad462a9
authored
Apr 08, 2013
by
Tatuya Kamada
Committed by
Arnaud Fontaine
Jun 21, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Follow new listbox sort button style in several functional tests.
parent
e7293cfe
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
123 additions
and
50 deletions
+123
-50
bt5/erp5_ui_test/PathTemplateItem/portal_tests/lines_field_zuite/testDialogLinesField.xml
...m/portal_tests/lines_field_zuite/testDialogLinesField.xml
+3
-4
bt5/erp5_ui_test/PathTemplateItem/portal_tests/listbox_dialog_mode_zuite/testQuickSort.xml
.../portal_tests/listbox_dialog_mode_zuite/testQuickSort.xml
+17
-13
bt5/erp5_ui_test/PathTemplateItem/portal_tests/listbox_zuite/testQuickSort.xml
...TemplateItem/portal_tests/listbox_zuite/testQuickSort.xml
+102
-32
bt5/erp5_ui_test/bt/revision
bt5/erp5_ui_test/bt/revision
+1
-1
No files found.
bt5/erp5_ui_test/PathTemplateItem/portal_tests/lines_field_zuite/testDialogLinesField.xml
View file @
3ad462a9
...
...
@@ -61,7 +61,7 @@
<tal:block
tal:condition=
"python: context.TestTool_getSkinName()!=\'Mobile\'"
>
\n
<tr>
\n
<td>
clickAndWait
</td>
\n
<td>
//button[@value=\'listbox.title\']
</td>
\n
<td>
//button[@value=\'listbox.title
:desc
\']
</td>
\n
<td></td>
\n
</tr>
\n
</tal:block>
\n
...
...
@@ -93,7 +93,7 @@
<tal:block
tal:condition=
"python: context.TestTool_getSkinName()!=\'Mobile\'"
>
\n
<tr>
\n
<td>
clickAndWait
</td>
\n
<td>
//button[@value=\'listbox.title\']
</td>
\n
<td>
//button[@value=\'listbox.title
:asc
\']
</td>
\n
<td></td>
\n
</tr>
\n
</tal:block>
\n
...
...
@@ -118,8 +118,7 @@
<td>
foo bar
</td>
\n
</tr>
\n
</body>
\n
</html>
\n
</html>
]]>
</unicode>
</value>
</item>
...
...
bt5/erp5_ui_test/PathTemplateItem/portal_tests/listbox_dialog_mode_zuite/testQuickSort.xml
View file @
3ad462a9
...
...
@@ -53,29 +53,34 @@
<tal:block
metal:use-macro=
"here/ListBoxDialogModeZuite_CommonTemplate/macros/init"
/>
\n
<tr>
\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
</tr>
\n
<!-- click the ID -->
\n
<tr>
\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
</tr>
\n
<tal:block
metal:use-macro=
"here/ListBoxDialogModeZuite_CommonTemplate/macros/verify_dialog"
/>
\n
<tr>
\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
</tr>
\n
<tr>
\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
</tr>
\n
<tr>
\n
<td>
assertElement
Not
Present
</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="Descending Display"]
</td>
\n
<td></td>
\n
</tr>
\n
<tr>
\n
...
...
@@ -102,22 +107,22 @@
<tal:block
metal:use-macro=
"here/ListBoxDialogModeZuite_CommonTemplate/macros/verify_dialog"
/>
\n
<tr>
\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
</tr>
\n
<tr>
\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>
assertElement
Not
Present
</td>
\n
<td>
//tr[@class="listbox-label-line"]/th[2]/img[@title="Ascending 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]/img[@title="Descending Display"]
</td>
\n
<td>
//tr[@class="listbox-label-line"]/th[2]/
button/
img[@title="Descending Display"]
</td>
\n
<td></td>
\n
</tr>
\n
<tr>
\n
...
...
@@ -143,8 +148,7 @@
</tal:block>
\n
</tbody></table>
\n
</body>
\n
</html>
\n
</html>
]]>
</unicode>
</value>
</item>
...
...
bt5/erp5_ui_test/PathTemplateItem/portal_tests/listbox_zuite/testQuickSort.xml
View file @
3ad462a9
This diff is collapsed.
Click to expand it.
bt5/erp5_ui_test/bt/revision
View file @
3ad462a9
709
\ No newline at end of file
710
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment