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
Labels
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Romain Courteaud
erp5
Commits
d339027a
Commit
d339027a
authored
Jun 08, 2011
by
Ivan Tyagov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add testing for type in PDF navigation.
parent
66ad71f5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
17 deletions
+33
-17
bt5/erp5_km_ui_test/PathTemplateItem/portal_tests/erp5_km_zuite/testCheckPDFThumbnail.xml
...Item/portal_tests/erp5_km_zuite/testCheckPDFThumbnail.xml
+32
-16
bt5/erp5_km_ui_test/bt/revision
bt5/erp5_km_ui_test/bt/revision
+1
-1
No files found.
bt5/erp5_km_ui_test/PathTemplateItem/portal_tests/erp5_km_zuite/testCheckPDFThumbnail.xml
View file @
d339027a
...
@@ -206,13 +206,13 @@
...
@@ -206,13 +206,13 @@
<!-- Go to PDF default big preview -->
\n
<!-- Go to PDF default big preview -->
\n
<tr>
\n
<tr>
\n
<td>
clickAndWait
</td>
\n
<td>
clickAndWait
</td>
\n
<td>
//tr[@class="listbox-data-line-1 DataB"]/td/a/img[@title=\'Thumbnail\']
</td>
\n
<td>
//tr[@class="listbox-data-line-1 DataB"]/td/
div/
a/img[@title=\'Thumbnail\']
</td>
\n
<td></td>
\n
<td></td>
\n
</tr>
\n
</tr>
\n
<tr>
\n
<tr>
\n
<td>
verify
TextPresent
</td>
\n
<td>
verify
Value
</td>
\n
<td>
2 / 16
</td>
\n
<td>
//input[@name="pdf_selection_index"]
</td>
\n
<td></td>
\n
<td>
2
</td>
\n
</tr>
\n
</tr>
\n
<tr>
\n
<tr>
\n
<td>
verifyElementPresent
</td>
\n
<td>
verifyElementPresent
</td>
\n
...
@@ -247,9 +247,9 @@
...
@@ -247,9 +247,9 @@
<td></td>
\n
<td></td>
\n
</tr>
\n
</tr>
\n
<tr>
\n
<tr>
\n
<td>
verify
TextPresent
</td>
\n
<td>
verify
Value
</td>
\n
<td>
3 / 16
</td>
\n
<td>
//input[@name="pdf_selection_index"]
</td>
\n
<td></td>
\n
<td>
3
</td>
\n
</tr>
\n
</tr>
\n
<tr>
\n
<tr>
\n
<td>
clickAndWait
</td>
\n
<td>
clickAndWait
</td>
\n
...
@@ -257,9 +257,9 @@
...
@@ -257,9 +257,9 @@
<td></td>
\n
<td></td>
\n
</tr>
\n
</tr>
\n
<tr>
\n
<tr>
\n
<td>
verify
TextPresent
</td>
\n
<td>
verify
Value
</td>
\n
<td>
1 / 16
</td>
\n
<td>
//input[@name="pdf_selection_index"]
</td>
\n
<td></td>
\n
<td>
1
</td>
\n
</tr>
\n
</tr>
\n
<tr>
\n
<tr>
\n
<td>
clickAndWait
</td>
\n
<td>
clickAndWait
</td>
\n
...
@@ -267,9 +267,9 @@
...
@@ -267,9 +267,9 @@
<td></td>
\n
<td></td>
\n
</tr>
\n
</tr>
\n
<tr>
\n
<tr>
\n
<td>
verify
TextPresent
</td>
\n
<td>
verify
Value
</td>
\n
<td>
16 / 16
</td>
\n
<td>
//input[@name="pdf_selection_index"]
</td>
\n
<td></td>
\n
<td>
16
</td>
\n
</tr>
\n
</tr>
\n
<tr>
\n
<tr>
\n
<td>
clickAndWait
</td>
\n
<td>
clickAndWait
</td>
\n
...
@@ -277,9 +277,25 @@
...
@@ -277,9 +277,25 @@
<td></td>
\n
<td></td>
\n
</tr>
\n
</tr>
\n
<tr>
\n
<tr>
\n
<td>
verifyTextPresent
</td>
\n
<td>
verifyValue
</td>
\n
<td>
1 / 16
</td>
\n
<td>
//input[@name="pdf_selection_index"]
</td>
\n
<td></td>
\n
<td>
1
</td>
\n
</tr>
\n
<!-- Type in test -->
\n
<tr>
\n
<td>
type
</td>
\n
<td>
//input[@name="pdf_selection_index"]
</td>
\n
<td>
5
</td>
\n
</tr>
\n
<tr>
\n
<td>
keyPressAndWait
</td>
\n
<td>
//input[@name="pdf_selection_index"]
</td>
\n
<td>
\\13
</td>
\n
</tr>
\n
<tr>
\n
<td>
verifyValue
</td>
\n
<td>
//input[@name="pdf_selection_index"]
</td>
\n
<td>
5
</td>
\n
</tr>
\n
</tr>
\n
\n
\n
<tal:block
metal:use-macro=
"here/KMZuite_CommonTemplate/macros/deleteKMWebSite"
/>
\n
<tal:block
metal:use-macro=
"here/KMZuite_CommonTemplate/macros/deleteKMWebSite"
/>
\n
...
...
bt5/erp5_km_ui_test/bt/revision
View file @
d339027a
157
158
\ No newline at end of file
\ 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