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
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Lu Xu
erp5
Commits
f4bf3631
Commit
f4bf3631
authored
Jul 06, 2021
by
Roque
Browse files
Options
Browse Files
Download
Plain Diff
erp5_web_monitoring: update app
See merge request
nexedi/erp5!1453
parents
876a676d
5535b855
Changes
19
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
632 additions
and
204 deletions
+632
-204
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_export_js.js
...ateItem/web_page_module/gadget_officejs_page_export_js.js
+2
-1
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_export_js.xml
...teItem/web_page_module/gadget_officejs_page_export_js.xml
+2
-2
bt5/erp5_web_monitoring/PathTemplateItem/image_module/gadget_officejs_appstore_rapid_spage.png
...tem/image_module/gadget_officejs_appstore_rapid_spage.png
+0
-0
bt5/erp5_web_monitoring/PathTemplateItem/image_module/gadget_officejs_appstore_rapid_spage.xml
...tem/image_module/gadget_officejs_appstore_rapid_spage.xml
+68
-179
bt5/erp5_web_monitoring/PathTemplateItem/web_page_module/gadget_officejs_monitoring_json.json
...Item/web_page_module/gadget_officejs_monitoring_json.json
+2
-2
bt5/erp5_web_monitoring/PathTemplateItem/web_page_module/gadget_officejs_monitoring_json.xml
...eItem/web_page_module/gadget_officejs_monitoring_json.xml
+11
-11
bt5/erp5_web_monitoring/PathTemplateItem/web_site_module/officejs_monitoring.xml
.../PathTemplateItem/web_site_module/officejs_monitoring.xml
+3
-3
bt5/erp5_web_monitoring/PathTemplateItem/web_site_module/officejs_monitoring/app.xml
...hTemplateItem/web_site_module/officejs_monitoring/app.xml
+19
-3
bt5/erp5_web_monitoring/SkinTemplateItem/portal_skins/erp5_web_monitoring.xml
...ing/SkinTemplateItem/portal_skins/erp5_web_monitoring.xml
+47
-0
bt5/erp5_web_monitoring/SkinTemplateItem/portal_skins/erp5_web_monitoring/WebSection_getMonitorPrecacheManifestList.py
...b_monitoring/WebSection_getMonitorPrecacheManifestList.py
+138
-0
bt5/erp5_web_monitoring/SkinTemplateItem/portal_skins/erp5_web_monitoring/WebSection_getMonitorPrecacheManifestList.xml
..._monitoring/WebSection_getMonitorPrecacheManifestList.xml
+62
-0
bt5/erp5_web_monitoring/bt/template_keep_last_workflow_history_only_path_list
...ing/bt/template_keep_last_workflow_history_only_path_list
+2
-1
bt5/erp5_web_monitoring/bt/template_keep_workflow_path_list
bt5/erp5_web_monitoring/bt/template_keep_workflow_path_list
+2
-1
bt5/erp5_web_monitoring/bt/template_path_list
bt5/erp5_web_monitoring/bt/template_path_list
+1
-0
bt5/erp5_web_monitoring/bt/template_skin_id_list
bt5/erp5_web_monitoring/bt/template_skin_id_list
+1
-0
bt5/erp5_web_monitoring_ui_test/PathTemplateItem/portal_tests/web_monitoring_ui_zuite/testOfficeJSMonitoring.xml
..._tests/web_monitoring_ui_zuite/testOfficeJSMonitoring.xml
+58
-0
bt5/erp5_web_monitoring_ui_test/PathTemplateItem/portal_tests/web_monitoring_ui_zuite/testOfficeJSMonitoring.zpt
..._tests/web_monitoring_ui_zuite/testOfficeJSMonitoring.zpt
+211
-0
bt5/erp5_web_monitoring_ui_test/bt/test_dependency_list
bt5/erp5_web_monitoring_ui_test/bt/test_dependency_list
+2
-1
tests/__init__.py
tests/__init__.py
+1
-0
No files found.
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_export_js.js
View file @
f4bf3631
...
...
@@ -86,7 +86,8 @@
},
"
Monitoring App
"
:
{
"
url
"
:
"
officejs_monitoring/
"
,
"
cache
"
:
"
gadget_officejs_monitoring.appcache
"
"
storage_type
"
:
"
precache
"
,
"
cache
"
:
precache_manifest
},
"
App Store
"
:
{
"
url
"
:
"
officejs_appstore/
"
,
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_export_js.xml
View file @
f4bf3631
...
...
@@ -258,7 +258,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
89.27524.31537.13687
</string>
</value>
<value>
<string>
9
92.64248.47613.22510
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -276,7 +276,7 @@
</tuple>
<state>
<tuple>
<float>
16
13148589.32
</float>
<float>
16
24657859.54
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_web_monitoring/PathTemplateItem/image_module/gadget_officejs_appstore_rapid_spage.png
0 → 100644
View file @
f4bf3631
14.4 KB
bt5/erp5_web_monitoring/PathTemplateItem/
web_page_module/gadget_officejs_monitoring_appcach
e.xml
→
bt5/erp5_web_monitoring/PathTemplateItem/
image_module/gadget_officejs_appstore_rapid_spag
e.xml
View file @
f4bf3631
This diff is collapsed.
Click to expand it.
bt5/erp5_web_monitoring/PathTemplateItem/web_page_module/gadget_officejs_monitoring_json.json
View file @
f4bf3631
...
...
@@ -3,8 +3,8 @@
"name"
:
"OfficeJS Monitor"
,
"description"
:
"Cloud Monitoring Tool"
,
"icons"
:
[{
"src"
:
"
img/vifib-logo
.png"
,
"sizes"
:
"
any
"
,
"src"
:
"
NXD-Logo.Rapid.Space
.png"
,
"sizes"
:
"
128x128
"
,
"type"
:
"image/svg"
}],
"start_url"
:
"../../"
,
...
...
bt5/erp5_web_monitoring/PathTemplateItem/web_page_module/gadget_officejs_monitoring_json.xml
View file @
f4bf3631
...
...
@@ -10,10 +10,12 @@
<key>
<string>
_Access_contents_information_Permission
</string>
</key>
<value>
<tuple>
<string>
Anonymous
</string>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Auditor
</string>
<string>
Manager
</string>
<string>
Owner
</string>
</tuple>
</value>
</item>
...
...
@@ -24,7 +26,6 @@
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Manager
</string>
<string>
Owner
</string>
</tuple>
</value>
</item>
...
...
@@ -44,7 +45,6 @@
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Manager
</string>
<string>
Owner
</string>
</tuple>
</value>
</item>
...
...
@@ -52,10 +52,12 @@
<key>
<string>
_View_Permission
</string>
</key>
<value>
<tuple>
<string>
Anonymous
</string>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Auditor
</string>
<string>
Manager
</string>
<string>
Owner
</string>
</tuple>
</value>
</item>
...
...
@@ -163,9 +165,7 @@
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<none/>
</value>
<value>
<string>
publish_alive
</string>
</value>
</item>
<item>
<key>
<string>
actor
</string>
</key>
...
...
@@ -191,7 +191,7 @@
</tuple>
<state>
<tuple>
<float>
162
3847666.69
</float>
<float>
162
4563807.32
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
@@ -200,7 +200,7 @@
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
draft
</string>
</value>
<value>
<string>
published_alive
</string>
</value>
</item>
</dictionary>
</list>
...
...
@@ -240,7 +240,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
992.
51136.35053.3186
3
</string>
</value>
<value>
<string>
992.
64654.61905.2232
3
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -258,7 +258,7 @@
</tuple>
<state>
<tuple>
<float>
162
3847806.7
2
</float>
<float>
162
4981565.0
2
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_web_monitoring/PathTemplateItem/web_site_module/officejs_monitoring.xml
View file @
f4bf3631
...
...
@@ -269,7 +269,7 @@
</item>
<item>
<key>
<string>
configuration_cache_file
</string>
</key>
<value>
<string>
gadget_officejs_monitoring.appcache
</string>
</value>
<value>
<string>
WebSection_getPrecacheManifest
</string>
</value>
</item>
<item>
<key>
<string>
configuration_content_security_policy
</string>
</key>
...
...
@@ -532,7 +532,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
992.5
0077.60742.52258
</string>
</value>
<value>
<string>
992.5
1134.29615.45363
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -550,7 +550,7 @@
</tuple>
<state>
<tuple>
<float>
162
3847587.11
</float>
<float>
162
4634946.02
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_web_monitoring/PathTemplateItem/web_site_module/officejs_monitoring/app.xml
View file @
f4bf3631
...
...
@@ -273,6 +273,16 @@
<value>
<string>
string
</string>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
configuration_precache_manifest_script_list
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
string
</string>
</value>
</item>
</dictionary>
</tuple>
</value>
</item>
...
...
@@ -325,12 +335,18 @@
</item>
<item>
<key>
<string>
configuration_manifest_url
</string>
</key>
<value>
<string>
gadget_officejs_monitoring.appcache
</string>
</value>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
configuration_panel_gadget_url
</string>
</key>
<value>
<string>
gadget_officejs_monitoring_panel.html
</string>
</value>
</item>
<item>
<key>
<string>
configuration_precache_manifest_script_list
</string>
</key>
<value>
<string>
WebSection_getMonitorPrecacheManifestList
</string>
</value>
</item>
<item>
<key>
<string>
configuration_router_gadget_url
</string>
</key>
<value>
<string>
gadget_officejs_monitoring_router.html
</string>
</value>
...
...
@@ -554,7 +570,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
63.27666.8050.30907
</string>
</value>
<value>
<string>
9
92.64257.46798.35242
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -572,7 +588,7 @@
</tuple>
<state>
<tuple>
<float>
1
541168426.77
</float>
<float>
1
625247788.8
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_web_monitoring/SkinTemplateItem/portal_skins/erp5_web_monitoring.xml
0 → 100644
View file @
f4bf3631
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Folder"
module=
"OFS.Folder"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_local_properties
</string>
</key>
<value>
<tuple>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
business_template_skin_layer_priority
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
float
</string>
</value>
</item>
</dictionary>
</tuple>
</value>
</item>
<item>
<key>
<string>
_objects
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
business_template_skin_layer_priority
</string>
</key>
<value>
<float>
42.0
</float>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
erp5_web_monitoring
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_web_monitoring/SkinTemplateItem/portal_skins/erp5_web_monitoring/WebSection_getMonitorPrecacheManifestList.py
0 → 100644
View file @
f4bf3631
url_list
=
[
"URI.js"
,
"dygraph.js"
,
"gadget_erp5_nojqm.css"
,
"gadget_global.js"
,
"gadget_field_graph_dygraph.html"
,
"gadget_field_graph_dygraph.js"
,
"gadget_jio.html"
,
"gadget_jio.js"
,
"gadget_translate.html"
,
"gadget_translate.js"
,
"gadget_translation.html"
,
"dygraph.js"
,
"handlebars.js"
,
"jiodev.js"
,
"erp5_launcher_nojqm.js"
,
"monitoring_jio_storage.js"
,
"monitoring_jio_web_storage.js"
,
"jsen.min.js"
,
"renderjs.js"
,
"rsvp.js"
,
"gadget_erp5_notification.html"
,
"gadget_erp5_notification.js"
,
"gadget_officejs_router.js"
,
"gadget_translation_data.js"
,
"gadget_translation.js"
,
"gadget_erp5_router.html"
,
"gadget_erp5_router.js"
,
"gadget_html5_input.html"
,
"gadget_html5_input.js"
,
"gadget_erp5_configure_editor.html"
,
"gadget_erp5_configure_editor.js"
,
"gadget_erp5_searchfield.html"
,
"gadget_erp5_searchfield.js"
,
"gadget_erp5_pt_form_list.html"
,
"gadget_erp5_pt_form_list.js"
,
"gadget_erp5_form.html"
,
"gadget_erp5_form.js"
,
"gadget_erp5_label_field.html"
,
"gadget_erp5_label_field.js"
,
"gadget_erp5_field_listbox.html"
,
"gadget_erp5_field_listbox.js"
,
"gadget_erp5_field_datetime.html"
,
"gadget_erp5_field_datetime.js"
,
"gadget_erp5_field_string.html"
,
"gadget_erp5_field_string.js"
,
"gadget_erp5_field_gadget.html"
,
"gadget_erp5_field_gadget.js"
,
"gadget_erp5_field_status.html"
,
"gadget_erp5_field_status.js"
,
"gadget_html5_element.html"
,
"gadget_html5_element.js"
,
"gadget_erp5_field_editor.html"
,
"gadget_erp5_field_editor.js"
,
"gadget_erp5_field_relationstring.html"
,
"gadget_erp5_field_relationstring.js"
,
"gadget_erp5_field_textarea.html"
,
"gadget_erp5_field_textarea.js"
,
"gadget_erp5_relation_input.html"
,
"gadget_erp5_relation_input.js"
,
"gadget_erp5_page_ojs_controller.html"
,
"gadget_erp5_page_ojs_controller.js"
,
"gadget_html5_textarea.html"
,
"gadget_html5_textarea.js"
,
"gadget_erp5_field_list.html"
,
"gadget_erp5_field_list.js"
,
"gadget_erp5_field_checkbox.html"
,
"gadget_erp5_field_checkbox.js"
,
"gadget_html5_select.html"
,
"gadget_html5_select.js"
,
"gadget_erp5_field_password.html"
,
"gadget_erp5_field_password.js"
,
"gadget_erp5_field_integer.html"
,
"gadget_erp5_field_integer.js"
,
"gadget_erp5_jio.html"
,
"gadget_erp5_jio.js"
,
"gadget_erp5_search_editor.html"
,
"gadget_erp5_search_editor.js"
,
"gadget_erp5_sort_editor.html"
,
"gadget_erp5_sort_editor.js"
,
"gadget_officejs_monitoring_jio.html"
,
"gadget_erp5_page_ojsm_hosting_subscription_list.html"
,
"gadget_officejs_monitoring_parameter_view.html"
,
"gadget_erp5_page_settings_configurator.html"
,
"gadget_erp5_page_ojsm_processes_view.html"
,
"gadget_officejs_jio_hosting_subscription_view.html"
,
"gadget_officejs_monitoring_sync.html"
,
"gadget_officejs_jio_software_instance_view.html"
,
"gadget_erp5_page_ojsm_software_instance_list.html"
,
"gadget_officejs_monitoring_router.html"
,
"gadget_officejs_jio_promise_view.html"
,
"gadget_erp5_page_ojsm_import_export.html"
,
"gadget_officejs_jio_opml_view.html"
,
"gadget_erp5_page_ojsm_opml_add.html"
,
"gadget_officejs_monitoring_panel.html"
,
"gadget_erp5_page_ojsm_resources_view.html"
,
"gadget_erp5_page_ojsm_opml_delete.html"
,
"gadget_officejs_monitoring_header.html"
,
"gadget_erp5_page_ojsm_status_list.html"
,
"gadget_erp5_page_ojsm_synchronize.html"
,
"gadget_erp5_page_ojsm_erp5_configurator.html"
,
"gadget_erp5_page_ojsm_jump.html"
,
"gadget_officejs_monitoring_opml_edit.html"
,
"gadget_erp5_page_ojsm_dispatch.html"
,
"gadget_ojsm_graph_field.html"
,
"gadget_officejs_monitoring_jio.js"
,
"gadget_erp5_page_ojsm_hosting_subscription_list.js"
,
"gadget_officejs_monitoring_parameter_view.js"
,
"gadget_erp5_page_settings_configurator.js"
,
"gadget_erp5_page_ojsm_processes_view.js"
,
"gadget_officejs_monitoring_custom.css"
,
"gadget_officejs_jio_hosting_subscription_view.js"
,
"gadget_erp5_global.js"
,
"gadget_officejs_monitoring_sync.js"
,
"gadget_erp5_page_ojsm_software_instance_list.js"
,
"gadget_officejs_monitoring_panel.js"
,
"gadget_officejs_jio_software_instance_view.js"
,
"gadget_erp5_page_ojsm_import_export.js"
,
"gadget_erp5_page_ojsm_resources_view.js"
,
"gadget_officejs_jio_promise_view.js"
,
"gadget_officejs_monitoring_header.js"
,
"gadget_erp5_page_ojsm_opml_add.js"
,
"gadget_erp5_page_ojsm_opml_delete.js"
,
"gadget_erp5_page_ojsm_status_list.js"
,
"gadget_officejs_jio_opml_view.js"
,
"gadget_erp5_page_ojsm_synchronize.js"
,
"gadget_erp5_page_ojsm_jump.js"
,
"gadget_erp5_page_ojsm_erp5_configurator.js"
,
"gadget_officejs_monitoring_opml_edit.js"
,
"gadget_erp5_page_ojsm_dispatch.js"
,
"gadget_ojsm_graph_field.js"
,
"gadget_officejs_monitor.json"
,
"NXD-Logo.Rapid.Space.png"
,
"gadget_erp5_editor_panel.html"
,
"gadget_erp5_editor_panel.js"
]
return
url_list
bt5/erp5_web_monitoring/SkinTemplateItem/portal_skins/erp5_web_monitoring/WebSection_getMonitorPrecacheManifestList.xml
0 → 100644
View file @
f4bf3631
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"PythonScript"
module=
"Products.PythonScripts.PythonScript"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
Script_magic
</string>
</key>
<value>
<int>
3
</int>
</value>
</item>
<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_container
</string>
</key>
<value>
<string>
container
</string>
</value>
</item>
<item>
<key>
<string>
name_context
</string>
</key>
<value>
<string>
context
</string>
</value>
</item>
<item>
<key>
<string>
name_m_self
</string>
</key>
<value>
<string>
script
</string>
</value>
</item>
<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>
_params
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
WebSection_getMonitorPrecacheManifestList
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_web_monitoring/bt/template_keep_last_workflow_history_only_path_list
View file @
f4bf3631
...
...
@@ -17,3 +17,4 @@ web_page_module/monitoring_jio_web_storage_js
web_page_module/ojsm_gadget_erp5_statusfield_*
web_site_module/officejs_monitoring
web_site_module/officejs_monitoring/**
image_module/gadget_officejs_appstore_rapid_spage
\ No newline at end of file
bt5/erp5_web_monitoring/bt/template_keep_workflow_path_list
View file @
f4bf3631
...
...
@@ -17,3 +17,4 @@ web_page_module/monitoring_jio_web_storage_js
web_page_module/ojsm_gadget_erp5_statusfield_*
web_site_module/officejs_monitoring
web_site_module/officejs_monitoring/**
image_module/gadget_officejs_appstore_rapid_spage
\ No newline at end of file
bt5/erp5_web_monitoring/bt/template_path_list
View file @
f4bf3631
image_module/gadget_officejs_appstore_rapid_spage
web_page_module/gadget_erp5_field_status_*
web_page_module/gadget_erp5_page_ojsm_*
web_page_module/gadget_erp5_page_settings_configurator_*
...
...
bt5/erp5_web_monitoring/bt/template_skin_id_list
0 → 100644
View file @
f4bf3631
erp5_web_monitoring
\ No newline at end of file
bt5/erp5_web_monitoring_ui_test/PathTemplateItem/portal_tests/web_monitoring_ui_zuite/testOfficeJSMonitoring.xml
0 → 100644
View file @
f4bf3631
<?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>
testOfficeJSMonitoring
</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_web_monitoring_ui_test/PathTemplateItem/portal_tests/web_monitoring_ui_zuite/testOfficeJSMonitoring.zpt
0 → 100644
View file @
f4bf3631
<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 SlapOS Monitoring UI
</title>
</head>
<body>
<table
cellpadding=
"1"
cellspacing=
"1"
border=
"1"
>
<thead>
<tr><td
rowspan=
"1"
colspan=
"3"
>
Test SlapOS Monitoring 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>
<!-- Install offline and redirect to clone -->
<tr>
<td>
open
</td>
<td
tal:content=
"python: '${base_url}/web_site_module/%s?ignore_layout:int=1&editable_mode:int=1' % 'officejs_monitoring'"
></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>
install_url
</td>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplate/macros/wait_for_activities"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForOfficejsUi/macros/wait_install"
/>
<tr>
<td>
waitForElementPresent
</td>
<td>
//a[@data-i18n='Software Instances']
</td>
<td></td>
</tr>
<tr>
<td
colspan=
"3"
><b>
Delete cloned web site on server
</b></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>
${install_url}
</td>
</tr>
<tr>
<td>
clickAndWait
</td>
<td>
name=manage_delObjects:method
</td>
<td></td>
</tr>
<tr>
<td
colspan=
"3"
><b>
Redirect on cloned web site
</b></td>
</tr>
<tr>
<td>
open
</td>
<td>
${base_url}/web_site_module/${install_url}/
</td>
<td></td>
</tr>
<tr>
<td>
setTimeout
</td>
<td>
10000
</td>
<td></td>
</tr>
<tr>
<td>
waitForTextNotPresent
</td>
<td>
Office JS Monitor App is being prepared for 100 % offline mode
</td>
<td></td>
</tr>
<tr>
<td>
setTimeout
</td>
<td>
90000
</td>
<td></td>
</tr>
<!-- Initialize -->
<tr>
<td>
waitForElementPresent
</td>
<td>
//a[@data-i18n='Monitoring Configurations']
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//a[@data-i18n='Monitoring Configurations']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//button[@id="destroyOPML"]
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//input[@name='check_online_access']
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//button[@data-i18n='Save']
</td>
<td></td>
</tr>
<tr>
<td>
pause
</td>
<td>
500
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//a[@data-i18n='Add']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//button[@data-i18n="Save"]
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//a[@data-i18n='Change Password']
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//a[@data-i18n='Monitoring Configurations']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//button[@id="destroyOPML"]
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//a[@data-i18n='Hosting Subscriptions']
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//a[@data-i18n='Hosting Subscriptions']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//h1[text()='Hosting Subscriptions ']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//a[@data-i18n='Software Instances']
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//a[@data-i18n='Software Instances']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//h1[text()='Software Instances ']
</td>
<td></td>
</tr>
<tr>
<td>
open
</td>
<td>
${base_url}/web_page_module/Zuite_waitForActivities
</td>
<td></td>
</tr>
<tr>
<td>
assertTextPresent
</td>
<td>
Done.
</td>
<td></td>
</tr>
<tr>
<td>
open
</td>
<td>
${base_url}/web_site_module/${install_url}/app/#!display?n.page=settings_configurator
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//a[@data-i18n='Monitoring Configurations']
</td>
<td></td>
</tr>
</tbody></table>
</body>
</html>
\ No newline at end of file
bt5/erp5_web_monitoring_ui_test/bt/test_dependency_list
View file @
f4bf3631
erp5_full_text_mroonga_catalog
erp5_officejs_ui_test
\ No newline at end of file
tests/__init__.py
View file @
f4bf3631
...
...
@@ -264,6 +264,7 @@ class RJS_Only(_ERP5):
def
getTestList
(
self
):
rjs_officejs_bt_list
=
[
"erp5_officejs_"
,
"renderjs_ui_test"
,
"erp5_web_monitoring_ui_test"
,
"erp5_monaco_editor_ui_test"
,
"erp5_travel_expense_ui_test"
,
"erp5_gadget_interface_validator_ui_test"
,
...
...
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