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
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Rafael Monnerat
erp5
Commits
b596deaa
Commit
b596deaa
authored
Aug 28, 2017
by
Vincent Bechu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[erp5_officejs_ui_test] change onlyoffice save test to look like onlyoffice one's
/reviewed-on
nexedi/erp5!358
parent
9a18f0b5
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
198 additions
and
6 deletions
+198
-6
bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_zuite/testOnlyfficePresentationSave.zpt
...tests/officejs_ui_zuite/testOnlyfficePresentationSave.zpt
+66
-2
bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_zuite/testOnlyfficeSpreadsheetSave.zpt
..._tests/officejs_ui_zuite/testOnlyfficeSpreadsheetSave.zpt
+66
-2
bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_zuite/testOnlyfficeTextSave.zpt
.../portal_tests/officejs_ui_zuite/testOnlyfficeTextSave.zpt
+66
-2
No files found.
bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_zuite/testOnlyfficePresentationSave.zpt
View file @
b596deaa
...
@@ -21,14 +21,77 @@
...
@@ -21,14 +21,77 @@
<td>
Reset Successfully.
</td>
<td>
Reset Successfully.
</td>
<td></td>
<td></td>
</tr>
</tr>
<!-- Initialize -->
<tr>
<tr>
<td>
open
</td>
<td>
open
</td>
<td>
${base_url}/web_site_module/ooffice_presentation
/
</td>
<td>
${base_url}/web_site_module/ooffice_presentation
?ignore_layout:int=1
&
editable_mode:int=1
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>
runScript
</td>
<td>
runScript
</td>
<td>
window.indexedDB.deleteDatabase('jio:setting')
</td>
<td>
window.indexedDB.deleteDatabase('jio:officejs_code_source');
window.indexedDB.deleteDatabase('jio:officejs-hash');
window.indexedDB.deleteDatabase('jio:setting')
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
name=Base_createCloneDocument:method
</td>
<td></td>
field_my_id
</tr>
<tr>
<td>
clickAndWait
</td>
<td>
name=Base_createCloneDocument:method
</td>
<td></td>
</tr>
<tr>
<td>
verifyTextPresent
</td>
<td>
Created Clone Web Site
</td>
<td></td>
</tr>
<tr>
<td>
storeValue
</td>
<td>
name=field_my_id
</td>
<td>
test_url
</td>
</tr>
<!-- Generic Officejs Test -->
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplate/macros/wait_for_activities"
/>
<tr>
<td>
open
</td>
<td>
${base_url}/web_site_module/${test_url}/
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
link=Local is Enough
</td>
<td></td>
</tr>
<tr>
<td>
open
</td>
<td>
${base_url}/web_site_module/manage_main
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
name=ids:list
</td>
<td></td>
</tr>
<tr>
<td>
type
</td>
<td>
name=ids:list
</td>
<td>
${test_url}
</td>
</tr>
<tr>
<td>
clickAndWait
</td>
<td>
name=manage_delObjects:method
</td>
<td></td>
</tr>
<!-- Offline Test -->
<tr>
<td>
open
</td>
<td>
${base_url}/web_site_module/${test_url}/
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
...
@@ -91,6 +154,7 @@
...
@@ -91,6 +154,7 @@
<td>
link=Content
</td>
<td>
link=Content
</td>
<td></td>
<td></td>
</tr>
</tr>
<!-- Stop Generic -->
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
identifier=id_main
</td>
<td>
identifier=id_main
</td>
...
...
bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_zuite/testOnlyfficeSpreadsheetSave.zpt
View file @
b596deaa
...
@@ -21,14 +21,77 @@
...
@@ -21,14 +21,77 @@
<td>
Reset Successfully.
</td>
<td>
Reset Successfully.
</td>
<td></td>
<td></td>
</tr>
</tr>
<!-- Initialize -->
<tr>
<tr>
<td>
open
</td>
<td>
open
</td>
<td>
${base_url}/web_site_module/ooffice_
spreadsheet/
</td>
<td>
${base_url}/web_site_module/ooffice_
text?ignore_layout:int=1
&
editable_mode:int=1
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>
runScript
</td>
<td>
runScript
</td>
<td>
window.indexedDB.deleteDatabase('jio:setting')
</td>
<td>
window.indexedDB.deleteDatabase('jio:officejs_code_source');
window.indexedDB.deleteDatabase('jio:officejs-hash');
window.indexedDB.deleteDatabase('jio:setting')
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
name=Base_createCloneDocument:method
</td>
<td></td>
field_my_id
</tr>
<tr>
<td>
clickAndWait
</td>
<td>
name=Base_createCloneDocument:method
</td>
<td></td>
</tr>
<tr>
<td>
verifyTextPresent
</td>
<td>
Created Clone Web Site
</td>
<td></td>
</tr>
<tr>
<td>
storeValue
</td>
<td>
name=field_my_id
</td>
<td>
test_url
</td>
</tr>
<!-- Generic Officejs Test -->
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplate/macros/wait_for_activities"
/>
<tr>
<td>
open
</td>
<td>
${base_url}/web_site_module/${test_url}/
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
link=Local is Enough
</td>
<td></td>
</tr>
<tr>
<td>
open
</td>
<td>
${base_url}/web_site_module/manage_main
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
name=ids:list
</td>
<td></td>
</tr>
<tr>
<td>
type
</td>
<td>
name=ids:list
</td>
<td>
${test_url}
</td>
</tr>
<tr>
<td>
clickAndWait
</td>
<td>
name=manage_delObjects:method
</td>
<td></td>
</tr>
<!-- Offline Test -->
<tr>
<td>
open
</td>
<td>
${base_url}/web_site_module/${test_url}/
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
...
@@ -91,6 +154,7 @@
...
@@ -91,6 +154,7 @@
<td>
link=Content
</td>
<td>
link=Content
</td>
<td></td>
<td></td>
</tr>
</tr>
<!-- Stop Generic -->
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
identifier=id_main
</td>
<td>
identifier=id_main
</td>
...
...
bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_zuite/testOnlyfficeTextSave.zpt
View file @
b596deaa
...
@@ -21,14 +21,77 @@
...
@@ -21,14 +21,77 @@
<td>
Reset Successfully.
</td>
<td>
Reset Successfully.
</td>
<td></td>
<td></td>
</tr>
</tr>
<!-- Initialize -->
<tr>
<tr>
<td>
open
</td>
<td>
open
</td>
<td>
${base_url}/web_site_module/ooffice_text
/
</td>
<td>
${base_url}/web_site_module/ooffice_text
?ignore_layout:int=1
&
editable_mode:int=1
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>
runScript
</td>
<td>
runScript
</td>
<td>
window.indexedDB.deleteDatabase('jio:setting')
</td>
<td>
window.indexedDB.deleteDatabase('jio:officejs_code_source');
window.indexedDB.deleteDatabase('jio:officejs-hash');
window.indexedDB.deleteDatabase('jio:setting')
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
name=Base_createCloneDocument:method
</td>
<td></td>
field_my_id
</tr>
<tr>
<td>
clickAndWait
</td>
<td>
name=Base_createCloneDocument:method
</td>
<td></td>
</tr>
<tr>
<td>
verifyTextPresent
</td>
<td>
Created Clone Web Site
</td>
<td></td>
</tr>
<tr>
<td>
storeValue
</td>
<td>
name=field_my_id
</td>
<td>
test_url
</td>
</tr>
<!-- Generic Officejs Test -->
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplate/macros/wait_for_activities"
/>
<tr>
<td>
open
</td>
<td>
${base_url}/web_site_module/${test_url}/
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
link=Local is Enough
</td>
<td></td>
</tr>
<tr>
<td>
open
</td>
<td>
${base_url}/web_site_module/manage_main
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
name=ids:list
</td>
<td></td>
</tr>
<tr>
<td>
type
</td>
<td>
name=ids:list
</td>
<td>
${test_url}
</td>
</tr>
<tr>
<td>
clickAndWait
</td>
<td>
name=manage_delObjects:method
</td>
<td></td>
</tr>
<!-- Offline Test -->
<tr>
<td>
open
</td>
<td>
${base_url}/web_site_module/${test_url}/
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
...
@@ -91,6 +154,7 @@
...
@@ -91,6 +154,7 @@
<td>
link=Content
</td>
<td>
link=Content
</td>
<td></td>
<td></td>
</tr>
</tr>
<!-- Stop Generic -->
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
identifier=id_main
</td>
<td>
identifier=id_main
</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