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
Yoji Takeuchi
erp5
Commits
71963111
Commit
71963111
authored
Feb 13, 2019
by
Roque
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_officejs_ui_test: fixing synchronization test for discussion tool
parent
7d4f27e0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
40 additions
and
30 deletions
+40
-30
bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_discussiontool_zuite/testOfficeJSDiscussionToolErp5Synchronization.zpt
...l_zuite/testOfficeJSDiscussionToolErp5Synchronization.zpt
+40
-30
No files found.
bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_discussiontool_zuite/testOfficeJSDiscussionToolErp5Synchronization.zpt
View file @
71963111
...
@@ -27,6 +27,9 @@
...
@@ -27,6 +27,9 @@
<td>
${base_url}/web_site_module/officejs_discussion_tool/
</td>
<td>
${base_url}/web_site_module/officejs_discussion_tool/
</td>
<td></td>
<td></td>
</tr>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_app_loaded"
/>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
link=Storages
</td>
<td>
link=Storages
</td>
...
@@ -37,6 +40,9 @@
...
@@ -37,6 +40,9 @@
<td>
link=Storages
</td>
<td>
link=Storages
</td>
<td></td>
<td></td>
</tr>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded"
/>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
link=Erp5
</td>
<td>
link=Erp5
</td>
...
@@ -62,6 +68,8 @@
...
@@ -62,6 +68,8 @@
<td>
//button[@data-i18n='Proceed']
</td>
<td>
//button[@data-i18n='Proceed']
</td>
<td></td>
<td></td>
</tr>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_app_loaded"
/>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
link=Add
</td>
<td>
link=Add
</td>
...
@@ -72,6 +80,7 @@
...
@@ -72,6 +80,7 @@
<td>
link=Add
</td>
<td>
link=Add
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
//button[@data-i18n='Save']
</td>
<td>
//button[@data-i18n='Save']
</td>
...
@@ -97,29 +106,22 @@
...
@@ -97,29 +106,22 @@
<td>
//input[@title='Title']
</td>
<td>
//input[@title='Title']
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<td>
click
</td>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/click_save"
/>
<td>
//button[@data-i18n='Save']
</td>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded"
/>
<td></td>
<tal:block
tal:define=
"notification_configuration python: {'class': 'success',
</tr>
'text': 'Data Updated'}"
>
<tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_notification"
/>
<td>
waitForElementPresent
</td>
</tal:block>
<td>
//div[@data-gadget-scope="notification"]//button[text()='Data Updated']
</td>
<td></td>
</tr>
<tr>
<tr>
<td>
click
</td>
<td>
click
</td>
<td>
//a[@data-i18n='Document']
</td>
<td>
//a[@data-i18n='Document']
</td>
<td></td>
<td></td>
</tr>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded"
/>
<!-- Verify Search, add another document -->
<!-- Verify Search, add another document -->
<tr>
<td>
store
</td>
<td>
search
</td>
<td>
search
</td>
</tr>
<!--
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
//a[@data-i18n='Add']
</td>
<td>
//a[@data-i18n='Add']
</td>
...
@@ -130,11 +132,17 @@
...
@@ -130,11 +132,17 @@
<td>
//a[@data-i18n='Add']
</td>
<td>
//a[@data-i18n='Add']
</td>
<td></td>
<td></td>
</tr>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded"
/>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
//button[@data-i18n='Save']
</td>
<td>
//button[@data-i18n='Save']
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<td>
store
</td>
<td>
search
</td>
<td>
search
</td>
</tr>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
identifier=title
</td>
<td>
identifier=title
</td>
...
@@ -145,17 +153,20 @@
...
@@ -145,17 +153,20 @@
<td>
name=title
</td>
<td>
name=title
</td>
<td>
${search}
</td>
<td>
${search}
</td>
</tr>
</tr>
<tr>
<td>click</td>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/click_save"
/>
<td>//button[@data-i18n='Save']</td>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded"
/>
<td></td>
<tal:block
tal:define=
"notification_configuration python: {'class': 'success',
</tr>
'text': 'Data Updated'}"
>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_notification"
/>
</tal:block>
<tr>
<tr>
<td>
click
</td>
<td>
click
</td>
<td>
//a[@data-i18n='Document']
</td>
<td>
//a[@data-i18n='Document']
</td>
<td></td>
<td></td>
</tr>
</tr>
--
>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded"
/
>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded"
/>
<tal:block
tal:define=
"search_query python: 'Titre'"
>
<tal:block
tal:define=
"search_query python: 'Titre'"
>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/search_in_form_list_without_header_url"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/search_in_form_list_without_header_url"
/>
...
@@ -185,6 +196,8 @@
...
@@ -185,6 +196,8 @@
<td>
link=${title}
</td>
<td>
link=${title}
</td>
<td></td>
<td></td>
</tr>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded"
/>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
identifier=title
</td>
<td>
identifier=title
</td>
...
@@ -210,11 +223,7 @@
...
@@ -210,11 +223,7 @@
<td>
//a[@data-i18n='Synchronize']
</td>
<td>
//a[@data-i18n='Synchronize']
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded"
/>
<td>
waitForElementPresent
</td>
<td>
//a[@data-i18n='Add']
</td>
<td></td>
</tr>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
name=search
</td>
<td>
name=search
</td>
...
@@ -223,7 +232,7 @@
...
@@ -223,7 +232,7 @@
<tr>
<tr>
<td>
type
</td>
<td>
type
</td>
<td>
name=search
</td>
<td>
name=search
</td>
<td>
${title}
</td>
<!--replaced-->
<td>
${title}
</td>
</tr>
</tr>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
...
@@ -255,6 +264,7 @@
...
@@ -255,6 +264,7 @@
<td>
link=${title}
</td>
<td>
link=${title}
</td>
<td></td>
<td></td>
</tr>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded"
/>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
identifier=title
</td>
<td>
identifier=title
</td>
...
@@ -276,6 +286,7 @@
...
@@ -276,6 +286,7 @@
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<!--<td>assertTextPresent</td>-->
<td>
verifyTextPresent
</td>
<td>
verifyTextPresent
</td>
<td>
Done.
</td>
<td>
Done.
</td>
<td></td>
<td></td>
...
@@ -323,4 +334,3 @@
...
@@ -323,4 +334,3 @@
</tbody></table>
</tbody></table>
</body>
</body>
</html>
</html>
\ 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