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
Titouan Soulard
erp5
Commits
bb75380b
Commit
bb75380b
authored
Aug 14, 2018
by
Vincent Bechu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[erp5_officejs_ui_test] Handle officejs install
parent
6d08d51b
Changes
12
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
90 additions
and
75 deletions
+90
-75
bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_bookmark_zuite/testOfficeJSBookmarkManager.zpt
...fficejs_ui_bookmark_zuite/testOfficeJSBookmarkManager.zpt
+2
-2
bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_driveapp_zuite/testOfficeJSDriveApp.zpt
...tests/officejs_ui_driveapp_zuite/testOfficeJSDriveApp.zpt
+20
-0
bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_ooo_presentation_zuite/testOnlyOfficePresentationConvert.zpt
..._presentation_zuite/testOnlyOfficePresentationConvert.zpt
+4
-3
bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_ooo_presentation_zuite/testOnlyfficePresentationSave.zpt
..._ooo_presentation_zuite/testOnlyfficePresentationSave.zpt
+4
-10
bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_ooo_spreadsheet_zuite/testOnlyOfficeSpreadsheetConvert.zpt
...oo_spreadsheet_zuite/testOnlyOfficeSpreadsheetConvert.zpt
+4
-3
bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_ooo_spreadsheet_zuite/testOnlyfficeSpreadsheetComplexDocument.zpt
...adsheet_zuite/testOnlyfficeSpreadsheetComplexDocument.zpt
+5
-4
bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_ooo_spreadsheet_zuite/testOnlyfficeSpreadsheetErp5Synchronization.zpt
...eet_zuite/testOnlyfficeSpreadsheetErp5Synchronization.zpt
+4
-9
bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_ooo_spreadsheet_zuite/testOnlyfficeSpreadsheetSave.zpt
...ui_ooo_spreadsheet_zuite/testOnlyfficeSpreadsheetSave.zpt
+4
-10
bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_ooo_text_zuite/testOnlyfficeTextConvert.zpt
...s/officejs_ui_ooo_text_zuite/testOnlyfficeTextConvert.zpt
+4
-3
bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_ooo_text_zuite/testOnlyfficeTextErp5Synchronization.zpt
...i_ooo_text_zuite/testOnlyfficeTextErp5Synchronization.zpt
+4
-10
bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_ooo_text_zuite/testOnlyfficeTextSave.zpt
...ests/officejs_ui_ooo_text_zuite/testOnlyfficeTextSave.zpt
+4
-10
bt5/erp5_officejs_ui_test/SkinTemplateItem/portal_skins/erp5_officejs_ui_test/Zuite_CommonTemplateForOfficejsUi.zpt
...p5_officejs_ui_test/Zuite_CommonTemplateForOfficejsUi.zpt
+31
-11
No files found.
bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_bookmark_zuite/testOfficeJSBookmarkManager.zpt
View file @
bb75380b
...
...
@@ -197,7 +197,7 @@
<!-- Add bookmark With Dispatcher Command -->
<tr>
<td>
open
</td>
<td>
${base_url}/web_site_module/${
test
_url}/
</td>
<td>
${base_url}/web_site_module/${
install
_url}/
</td>
<td></td>
</tr>
<tr>
...
...
@@ -299,7 +299,7 @@
<!-- Set preferences -->
<tr>
<td>
open
</td>
<td>
${base_url}/web_site_module/${
test
_url}/
</td>
<td>
${base_url}/web_site_module/${
install
_url}/
</td>
<td></td>
</tr>
<tr>
...
...
bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_driveapp_zuite/testOfficeJSDriveApp.zpt
View file @
bb75380b
...
...
@@ -26,6 +26,26 @@
<tal:block
tal:define=
"web_site_name python: 'officejs_drive_app'"
>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForOfficejsUi/macros/install_offline_and_redirect"
/>
</tal:block>
<tr>
<td>
waitForElementPresent
</td>
<td>
//a[@data-i18n="Storages"]
</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>
link=Add
</td>
...
...
bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_ooo_presentation_zuite/testOnlyOfficePresentationConvert.zpt
View file @
bb75380b
...
...
@@ -33,10 +33,11 @@
<td></td>
</tr>
<tr>
<td>
open
</td>
<td>
${base_url}/web_site_module/ooffice_presentation/
</td>
<td></td>
<td>
store
</td>
<td>
ooffice_presentation
</td>
<td>
install_url
</td>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForOfficejsUi/macros/wait_install"
/>
<tr>
<td>
waitForElementPresent
</td>
<td>
//a[@data-i18n="Storages"]
</td>
...
...
bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_ooo_presentation_zuite/testOnlyfficePresentationSave.zpt
View file @
bb75380b
...
...
@@ -21,18 +21,12 @@
<td>
Reset Successfully.
</td>
<td></td>
</tr>
<!-- Initialize -->
<tr>
<td>
open
</td>
<td>
${base_url}/web_site_module/ooffice_presentation/
</td>
<td></td>
</tr>
<!-- Install can be longer than 90s -->
<tr>
<td>
pause
</td>
<td>
60000
</td>
<td></td>
<td>
store
</td>
<td>
ooffice_presentation
</td>
<td>
install_url
</td>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForOfficejsUi/macros/wait_install"
/>
<tr>
<td>
waitForElementPresent
</td>
<td>
//a[@data-i18n="Storages"]
</td>
...
...
bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_ooo_spreadsheet_zuite/testOnlyOfficeSpreadsheetConvert.zpt
View file @
bb75380b
...
...
@@ -33,10 +33,11 @@
<td></td>
</tr>
<tr>
<td>
open
</td>
<td>
${base_url}/web_site_module/ooffice_spreadsheet/
</td>
<td></td>
<td>
store
</td>
<td>
ooffice_spreadsheet
</td>
<td>
install_url
</td>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForOfficejsUi/macros/wait_install"
/>
<tr>
<td>
waitForElementPresent
</td>
<td>
//a[@data-i18n="Storages"]
</td>
...
...
bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_ooo_spreadsheet_zuite/testOnlyfficeSpreadsheetComplexDocument.zpt
View file @
bb75380b
...
...
@@ -20,10 +20,11 @@
<td>
title
</td>
</tr>
<tr>
<td>
open
</td>
<td>
${base_url}/web_site_module/ooffice_spreadsheet/
</td>
<td></td>
<td>
store
</td>
<td>
ooffice_spreadsheet
</td>
<td>
install_url
</td>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForOfficejsUi/macros/wait_install"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForOnlyOffice/macros/choice_erp5_storage"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForOnlyOffice/macros/open_document_with_title"
/>
...
...
@@ -39,7 +40,7 @@
<tr>
<td>
open
</td>
<td>
${base_url}/web_site_module/${
test
_url}/
</td>
<td>
${base_url}/web_site_module/${
install
_url}/
</td>
<td></td>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForOnlyOffice/macros/open_document_with_title"
/>
...
...
bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_ooo_spreadsheet_zuite/testOnlyfficeSpreadsheetErp5Synchronization.zpt
View file @
bb75380b
...
...
@@ -83,16 +83,11 @@
</tr>
<tr>
<td>
open
</td>
<td>
${base_url}/web_site_module/ooffice_spreadsheet/
</td>
<td></td>
</tr>
<!-- Install can be longer than 90s -->
<tr>
<td>
pause
</td>
<td>
30000
</td>
<td></td>
<td>
store
</td>
<td>
ooffice_spreadsheet
</td>
<td>
install_url
</td>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForOfficejsUi/macros/wait_install"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForOnlyOffice/macros/choice_erp5_storage"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded"
/>
...
...
bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_ooo_spreadsheet_zuite/testOnlyfficeSpreadsheetSave.zpt
View file @
bb75380b
...
...
@@ -21,18 +21,12 @@
<td>
Reset Successfully.
</td>
<td></td>
</tr>
<!-- Initialize -->
<tr>
<td>
open
</td>
<td>
${base_url}/web_site_module/ooffice_spreadsheet/
</td>
<td></td>
</tr>
<!-- Install can be longer than 90s -->
<tr>
<td>
pause
</td>
<td>
60000
</td>
<td></td>
<td>
store
</td>
<td>
ooffice_spreadsheet
</td>
<td>
install_url
</td>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForOfficejsUi/macros/wait_install"
/>
<tr>
<td>
waitForElementPresent
</td>
<td>
//a[@data-i18n="Storages"]
</td>
...
...
bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_ooo_text_zuite/testOnlyfficeTextConvert.zpt
View file @
bb75380b
...
...
@@ -33,10 +33,11 @@
<td></td>
</tr>
<tr>
<td>
open
</td>
<td>
${base_url}/web_site_module/ooffice_text/
</td>
<td></td>
<td>
store
</td>
<td>
ooffice_text
</td>
<td>
install_url
</td>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForOfficejsUi/macros/wait_install"
/>
<tr>
<td>
waitForElementPresent
</td>
<td>
//a[@data-i18n="Storages"]
</td>
...
...
bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_ooo_text_zuite/testOnlyfficeTextErp5Synchronization.zpt
View file @
bb75380b
...
...
@@ -21,18 +21,12 @@
<td>
Reset Successfully.
</td>
<td></td>
</tr>
<!-- Initialize -->
<tr>
<td>
open
</td>
<td>
${base_url}/web_site_module/ooffice_text/
</td>
<td></td>
</tr>
<!-- Install can be longer than 90s -->
<tr>
<td>
pause
</td>
<td>
30000
</td>
<td></td>
<td>
store
</td>
<td>
ooffice_text
</td>
<td>
install_url
</td>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForOfficejsUi/macros/wait_install"
/>
<tr>
<td>
waitForElementPresent
</td>
<td>
//a[@data-i18n="Storages"]
</td>
...
...
bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_ooo_text_zuite/testOnlyfficeTextSave.zpt
View file @
bb75380b
...
...
@@ -21,18 +21,12 @@
<td>
Reset Successfully.
</td>
<td></td>
</tr>
<!-- Initialize -->
<tr>
<td>
open
</td>
<td>
${base_url}/web_site_module/ooffice_text/
</td>
<td></td>
</tr>
<!-- Install can be longer than 90s -->
<tr>
<td>
pause
</td>
<td>
60000
</td>
<td></td>
<td>
store
</td>
<td>
ooffice_text
</td>
<td>
install_url
</td>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForOfficejsUi/macros/wait_install"
/>
<tr>
<td>
waitForElementPresent
</td>
<td>
//a[@data-i18n="Storages"]
</td>
...
...
bt5/erp5_officejs_ui_test/SkinTemplateItem/portal_skins/erp5_officejs_ui_test/Zuite_CommonTemplateForOfficejsUi.zpt
View file @
bb75380b
<tal:block xmlns:tal="http://xml.zope.org/namespaces/tal"
xmlns:metal="http://xml.zope.org/namespaces/metal">
<tal:block metal:define-macro="wait_install">
<tr>
<td colspan="3"><b>Install web site</b></td>
</tr>
<!-- Huge timout for onlyoffice_presentation ( 120s is enought for all other app ) -->
<tr>
<td>setTimeout</td>
<td>160000</td>
<td></td>
</tr>
<tr>
<td>open</td>
<td>${base_url}/web_site_module/${install_url}/</td>
<td></td>
</tr>
<tr>
<td>waitForCondition</td>
<td>selenium.browserbot.currentWindow.navigator.serviceWorker.controller !== null</td>
<td>150000</td>
</tr>
<tr>
<td>setTimeout</td>
<td>90000</td>
<td></td>
</tr>
</tal:block>
<tal:block metal:define-macro="install_offline_and_redirect">
<tr>
<td colspan="3"><b tal:content="python: 'Clone web site %s' % web_site_name"></b></td>
...
...
@@ -28,17 +55,10 @@
<tr>
<td>storeValue</td>
<td>name=field_my_id</td>
<td>
test
_url</td>
<td>
install
_url</td>
</tr>
<tal:block metal:use-macro="here/Zuite_CommonTemplate/macros/wait_for_activities" />
<tr>
<td colspan="3"><b>Install cloned web site</b></td>
</tr>
<tr>
<td>open</td>
<td>${base_url}/web_site_module/${test_url}/</td>
<td></td>
</tr>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForOfficejsUi/macros/wait_install" />
<tr>
<td>waitForElementPresent</td>
<td>//a[@data-i18n='Storages']</td>
...
...
@@ -60,7 +80,7 @@
<tr>
<td>type</td>
<td>name=ids:list</td>
<td>${
test
_url}</td>
<td>${
install
_url}</td>
</tr>
<tr>
<td>clickAndWait</td>
...
...
@@ -72,7 +92,7 @@
</tr>
<tr>
<td>open</td>
<td>${base_url}/web_site_module/${
test
_url}/</td>
<td>${base_url}/web_site_module/${
install
_url}/</td>
<td></td>
</tr>
</tal:block>
...
...
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