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
Lukas Niegsch
erp5
Commits
410c105d
Commit
410c105d
authored
Oct 04, 2021
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_officejs_ui_test: use macro
parent
09e0bbcf
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
168 additions
and
273 deletions
+168
-273
bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_smartassistant_zuite/testOfficeJSSmartAssistantAll.zpt
...ui_smartassistant_zuite/testOfficeJSSmartAssistantAll.zpt
+168
-273
No files found.
bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_smartassistant_zuite/testOfficeJSSmartAssistantAll.zpt
View file @
410c105d
...
@@ -17,39 +17,21 @@
...
@@ -17,39 +17,21 @@
<td>
${base_url}/web_site_module/officejs_smart_assistant/
</td>
<td>
${base_url}/web_site_module/officejs_smart_assistant/
</td>
<td></td>
<td></td>
</tr>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_app_loaded"
/>
<tal:block
tal:define=
"click_configuration python: {'text': 'Storages'}"
>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/click_on_panel_link"
/>
</tal:block>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded"
/>
<tal:block
tal:define=
"click_configuration python: {'text': 'Local is Enough'}"
>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/click_on_page_link"
/>
</tal:block>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_app_loaded"
/>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
//a[@data-i18n='Storages']
</td>
<td>
//a[@id='audio']
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//a[@data-i18n='Storages']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
link=Local is Enough
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
link=Local is Enough
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//label[@for='upload']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//label[@for='image']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//a[contains(@href,'smart_assistant_audio')]
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
...
@@ -57,14 +39,21 @@
...
@@ -57,14 +39,21 @@
<td>
//a[@id='audio']
</td>
<td>
//a[@id='audio']
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
//button[text()="We can't access to your microphone"]
</td>
<td>
//button[text()="We can't access to your microphone"]
</td>
<td></td>
<td></td>
</tr>
</tr>
<!--tal:block tal:define="notification_configuration python: {'class': 'error',
'text': 'We can\'t access to your microphone'}">
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_notification" />
</tal:block-->
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded"
/>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
//a[
contains(@href,'smart_assistant_text')
]
</td>
<td>
//a[
@id='text'
]
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
...
@@ -72,54 +61,41 @@
...
@@ -72,54 +61,41 @@
<td>
//a[@id='text']
</td>
<td>
//a[@id='text']
</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>
//button[@data-i18n='Save']
</td>
<td></td>
</tr>
<tal:block
tal:define=
"text_content python: 'This is a test too simple'"
>
<tal:block
tal:define=
"text_content python: 'This is a test too simple'"
>
<tal:block
metal:use-macro=
"container/Zuite_CommonTemplateForRenderjsUi/macros/type_ckeditor_text_content"
/>
<tal:block
metal:use-macro=
"container/Zuite_CommonTemplateForRenderjsUi/macros/type_ckeditor_text_content"
/>
</tal:block>
</tal:block>
<tr>
<td>
click
</td>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/click_save"
/>
<td>
//button[@data-i18n='Save']
</td>
<tal:block
tal:define=
"notification_configuration python: {'class': 'success',
<td></td>
'text': 'Data created'}"
>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_notification"
/>
<tr>
</tal:block>
<td>
waitForElementPresent
</td>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded"
/>
<td>
//button[text()='Data created']
</td>
<td></td>
</tr>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
//a[contains(@href,'smart_assistant_audio')]
</td>
<td>
//a[contains(@href,'smart_assistant_audio')]
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<td>
click
</td>
<tal:block
tal:define=
"click_configuration python: {'text': 'Document'}"
>
<td>
//a[@data-i18n='Document']
</td>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/click_on_panel_link"
/>
<td></td>
</tal:block>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded"
/>
<tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded"
/>
<td>
waitForElementPresent
</td>
<td>
//button[@data-i18n='Filter']
</td>
<td></td>
</tr>
<tr>
<tr>
<td>
store
</td>
<td>
store
</td>
<td
tal:content=
"python: 'This_is_a_test'"
>
Title
</td>
<td
>
This_is_a_test
</td>
<td>
title
</td>
<td>
title
</td>
</tr>
</tr>
<tr>
<tal:block
tal:define=
"click_configuration python: {'text': '${title}'}"
>
<td>
waitForElementPresent
</td>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/click_on_page_link"
/>
<td>
link=${title}
</td>
</tal:block>
<td></td>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded"
/>
</tr>
<tr>
<td>
click
</td>
<td>
link=${title}
</td>
<td></td>
</tr>
<tal:block
tal:define=
"text_content python: '<p>This is a test too simple</p>'"
>
<tal:block
tal:define=
"text_content python: '<p>This is a test too simple</p>'"
>
<tal:block
metal:use-macro=
"container/Zuite_CommonTemplateForRenderjsUi/macros/verify_ckeditor_text_content"
/>
<tal:block
metal:use-macro=
"container/Zuite_CommonTemplateForRenderjsUi/macros/verify_ckeditor_text_content"
/>
</tal:block>
</tal:block>
...
@@ -130,26 +106,18 @@
...
@@ -130,26 +106,18 @@
<td>
${base_url}/web_site_module/officejs_smart_assistant/
</td>
<td>
${base_url}/web_site_module/officejs_smart_assistant/
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_app_loaded"
/>
<td>
waitForElementPresent
</td>
<td>
link=Storages
</td>
<tal:block
tal:define=
"click_configuration python: {'text': 'Storages'}"
>
<td></td>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/click_on_panel_link"
/>
</tr>
</tal:block>
<tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded"
/>
<td>
click
</td>
<td>
link=Storages
</td>
<tal:block
tal:define=
"click_configuration python: {'text': 'Erp5'}"
>
<td></td>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/click_on_page_link"
/>
</tr>
</tal:block>
<tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded"
/>
<td>
waitForElementPresent
</td>
<td>
link=Erp5
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
link=Erp5
</td>
<td></td>
</tr>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
name=erp5_url
</td>
<td>
name=erp5_url
</td>
...
@@ -165,6 +133,9 @@
...
@@ -165,6 +133,9 @@
<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"
/>
<!-- Create two documents : audio, text -->
<!-- Create two documents : audio, text -->
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
...
@@ -181,6 +152,8 @@
...
@@ -181,6 +152,8 @@
<td>
//button[text()="We can't access to your microphone"]
</td>
<td>
//button[text()="We can't access to your microphone"]
</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>
//a[contains(@href,'smart_assistant_text')]
</td>
<td>
//a[contains(@href,'smart_assistant_text')]
</td>
...
@@ -191,58 +164,39 @@
...
@@ -191,58 +164,39 @@
<td>
//a[@id='text']
</td>
<td>
//a[@id='text']
</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>
//button[@data-i18n='Save']
</td>
<td></td>
</tr>
<tal:block
tal:define=
"text_content python: 'This is a test too simple'"
>
<tal:block
tal:define=
"text_content python: 'This is a test too simple'"
>
<tal:block
metal:use-macro=
"container/Zuite_CommonTemplateForRenderjsUi/macros/type_ckeditor_text_content"
/>
<tal:block
metal:use-macro=
"container/Zuite_CommonTemplateForRenderjsUi/macros/type_ckeditor_text_content"
/>
</tal:block>
</tal:block>
<tr>
<td>
click
</td>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/click_save"
/>
<td>
//button[@data-i18n='Save']
</td>
<tal:block
tal:define=
"notification_configuration python: {'class': 'success',
<td></td>
'text': 'Data created'}"
>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_notification"
/>
<tr>
</tal:block>
<td>
waitForElementPresent
</td>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded"
/>
<td>
//button[text()='Data created']
</td>
<td></td>
</tr>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
//a[@id='audio']
</td>
<td>
//a[@id='audio']
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tal:block
tal:define=
"click_configuration python: {'text': 'Document'}"
>
<td>
waitForElementPresent
</td>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/click_on_panel_link"
/>
<td>
//a[@data-i18n='Document']
</td>
</tal:block>
<td></td>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded"
/>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded"
/>
<tr>
<td>
click
</td>
<td>
//a[@data-i18n='Document']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//button[@data-i18n='Filter']
</td>
<td></td>
</tr>
<!-- Check in ERP5 -->
<!-- Check in ERP5 -->
<tr>
<tal:block
tal:define=
"click_configuration python: {'text': 'Synchronize'}"
>
<td>
click
</td>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/click_on_panel_link"
/>
<td>
//button[@data-i18n='Menu']
</td>
</tal:block>
<td></td>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded"
/>
</tr>
<tr>
<td>
click
</td>
<td>
//a[@data-i18n='Synchronize']
</td>
<td></td>
</tr>
<tr>
<tr>
<td>
store
</td>
<td>
store
</td>
<td
tal:content=
"python: 'This_is_a_test'"
>
Title
</td>
<td
>
This_is_a_test
</td>
<td>
title
</td>
<td>
title
</td>
</tr>
</tr>
<tr>
<tr>
...
@@ -265,51 +219,42 @@
...
@@ -265,51 +219,42 @@
<td>
${base_url}/web_site_module/renderjs_runner/#/smart_assistant_text_module/
</td>
<td>
${base_url}/web_site_module/renderjs_runner/#/smart_assistant_text_module/
</td>
<td></td>
<td></td>
</tr>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_app_loaded"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded"
/>
<tal:block
tal:define=
"click_configuration python: {'text': '${title}'}"
>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/click_on_page_link"
/>
</tal:block>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded"
/>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
assertElementPresent
</td>
<td>
//button[@data-i18n='Filter']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
link=${title}
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
link=${title}
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//pre[contains(text(), "This is a test too simple")]
</td>
<td>
//pre[contains(text(), "This is a test too simple")]
</td>
<td></td>
<td></td>
</tr>
</tr>
<!-- Check in ERP5: Query -->
<!-- Check in ERP5: Query -->
<tal:block
tal:define=
"click_configuration python: {'text': 'Actions'}"
>
<tal:block
tal:define=
"click_configuration python: {'text': 'Actions'}"
>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/click_on_header_link"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/click_on_header_link"
/>
</tal:block>
</tal:block>
<tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded"
/>
<td>
waitForElementPresent
</td>
<td>
//a[text() = 'Post a Query']
</td>
<tal:block
tal:define=
"click_configuration python: {'text': 'Post a Query'}"
>
<td></td>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/click_on_page_link"
/>
</tr>
</tal:block>
<tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded"
/>
<td>
click
</td>
<td>
//a[text() = 'Post a Query']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//label[@for='field_your_description']
</td>
<td></td>
</tr>
<tr>
<tr>
<td>
type
</td>
<td>
type
</td>
<td>
//textarea[@name='field_your_description']
</td>
<td>
//textarea[@name='field_your_description']
</td>
<td>
This is a reply test
</td>
<td>
This is a reply test
</td>
</tr>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/submit_dialog"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/submit_dialog"
/>
<!--tal:block tal:define="notification_configuration python: {'class': 'success',
'text': 'XXX'}">
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_notification" />
</tal:block-->
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded"
/>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
//label[@for='field_my_title']
</td>
<td>
//label[@for='field_my_title']
</td>
...
@@ -319,88 +264,47 @@
...
@@ -319,88 +264,47 @@
<tal:block
tal:define=
"click_configuration python: {'text': 'Actions'}"
>
<tal:block
tal:define=
"click_configuration python: {'text': 'Actions'}"
>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/click_on_header_link"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/click_on_header_link"
/>
</tal:block>
</tal:block>
<tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded"
/>
<td>
waitForElementPresent
</td>
<td>
//a[text() = 'New Person']
</td>
<td></td>
<tal:block
tal:define=
"click_configuration python: {'text': 'New Person'}"
>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/click_on_page_link"
/>
<tr>
</tal:block>
<td>
click
</td>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded"
/>
<td>
//a[text() = 'New Person']
</td>
<td></td>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/submit_dialog"
/>
</tr>
<tal:block
tal:define=
"notification_configuration python: {'class': 'success',
<tr>
'text': 'Action succeeded.'}"
>
<td>
waitForElementPresent
</td>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_notification"
/>
<td>
//input[@name='action_confirm' and @value='Create Person']
</td>
</tal:block>
<td></td>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded"
/>
</tr>
<tr>
<td>
click
</td>
<td>
//input[@name='action_confirm' and @value='Create Person']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//button[text()="Action succeeded."]
</td>
<td></td>
</tr>
<!-- Check in ERP5: New Expense -->
<!-- Check in ERP5: New Expense -->
<tr>
<tal:block
tal:define=
"click_configuration python: {'text': 'New Expense'}"
>
<td>
waitForElementPresent
</td>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/click_on_panel_link"
/>
<td>
//a[text() = 'New Expense']
</td>
</tal:block>
<td></td>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded"
/>
</tr>
<tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/submit_dialog"
/>
<td>
click
</td>
<tal:block
tal:define=
"notification_configuration python: {'class': 'success',
<td>
//a[text() = 'New Expense']
</td>
'text': 'Action succeeded.'}"
>
<td></td>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_notification"
/>
</tr>
</tal:block>
<tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded"
/>
<td>
waitForElementPresent
</td>
<td>
//input[@name='action_confirm' and @value='Create Expense']
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//input[@name='action_confirm' and @value='Create Expense']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//button[text()="Action succeeded."]
</td>
<td></td>
</tr>
<!-- Check in ERP5: New Event-->
<!-- Check in ERP5: New Event-->
<tr>
<tal:block
tal:define=
"click_configuration python: {'text': 'New Event'}"
>
<td>
waitForElementPresent
</td>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/click_on_panel_link"
/>
<td>
//a[text() = 'New Event']
</td>
</tal:block>
<td></td>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded"
/>
</tr>
<tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/submit_dialog"
/>
<td>
click
</td>
<tal:block
tal:define=
"notification_configuration python: {'class': 'success',
<td>
//a[text() = 'New Event']
</td>
'text': 'Action succeeded.'}"
>
<td></td>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_notification"
/>
</tr>
</tal:block>
<tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded"
/>
<td>
waitForElementPresent
</td>
<td>
//div[@data-gadget-scope='field_your_text_content']//iframe
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//input[@name='action_confirm' and @value='Create Event']
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//input[@name='action_confirm' and @value='Create Event']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//button[text()="Action succeeded."]
</td>
<td></td>
</tr>
<tr>
<tr>
<td>
open
</td>
<td>
open
</td>
<td>
${base_url}/Zuite_waitForActivities
</td>
<td>
${base_url}/Zuite_waitForActivities
</td>
...
@@ -416,26 +320,18 @@
...
@@ -416,26 +320,18 @@
<td>
${base_url}/web_site_module/officejs_smart_assistant/
</td>
<td>
${base_url}/web_site_module/officejs_smart_assistant/
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_app_loaded"
/>
<td>
waitForElementPresent
</td>
<td>
//a[@data-i18n='Storages']
</td>
<tal:block
tal:define=
"click_configuration python: {'text': 'Storages'}"
>
<td></td>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/click_on_panel_link"
/>
</tr>
</tal:block>
<tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded"
/>
<td>
click
</td>
<td>
//a[@data-i18n='Storages']
</td>
<tal:block
tal:define=
"click_configuration python: {'text': 'Erp5'}"
>
<td></td>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/click_on_page_link"
/>
</tr>
</tal:block>
<tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded"
/>
<td>
waitForElementPresent
</td>
<td>
link=Erp5
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
link=Erp5
</td>
<td></td>
</tr>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
name=erp5_url
</td>
<td>
name=erp5_url
</td>
...
@@ -451,16 +347,15 @@
...
@@ -451,16 +347,15 @@
<td>
//button[@data-i18n='Proceed']
</td>
<td>
//button[@data-i18n='Proceed']
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_app_loaded"
/>
<td>
waitForElementPresent
</td>
<td>
link=${title}
</td>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded"
/>
<td></td>
</tr>
<tal:block
tal:define=
"click_configuration python: {'text': '${title}'}"
>
<tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/click_on_page_link"
/>
<td>
click
</td>
</tal:block>
<td>
link=${title}
</td>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded"
/>
<td></td>
</tr>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
//pre[contains(text(), "This is a reply test")]
</td>
<td>
//pre[contains(text(), "This is a reply test")]
</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