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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Laurent S
erp5
Commits
124b9e27
Commit
124b9e27
authored
Jul 17, 2017
by
Cédric Le Ninivin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_officejs_ui_test: Add test on improved dispatcher
parent
89b58303
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
107 additions
and
0 deletions
+107
-0
bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_zuite/testOfficeJSBookmarkManager.zpt
...l_tests/officejs_ui_zuite/testOfficeJSBookmarkManager.zpt
+107
-0
No files found.
bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_zuite/testOfficeJSBookmarkManager.zpt
View file @
124b9e27
...
@@ -196,6 +196,113 @@
...
@@ -196,6 +196,113 @@
<td>
//h1[@class='test-script-title']
</td>
<td>
//h1[@class='test-script-title']
</td>
<td>
Title is : cloud
</td>
<td>
Title is : cloud
</td>
</tr>
</tr>
<!-- Add bookmark With Dispatcher Command-->
<tr>
<td>
open
</td>
<td>
${base_url}/web_site_module/officejs_bookmark_manager/
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//button[@data-i18n='Menu']
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//button[@data-i18n='Menu']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//a[@data-i18n='Search']
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//a[@data-i18n='Search']
</td>
<td></td>
</tr>
<tr>
<td>
pause
</td>
<td>
500
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//input[@name='search']
</td>
<td></td>
</tr>
<tr>
<td>
type
</td>
<td>
//input[@name='search']
</td>
<td>
!add ${base_url}/ERP5Site_printParameterAsHTMLTitle?parameter=
</td>
</tr>
<tr>
<td>
click
</td>
<td>
//input[@data-i18n='[value]header-submit']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//input[@name='title']
</td>
<td></td>
</tr>
<tr>
<td>
store
</td>
<td>
search
</td>
<td>
search_term
</td>
</tr>
<tr>
<td>
type
</td>
<td>
//input[@name='reference']
</td>
<td>
${search_term}
</td>
</tr>
<tr>
<td>
click
</td>
<td>
//button[@data-i18n='Save']
</td>
<td></td>
</tr>
<!--- Verify Search Command--->
<tr>
<td>
click
</td>
<td>
//button[@data-i18n='Menu']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//a[@data-i18n='Search']
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//a[@data-i18n='Search']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//input[@name='search']
</td>
<td></td>
</tr>
<tr>
<td>
type
</td>
<td>
//input[@name='search']
</td>
<td>
!search mysearchterm
</td>
</tr>
<tr>
<td>
click
</td>
<td>
//input[@data-i18n='[value]header-submit']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//h1[@class='test-script-title']
</td>
<td></td>
</tr>
<tr>
<td>
verifyText
</td>
<td>
//h1[@class='test-script-title']
</td>
<td>
Title is : mysearchterm
</td>
</tr>
<!--- Set preferences --->
<!--- Set preferences --->
<tr>
<tr>
<td>
open
</td>
<td>
open
</td>
...
...
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