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
Łukasz Nowak
erp5
Commits
aa112689
Commit
aa112689
authored
Jan 17, 2020
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_web_monitoring_ui_test: Update the test with Zuites
parent
6947ec35
Changes
7
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
779 additions
and
516 deletions
+779
-516
bt5/erp5_web_monitoring_ui_test/PathTemplateItem/portal_tests/web_monitoring_ui_zuite/testMonitoringManualSynchronization.xml
...nitoring_ui_zuite/testMonitoringManualSynchronization.xml
+58
-0
bt5/erp5_web_monitoring_ui_test/PathTemplateItem/portal_tests/web_monitoring_ui_zuite/testMonitoringManualSynchronization.zpt
...nitoring_ui_zuite/testMonitoringManualSynchronization.zpt
+39
-0
bt5/erp5_web_monitoring_ui_test/PathTemplateItem/portal_tests/web_monitoring_ui_zuite/testMonitoringSyncNavigation.zpt
.../web_monitoring_ui_zuite/testMonitoringSyncNavigation.zpt
+276
-516
bt5/erp5_web_monitoring_ui_test/SkinTemplateItem/portal_skins/erp5_web_monitoring_ui_test.xml
...TemplateItem/portal_skins/erp5_web_monitoring_ui_test.xml
+26
-0
bt5/erp5_web_monitoring_ui_test/SkinTemplateItem/portal_skins/erp5_web_monitoring_ui_test/Zuite_CommonTemplateForMonitoringUi.xml
...onitoring_ui_test/Zuite_CommonTemplateForMonitoringUi.xml
+79
-0
bt5/erp5_web_monitoring_ui_test/SkinTemplateItem/portal_skins/erp5_web_monitoring_ui_test/Zuite_CommonTemplateForMonitoringUi.zpt
...onitoring_ui_test/Zuite_CommonTemplateForMonitoringUi.zpt
+300
-0
bt5/erp5_web_monitoring_ui_test/bt/template_skin_id_list
bt5/erp5_web_monitoring_ui_test/bt/template_skin_id_list
+1
-0
No files found.
bt5/erp5_web_monitoring_ui_test/PathTemplateItem/portal_tests/web_monitoring_ui_zuite/testMonitoringManualSynchronization.xml
0 → 100644
View file @
aa112689
<?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>
testMonitoringManualSynchronization
</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/testMonitoringManualSynchronization.zpt
0 → 100644
View file @
aa112689
<html
xmlns:tal=
"http://xml.zope.org/namespaces/tal"
xmlns:metal=
"http://xml.zope.org/namespaces/metal"
tal:define=
"global TEST_NAME string:Test SlapOS Monitoring UI Manual Synchronization"
>
<head>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
>
<title
tal:content=
"TEST_NAME"
></title>
</head>
<body>
<table
cellpadding=
"1"
cellspacing=
"1"
border=
"1"
>
<thead>
<tr><td
rowspan=
"1"
colspan=
"3"
tal:content=
"TEST_NAME"
></td></tr>
</thead>
<tbody>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplate/macros/init"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForMonitoringUi/macros/monitoring_ui_setup"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForMonitoringUi/macros/add_monitoring_endpoint"
/>
<tr>
<td
colspan=
"3"
><b>
Synchronize manually
</b></td>
</tr>
<tal:block
tal:define=
"click_configuration python: {'text': 'Synchronize'}"
>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/click_on_panel_link"
/>
</tal:block>
<tal:block
tal:define=
"notification_configuration python: {'class': 'success',
'text': 'Synchronizing Data...'}"
>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_notification"
/>
</tal:block>
<tal:block
tal:define=
"notification_configuration python: {'class': 'success',
'text': 'Synchronisation finished.'}"
>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_notification"
/>
</tal:block>
<tr>
<td>
assertTextPresent
</td>
<td>
Test is not finished yet, as in reality we have to check if synchronization had effect with data being added to the promises
</td>
<td></td>
</tr>
</tbody>
</table>
</body>
</html>
\ No newline at end of file
bt5/erp5_web_monitoring_ui_test/PathTemplateItem/portal_tests/web_monitoring_ui_zuite/testMonitoringSyncNavigation.zpt
View file @
aa112689
This diff is collapsed.
Click to expand it.
bt5/erp5_web_monitoring_ui_test/SkinTemplateItem/portal_skins/erp5_web_monitoring_ui_test.xml
0 → 100644
View file @
aa112689
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Folder"
module=
"OFS.Folder"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_objects
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
erp5_web_monitoring_ui_test
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_web_monitoring_ui_test/SkinTemplateItem/portal_skins/erp5_web_monitoring_ui_test/Zuite_CommonTemplateForMonitoringUi.xml
0 → 100644
View file @
aa112689
<?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>
_local_properties
</string>
</key>
<value>
<tuple>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
description
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
text
</string>
</value>
</item>
</dictionary>
</tuple>
</value>
</item>
<item>
<key>
<string>
content_type
</string>
</key>
<value>
<string>
text/html
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
expand
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
Zuite_CommonTemplateForMonitoringUi
</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>
Common Template for All Monitoring ui Zuite
</unicode>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_web_monitoring_ui_test/SkinTemplateItem/portal_skins/erp5_web_monitoring_ui_test/Zuite_CommonTemplateForMonitoringUi.zpt
0 → 100644
View file @
aa112689
This diff is collapsed.
Click to expand it.
bt5/erp5_web_monitoring_ui_test/bt/template_skin_id_list
0 → 100644
View file @
aa112689
erp5_web_monitoring_ui_test
\ 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