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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
preetwinder
erp5
Commits
90632a6e
Commit
90632a6e
authored
Aug 04, 2017
by
Vincent Bechu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[erp5_officejs_ui_test] Replace old test, now test offline instalation.
parent
0c6ee894
Changes
17
Show whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
921 additions
and
431 deletions
+921
-431
bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_zuite/testOfficeJSBookmarkManager.zpt
...l_tests/officejs_ui_zuite/testOfficeJSBookmarkManager.zpt
+126
-9
bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_zuite/testOfficeJSCribjs.xml
...tem/portal_tests/officejs_ui_zuite/testOfficeJSCribjs.xml
+0
-58
bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_zuite/testOfficeJSCribjs.zpt
...tem/portal_tests/officejs_ui_zuite/testOfficeJSCribjs.zpt
+0
-34
bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_zuite/testOfficeJSImageEditor.zpt
...ortal_tests/officejs_ui_zuite/testOfficeJSImageEditor.zpt
+89
-10
bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_zuite/testOfficeJSPdfViewer.zpt
.../portal_tests/officejs_ui_zuite/testOfficeJSPdfViewer.zpt
+89
-10
bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_zuite/testOfficeJSTextEditor.zpt
...portal_tests/officejs_ui_zuite/testOfficeJSTextEditor.zpt
+100
-8
bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_zuite/testOfficeJSWebTableEditor.zpt
...al_tests/officejs_ui_zuite/testOfficeJSWebTableEditor.zpt
+89
-10
bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_zuite/testOfficeJSsvgEditor.zpt
.../portal_tests/officejs_ui_zuite/testOfficeJSsvgEditor.zpt
+89
-10
bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_zuite/testOnlyfficePresentation.zpt
...tal_tests/officejs_ui_zuite/testOnlyfficePresentation.zpt
+111
-2
bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_zuite/testOnlyfficePresentationGadget.xml
...sts/officejs_ui_zuite/testOnlyfficePresentationGadget.xml
+0
-58
bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_zuite/testOnlyfficePresentationGadget.zpt
...sts/officejs_ui_zuite/testOnlyfficePresentationGadget.zpt
+0
-34
bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_zuite/testOnlyfficeSpreadsheet.zpt
...rtal_tests/officejs_ui_zuite/testOnlyfficeSpreadsheet.zpt
+117
-2
bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_zuite/testOnlyfficeSpreadsheetGadget.xml
...ests/officejs_ui_zuite/testOnlyfficeSpreadsheetGadget.xml
+0
-58
bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_zuite/testOnlyfficeSpreadsheetGadget.zpt
...ests/officejs_ui_zuite/testOnlyfficeSpreadsheetGadget.zpt
+0
-34
bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_zuite/testOnlyfficeText.zpt
...Item/portal_tests/officejs_ui_zuite/testOnlyfficeText.zpt
+111
-2
bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_zuite/testOnlyfficeTextGadget.xml
...ortal_tests/officejs_ui_zuite/testOnlyfficeTextGadget.xml
+0
-58
bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_zuite/testOnlyfficeTextGadget.zpt
...ortal_tests/officejs_ui_zuite/testOnlyfficeTextGadget.zpt
+0
-34
No files found.
bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_zuite/testOfficeJSBookmarkManager.zpt
View file @
90632a6e
...
@@ -22,6 +22,122 @@
...
@@ -22,6 +22,122 @@
<td></td>
<td></td>
</tr>
</tr>
<!-- Initialize -->
<!-- Initialize -->
<tr>
<td>
open
</td>
<td>
${base_url}/web_site_module/officejs_bookmark_manager?ignore_layout:int=1
&
editable_mode:int=1
</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=Add
</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>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
link=Add
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
link=Add
</td>
<td></td>
</tr>
<tr>
<td>
store
</td>
<td
tal:content=
"python: 'Test Titre %s' % DateTime()"
>
Titre
</td>
<td>
title
</td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
identifier=title
</td>
<td></td>
</tr>
<tr>
<td>
type
</td>
<td>
name=title
</td>
<td>
${title}
</td>
</tr>
<tr>
<td>
type
</td>
<td>
name=url_string
</td>
<td>
${base_url}
</td>
</tr>
<tr>
<td>
click
</td>
<td>
//button[@data-i18n='Save']
</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>
<!-- Stop Generic -->
<tr>
<td>
waitForElementPresent
</td>
<td>
link=${base_url}
</td>
<td></td>
</tr>
<!-- Old Test For Bookmark, need adapt to new officejs.
<tr>
<tr>
<td>open</td>
<td>open</td>
<td>${base_url}/web_site_module/officejs_bookmark_manager/</td>
<td>${base_url}/web_site_module/officejs_bookmark_manager/</td>
...
@@ -47,7 +163,7 @@
...
@@ -47,7 +163,7 @@
<td>1000</td>
<td>1000</td>
<td></td>
<td></td>
</tr>
</tr>
<
!-- Save 1st bookmark --
>
<
#-- Save 1st bookmark --#
>
<tr>
<tr>
<td>waitForElementPresent</td>
<td>waitForElementPresent</td>
<td>//a[@data-i18n='Add']</td>
<td>//a[@data-i18n='Add']</td>
...
@@ -93,7 +209,7 @@
...
@@ -93,7 +209,7 @@
<td>//button[@data-i18n='Save']</td>
<td>//button[@data-i18n='Save']</td>
<td></td>
<td></td>
</tr>
</tr>
<
!-- Save 2nd Bookmark --
>
<
#-- Save 2nd Bookmark --#
>
<tr>
<tr>
<td>click</td>
<td>click</td>
<td>//button[@data-i18n='Menu']</td>
<td>//button[@data-i18n='Menu']</td>
...
@@ -154,7 +270,7 @@
...
@@ -154,7 +270,7 @@
<td>//button[@data-i18n='Save']</td>
<td>//button[@data-i18n='Save']</td>
<td></td>
<td></td>
</tr>
</tr>
<
!-- Search With Dispatcher and default redirection on bookmark--
>
<
#-- Search With Dispatcher and default redirection on bookmark--#
>
<tr>
<tr>
<td>click</td>
<td>click</td>
<td>//button[@data-i18n='Menu']</td>
<td>//button[@data-i18n='Menu']</td>
...
@@ -185,7 +301,7 @@
...
@@ -185,7 +301,7 @@
<td>//input[@data-i18n='[value]header-submit']</td>
<td>//input[@data-i18n='[value]header-submit']</td>
<td></td>
<td></td>
</tr>
</tr>
<
!--- Verify Search ---
>
<
#--- Verify Search ---#
>
<tr>
<tr>
<td>waitForElementPresent</td>
<td>waitForElementPresent</td>
<td>//h1[@class='test-script-title']</td>
<td>//h1[@class='test-script-title']</td>
...
@@ -196,7 +312,7 @@
...
@@ -196,7 +312,7 @@
<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--
>
<
#-- Add bookmark With Dispatcher Command--#
>
<tr>
<tr>
<td>open</td>
<td>open</td>
<td>${base_url}/web_site_module/officejs_bookmark_manager/</td>
<td>${base_url}/web_site_module/officejs_bookmark_manager/</td>
...
@@ -262,7 +378,7 @@
...
@@ -262,7 +378,7 @@
<td>//button[@data-i18n='Save']</td>
<td>//button[@data-i18n='Save']</td>
<td></td>
<td></td>
</tr>
</tr>
<
!--- Verify Search Command---
>
<
#--- Verify Search Command---#
>
<tr>
<tr>
<td>click</td>
<td>click</td>
<td>//button[@data-i18n='Menu']</td>
<td>//button[@data-i18n='Menu']</td>
...
@@ -303,7 +419,7 @@
...
@@ -303,7 +419,7 @@
<td>//h1[@class='test-script-title']</td>
<td>//h1[@class='test-script-title']</td>
<td>Title is : mysearchterm</td>
<td>Title is : mysearchterm</td>
</tr>
</tr>
<
!--- Set preferences ---
>
<
#--- Set preferences ---#
>
<tr>
<tr>
<td>open</td>
<td>open</td>
<td>${base_url}/web_site_module/officejs_bookmark_manager/</td>
<td>${base_url}/web_site_module/officejs_bookmark_manager/</td>
...
@@ -354,7 +470,7 @@
...
@@ -354,7 +470,7 @@
<td>//button[@data-i18n='Save']</td>
<td>//button[@data-i18n='Save']</td>
<td></td>
<td></td>
</tr>
</tr>
<
!--- Do search and display result list ---
>
<
#--- Do search and display result list ---#
>
<tr>
<tr>
<td>click</td>
<td>click</td>
<td>//button[@data-i18n='Menu']</td>
<td>//button[@data-i18n='Menu']</td>
...
@@ -390,7 +506,7 @@
...
@@ -390,7 +506,7 @@
<td>//table//tbody//tr//td</td>
<td>//table//tbody//tr//td</td>
<td></td>
<td></td>
</tr>
</tr>
<
!--- Do search and redirect on search engine ---
>
<
#--- Do search and redirect on search engine ---#
>
<tr>
<tr>
<td>open</td>
<td>open</td>
<td>${base_url}/web_site_module/officejs_bookmark_manager/</td>
<td>${base_url}/web_site_module/officejs_bookmark_manager/</td>
...
@@ -446,6 +562,7 @@
...
@@ -446,6 +562,7 @@
<td>//h1[@class='test-script-title']</td>
<td>//h1[@class='test-script-title']</td>
<td>Title is : chocolate</td>
<td>Title is : chocolate</td>
</tr>
</tr>
-->
</tbody></table>
</tbody></table>
</body>
</body>
</html>
</html>
\ No newline at end of file
bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_zuite/testOfficeJSCribjs.xml
deleted
100644 → 0
View file @
0c6ee894
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ZopePageTemplate"
module=
"Products.PageTemplates.ZopePageTemplate"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_bind_names
</string>
</key>
<value>
<object>
<klass>
<global
name=
"NameAssignments"
module=
"Shared.DC.Scripts.Bindings"
/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key>
<string>
_asgns
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
name_subpath
</string>
</key>
<value>
<string>
traverse_subpath
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
content_type
</string>
</key>
<value>
<string>
text/html
</string>
</value>
</item>
<item>
<key>
<string>
expand
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
testOfficeJSCribjs
</string>
</value>
</item>
<item>
<key>
<string>
output_encoding
</string>
</key>
<value>
<string>
utf-8
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<unicode></unicode>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_zuite/testOfficeJSCribjs.zpt
deleted
100644 → 0
View file @
0c6ee894
<html
xmlns:tal=
"http://xml.zope.org/namespaces/tal"
xmlns:metal=
"http://xml.zope.org/namespaces/metal"
>
<head>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
>
<title>
Test OfficeJS UI
</title>
</head>
<body>
<table
cellpadding=
"1"
cellspacing=
"1"
border=
"1"
>
<thead>
<tr><td
rowspan=
"1"
colspan=
"3"
>
Test OfficeJS UI
</td></tr>
</thead><tbody>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplate/macros/init"
/>
<!-- Clean Up -->
<tr>
<td>
open
</td>
<td>
${base_url}/bar_module/ListBoxZuite_reset
</td>
<td></td>
</tr>
<tr>
<td>
assertTextPresent
</td>
<td>
Reset Successfully.
</td>
<td></td>
</tr>
<!-- Initialize -->
<tr>
<td>
open
</td>
<td>
${base_url}/web_site_module/officejs_cribjs/
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//button[@data-i18n='Menu']
</td>
<td></td>
</tr>
\ No newline at end of file
bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_zuite/testOfficeJSImageEditor.zpt
View file @
90632a6e
...
@@ -24,41 +24,120 @@
...
@@ -24,41 +24,120 @@
<!-- Initialize -->
<!-- Initialize -->
<tr>
<tr>
<td>
open
</td>
<td>
open
</td>
<td>
${base_url}/web_site_module/officejs_image_editor
/
</td>
<td>
${base_url}/web_site_module/officejs_image_editor
?ignore_layout:int=1
&
editable_mode:int=1
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
//button[@data-i18n='Local is Enough']
</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=Add
</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>
<td></td>
</tr>
</tr>
<!-- Offline Test -->
<tr>
<tr>
<td>
pause
</td>
<td>
open
</td>
<td>
500
</td>
<td>
${base_url}/web_site_module/${test_url}/
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
link=Add
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>
click
</td>
<td>
click
</td>
<td>
//button[@data-i18n='Local is Enough']
</td>
<td>
link=Add
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>
pause
</td>
<td>
store
</td>
<td>
1000
</td>
<td
tal:content=
"python: 'Test Titre %s' % DateTime()"
>
Titre
</td>
<td>
title
</td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
identifier=title
</td>
<td></td>
</tr>
<tr>
<td>
type
</td>
<td>
name=title
</td>
<td>
${title}
</td>
</tr>
<tr>
<td>
click
</td>
<td>
//button[@data-i18n='Save']
</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>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
//a[@data-i18n='Add']
</td>
<td>
link=Content
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>
click
</td>
<td>
click
</td>
<td>
//a[@data-i18n='Add']
</td>
<td>
link=Content
</td>
<td></td>
<td></td>
</tr>
</tr>
<!-- Stop Generic -->
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
//inpu
t
</td>
<td>
identifier=canvas_fron
t
</td>
<td></td>
<td></td>
</tr>
</tr>
\ No newline at end of file
bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_zuite/testOfficeJSPdfViewer.zpt
View file @
90632a6e
...
@@ -24,41 +24,120 @@
...
@@ -24,41 +24,120 @@
<!-- Initialize -->
<!-- Initialize -->
<tr>
<tr>
<td>
open
</td>
<td>
open
</td>
<td>
${base_url}/web_site_module/officejs_pdf_viewer
/
</td>
<td>
${base_url}/web_site_module/officejs_pdf_viewer
?ignore_layout:int=1
&
editable_mode:int=1
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
//button[@data-i18n='Local is Enough']
</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=Add
</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>
<td></td>
</tr>
</tr>
<!-- Offline Test -->
<tr>
<tr>
<td>
pause
</td>
<td>
open
</td>
<td>
1000
</td>
<td>
${base_url}/web_site_module/${test_url}/
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
link=Add
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>
click
</td>
<td>
click
</td>
<td>
//button[@data-i18n='Local is Enough']
</td>
<td>
link=Add
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>
pause
</td>
<td>
store
</td>
<td>
1000
</td>
<td
tal:content=
"python: 'Test Titre %s' % DateTime()"
>
Titre
</td>
<td>
title
</td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
identifier=title
</td>
<td></td>
</tr>
<tr>
<td>
type
</td>
<td>
name=title
</td>
<td>
${title}
</td>
</tr>
<tr>
<td>
click
</td>
<td>
//button[@data-i18n='Save']
</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>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
//a[@data-i18n='Add']
</td>
<td>
link=Content
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>
click
</td>
<td>
click
</td>
<td>
//a[@data-i18n='Add']
</td>
<td>
link=Content
</td>
<td></td>
<td></td>
</tr>
</tr>
<!-- Stop Generic -->
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
//inpu
t
</td>
<td>
identifier=canvas_fron
t
</td>
<td></td>
<td></td>
</tr>
</tr>
\ No newline at end of file
bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_zuite/testOfficeJSTextEditor.zpt
View file @
90632a6e
...
@@ -24,36 +24,128 @@
...
@@ -24,36 +24,128 @@
<!-- Initialize -->
<!-- Initialize -->
<tr>
<tr>
<td>
open
</td>
<td>
open
</td>
<td>
${base_url}/web_site_module/officejs_text_editor
/development/#page=jio_configurator
</td>
<td>
${base_url}/web_site_module/officejs_text_editor
?ignore_layout:int=1
&
editable_mode:int=1
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
//button[@data-i18n='Local is Enough']
</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>
<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>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>
pause
</td>
<td>
open
</td>
<td>
500
</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>
</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>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
link=Add
</td>
<td></td>
</tr>
<tr>
<td>
store
</td>
<td
tal:content=
"python: 'Test Titre %s' % DateTime()"
>
Titre
</td>
<td>
title
</td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
identifier=title
</td>
<td></td>
</tr>
<tr>
<td>
type
</td>
<td>
name=title
</td>
<td>
${title}
</td>
</tr>
<tr>
<td>
click
</td>
<td>
//button[@data-i18n='Save']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
link=${title}
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>
click
</td>
<td>
click
</td>
<td>
//button[@data-i18n='Local is Enough']
</td>
<td>
link=${title}
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
//a[@data-i18n='Add']
</td>
<td>
link=Content
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>
click
</td>
<td>
click
</td>
<td>
//a[@data-i18n='Add']
</td>
<td>
link=Content
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
//input
</td>
<td>
identifier=cke_1_contents
</td>
<td></td>
<td></td>
</tr>
</tr>
\ No newline at end of file
bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_zuite/testOfficeJSWebTableEditor.zpt
View file @
90632a6e
...
@@ -24,41 +24,120 @@
...
@@ -24,41 +24,120 @@
<!-- Initialize -->
<!-- Initialize -->
<tr>
<tr>
<td>
open
</td>
<td>
open
</td>
<td>
${base_url}/web_site_module/officejs_web_table_editor
/
</td>
<td>
${base_url}/web_site_module/officejs_web_table_editor
?ignore_layout:int=1
&
editable_mode:int=1
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
//button[@data-i18n='Local is Enough']
</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=Add
</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>
<td></td>
</tr>
</tr>
<!-- Offline Test -->
<tr>
<tr>
<td>
pause
</td>
<td>
open
</td>
<td>
500
</td>
<td>
${base_url}/web_site_module/${test_url}/
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
link=Add
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>
click
</td>
<td>
click
</td>
<td>
//button[@data-i18n='Local is Enough']
</td>
<td>
link=Add
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>
pause
</td>
<td>
store
</td>
<td>
1000
</td>
<td
tal:content=
"python: 'Test Titre %s' % DateTime()"
>
Titre
</td>
<td>
title
</td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
identifier=title
</td>
<td></td>
</tr>
<tr>
<td>
type
</td>
<td>
name=title
</td>
<td>
${title}
</td>
</tr>
<tr>
<td>
click
</td>
<td>
//button[@data-i18n='Save']
</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>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
//a[@data-i18n='Add']
</td>
<td>
link=Content
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>
click
</td>
<td>
click
</td>
<td>
//a[@data-i18n='Add']
</td>
<td>
link=Content
</td>
<td></td>
<td></td>
</tr>
</tr>
<!-- Stop Generic -->
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
//inpu
t
</td>
<td>
identifier=jquery_sheet_gadge
t
</td>
<td></td>
<td></td>
</tr>
</tr>
\ No newline at end of file
bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_zuite/testOfficeJSsvgEditor.zpt
View file @
90632a6e
...
@@ -24,41 +24,120 @@
...
@@ -24,41 +24,120 @@
<!-- Initialize -->
<!-- Initialize -->
<tr>
<tr>
<td>
open
</td>
<td>
open
</td>
<td>
${base_url}/web_site_module/officejs_svg_editor
/
</td>
<td>
${base_url}/web_site_module/officejs_svg_editor
?ignore_layout:int=1
&
editable_mode:int=1
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
//button[@data-i18n='Local is Enough']
</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=Add
</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>
<td></td>
</tr>
</tr>
<!-- Offline Test -->
<tr>
<tr>
<td>
pause
</td>
<td>
open
</td>
<td>
500
</td>
<td>
${base_url}/web_site_module/${test_url}/
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
link=Add
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>
click
</td>
<td>
click
</td>
<td>
//button[@data-i18n='Local is Enough']
</td>
<td>
link=Add
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>
pause
</td>
<td>
store
</td>
<td>
1000
</td>
<td
tal:content=
"python: 'Test Titre %s' % DateTime()"
>
Titre
</td>
<td>
title
</td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
identifier=title
</td>
<td></td>
</tr>
<tr>
<td>
type
</td>
<td>
name=title
</td>
<td>
${title}
</td>
</tr>
<tr>
<td>
click
</td>
<td>
//button[@data-i18n='Save']
</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>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
//a[@data-i18n='Add']
</td>
<td>
link=Content
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>
click
</td>
<td>
click
</td>
<td>
//a[@data-i18n='Add']
</td>
<td>
link=Content
</td>
<td></td>
<td></td>
</tr>
</tr>
<!-- Stop Generic -->
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
//input
</td>
<td>
identifier=workarea
</td>
<td></td>
<td></td>
</tr>
</tr>
\ No newline at end of file
bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_zuite/testOnlyfficePresentation.zpt
View file @
90632a6e
...
@@ -24,11 +24,120 @@
...
@@ -24,11 +24,120 @@
<!-- Initialize -->
<!-- Initialize -->
<tr>
<tr>
<td>
open
</td>
<td>
open
</td>
<td>
${base_url}/web_site_module/ooffice_presentation
/development/
</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>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
//button[@data-i18n='Local is Enough']
</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=Add
</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>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
link=Add
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
link=Add
</td>
<td></td>
</tr>
<tr>
<td>
store
</td>
<td
tal:content=
"python: 'Test Titre %s' % DateTime()"
>
Titre
</td>
<td>
title
</td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
identifier=title
</td>
<td></td>
</tr>
<tr>
<td>
type
</td>
<td>
name=title
</td>
<td>
${title}
</td>
</tr>
<tr>
<td>
click
</td>
<td>
//button[@data-i18n='Save']
</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>
link=Content
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
link=Content
</td>
<td></td>
</tr>
<!-- Stop Generic -->
<tr>
<td>
waitForElementPresent
</td>
<td>
identifier=id_main
</td>
<td></td>
<td></td>
</tr>
</tr>
\ No newline at end of file
bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_zuite/testOnlyfficePresentationGadget.xml
deleted
100644 → 0
View file @
0c6ee894
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ZopePageTemplate"
module=
"Products.PageTemplates.ZopePageTemplate"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_bind_names
</string>
</key>
<value>
<object>
<klass>
<global
name=
"NameAssignments"
module=
"Shared.DC.Scripts.Bindings"
/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key>
<string>
_asgns
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
name_subpath
</string>
</key>
<value>
<string>
traverse_subpath
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
content_type
</string>
</key>
<value>
<string>
text/html
</string>
</value>
</item>
<item>
<key>
<string>
expand
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
testOnlyfficePresentationGadget
</string>
</value>
</item>
<item>
<key>
<string>
output_encoding
</string>
</key>
<value>
<string>
utf-8
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<unicode></unicode>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_zuite/testOnlyfficePresentationGadget.zpt
deleted
100644 → 0
View file @
0c6ee894
<html
xmlns:tal=
"http://xml.zope.org/namespaces/tal"
xmlns:metal=
"http://xml.zope.org/namespaces/metal"
>
<head>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
>
<title>
Test OfficeJS UI
</title>
</head>
<body>
<table
cellpadding=
"1"
cellspacing=
"1"
border=
"1"
>
<thead>
<tr><td
rowspan=
"1"
colspan=
"3"
>
Test OfficeJS UI
</td></tr>
</thead><tbody>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplate/macros/init"
/>
<!-- Clean Up -->
<tr>
<td>
open
</td>
<td>
${base_url}/bar_module/ListBoxZuite_reset
</td>
<td></td>
</tr>
<tr>
<td>
assertTextPresent
</td>
<td>
Reset Successfully.
</td>
<td></td>
</tr>
<!-- Initialize -->
<tr>
<td>
open
</td>
<td>
${base_url}/web_site_module/ooffice_presentation_gadget/
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//div[@class='loadmask']
</td>
<td></td>
</tr>
\ No newline at end of file
bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_zuite/testOnlyfficeSpreadsheet.zpt
View file @
90632a6e
...
@@ -24,11 +24,126 @@
...
@@ -24,11 +24,126 @@
<!-- Initialize -->
<!-- Initialize -->
<tr>
<tr>
<td>
open
</td>
<td>
open
</td>
<td>
${base_url}/web_site_module/ooffice_spreadsheet/
development/
</td>
<td>
${base_url}/web_site_module/ooffice_spreadsheet/
</td>
<td></td>
<td></td>
</tr>
</tr>
<!-- Initialize -->
<tr>
<td>
open
</td>
<td>
${base_url}/web_site_module/ooffice_text?ignore_layout:int=1
&
editable_mode:int=1
</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=Add
</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>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
link=Add
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
link=Add
</td>
<td></td>
</tr>
<tr>
<td>
store
</td>
<td
tal:content=
"python: 'Test Titre %s' % DateTime()"
>
Titre
</td>
<td>
title
</td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
identifier=title
</td>
<td></td>
</tr>
<tr>
<td>
type
</td>
<td>
name=title
</td>
<td>
${title}
</td>
</tr>
<tr>
<td>
click
</td>
<td>
//button[@data-i18n='Save']
</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>
link=Content
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
link=Content
</td>
<td></td>
</tr>
<!-- Stop Generic -->
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
//button[@data-i18n='Local is Enough']
</td>
<td>
identifier=id_main
</td>
<td></td>
<td></td>
</tr>
</tr>
\ No newline at end of file
bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_zuite/testOnlyfficeSpreadsheetGadget.xml
deleted
100644 → 0
View file @
0c6ee894
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ZopePageTemplate"
module=
"Products.PageTemplates.ZopePageTemplate"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_bind_names
</string>
</key>
<value>
<object>
<klass>
<global
name=
"NameAssignments"
module=
"Shared.DC.Scripts.Bindings"
/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key>
<string>
_asgns
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
name_subpath
</string>
</key>
<value>
<string>
traverse_subpath
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
content_type
</string>
</key>
<value>
<string>
text/html
</string>
</value>
</item>
<item>
<key>
<string>
expand
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
testOnlyfficeSpreadsheetGadget
</string>
</value>
</item>
<item>
<key>
<string>
output_encoding
</string>
</key>
<value>
<string>
utf-8
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<unicode></unicode>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_zuite/testOnlyfficeSpreadsheetGadget.zpt
deleted
100644 → 0
View file @
0c6ee894
<html
xmlns:tal=
"http://xml.zope.org/namespaces/tal"
xmlns:metal=
"http://xml.zope.org/namespaces/metal"
>
<head>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
>
<title>
Test OfficeJS UI
</title>
</head>
<body>
<table
cellpadding=
"1"
cellspacing=
"1"
border=
"1"
>
<thead>
<tr><td
rowspan=
"1"
colspan=
"3"
>
Test OfficeJS UI
</td></tr>
</thead><tbody>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplate/macros/init"
/>
<!-- Clean Up -->
<tr>
<td>
open
</td>
<td>
${base_url}/bar_module/ListBoxZuite_reset
</td>
<td></td>
</tr>
<tr>
<td>
assertTextPresent
</td>
<td>
Reset Successfully.
</td>
<td></td>
</tr>
<!-- Initialize -->
<tr>
<td>
open
</td>
<td>
${base_url}/web_site_module/ooffice_spreadsheet_gadget/
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//div[@class='loadmask']
</td>
<td></td>
</tr>
\ No newline at end of file
bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_zuite/testOnlyfficeText.zpt
View file @
90632a6e
...
@@ -24,11 +24,120 @@
...
@@ -24,11 +24,120 @@
<!-- Initialize -->
<!-- Initialize -->
<tr>
<tr>
<td>
open
</td>
<td>
open
</td>
<td>
${base_url}/web_site_module/ooffice_text
/development/#page=jio_configurator
</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>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
//button[@data-i18n='Local is Enough']
</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=Add
</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>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
link=Add
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
link=Add
</td>
<td></td>
</tr>
<tr>
<td>
store
</td>
<td
tal:content=
"python: 'Test Titre %s' % DateTime()"
>
Titre
</td>
<td>
title
</td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
identifier=title
</td>
<td></td>
</tr>
<tr>
<td>
type
</td>
<td>
name=title
</td>
<td>
${title}
</td>
</tr>
<tr>
<td>
click
</td>
<td>
//button[@data-i18n='Save']
</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>
link=Content
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
link=Content
</td>
<td></td>
</tr>
<!-- Stop Generic -->
<tr>
<td>
waitForElementPresent
</td>
<td>
identifier=id_main
</td>
<td></td>
<td></td>
</tr>
</tr>
\ No newline at end of file
bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_zuite/testOnlyfficeTextGadget.xml
deleted
100644 → 0
View file @
0c6ee894
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ZopePageTemplate"
module=
"Products.PageTemplates.ZopePageTemplate"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_bind_names
</string>
</key>
<value>
<object>
<klass>
<global
name=
"NameAssignments"
module=
"Shared.DC.Scripts.Bindings"
/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key>
<string>
_asgns
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
name_subpath
</string>
</key>
<value>
<string>
traverse_subpath
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
content_type
</string>
</key>
<value>
<string>
text/html
</string>
</value>
</item>
<item>
<key>
<string>
expand
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
testOnlyfficeTextGadget
</string>
</value>
</item>
<item>
<key>
<string>
output_encoding
</string>
</key>
<value>
<string>
utf-8
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<unicode></unicode>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_zuite/testOnlyfficeTextGadget.zpt
deleted
100644 → 0
View file @
0c6ee894
<html
xmlns:tal=
"http://xml.zope.org/namespaces/tal"
xmlns:metal=
"http://xml.zope.org/namespaces/metal"
>
<head>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
>
<title>
Test OfficeJS UI
</title>
</head>
<body>
<table
cellpadding=
"1"
cellspacing=
"1"
border=
"1"
>
<thead>
<tr><td
rowspan=
"1"
colspan=
"3"
>
Test OfficeJS UI
</td></tr>
</thead><tbody>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplate/macros/init"
/>
<!-- Clean Up -->
<tr>
<td>
open
</td>
<td>
${base_url}/bar_module/ListBoxZuite_reset
</td>
<td></td>
</tr>
<tr>
<td>
assertTextPresent
</td>
<td>
Reset Successfully.
</td>
<td></td>
</tr>
<!-- Initialize -->
<tr>
<td>
open
</td>
<td>
${base_url}/web_site_module/ooffice_text_gadget/
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//div[@class='loadmask']
</td>
<td></td>
</tr>
\ 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