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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Georgios Dagkakis
erp5
Commits
729d7d28
Commit
729d7d28
authored
Aug 30, 2017
by
Alain Takoudjou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[officejs_monitoring_test] Add test for monitor interface navigation
parent
e43eca1f
Changes
15
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
905 additions
and
0 deletions
+905
-0
bt5/erp5_web_monitoring_ui_test/PathTemplateItem/portal_tests/web_monitoring_ui_zuite.xml
...PathTemplateItem/portal_tests/web_monitoring_ui_zuite.xml
+26
-0
bt5/erp5_web_monitoring_ui_test/PathTemplateItem/portal_tests/web_monitoring_ui_zuite/testMonitoringSyncNavigation.xml
.../web_monitoring_ui_zuite/testMonitoringSyncNavigation.xml
+58
-0
bt5/erp5_web_monitoring_ui_test/PathTemplateItem/portal_tests/web_monitoring_ui_zuite/testMonitoringSyncNavigation.zpt
.../web_monitoring_ui_zuite/testMonitoringSyncNavigation.zpt
+372
-0
bt5/erp5_web_monitoring_ui_test/TestTemplateItem/portal_components/test.erp5.testFunctionalOfficejsMonitoring.py
..._components/test.erp5.testFunctionalOfficejsMonitoring.py
+311
-0
bt5/erp5_web_monitoring_ui_test/TestTemplateItem/portal_components/test.erp5.testFunctionalOfficejsMonitoring.xml
...components/test.erp5.testFunctionalOfficejsMonitoring.xml
+125
-0
bt5/erp5_web_monitoring_ui_test/bt/copyright_list
bt5/erp5_web_monitoring_ui_test/bt/copyright_list
+1
-0
bt5/erp5_web_monitoring_ui_test/bt/dependency_list
bt5/erp5_web_monitoring_ui_test/bt/dependency_list
+3
-0
bt5/erp5_web_monitoring_ui_test/bt/description
bt5/erp5_web_monitoring_ui_test/bt/description
+1
-0
bt5/erp5_web_monitoring_ui_test/bt/license
bt5/erp5_web_monitoring_ui_test/bt/license
+1
-0
bt5/erp5_web_monitoring_ui_test/bt/template_format_version
bt5/erp5_web_monitoring_ui_test/bt/template_format_version
+1
-0
bt5/erp5_web_monitoring_ui_test/bt/template_path_list
bt5/erp5_web_monitoring_ui_test/bt/template_path_list
+2
-0
bt5/erp5_web_monitoring_ui_test/bt/template_test_id_list
bt5/erp5_web_monitoring_ui_test/bt/template_test_id_list
+1
-0
bt5/erp5_web_monitoring_ui_test/bt/test_dependency_list
bt5/erp5_web_monitoring_ui_test/bt/test_dependency_list
+1
-0
bt5/erp5_web_monitoring_ui_test/bt/title
bt5/erp5_web_monitoring_ui_test/bt/title
+1
-0
bt5/erp5_web_monitoring_ui_test/bt/version
bt5/erp5_web_monitoring_ui_test/bt/version
+1
-0
No files found.
bt5/erp5_web_monitoring_ui_test/PathTemplateItem/portal_tests/web_monitoring_ui_zuite.xml
0 → 100644
View file @
729d7d28
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Zuite"
module=
"Products.Zelenium.zuite"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_objects
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
web_monitoring_ui_zuite
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_web_monitoring_ui_test/PathTemplateItem/portal_tests/web_monitoring_ui_zuite/testMonitoringSyncNavigation.xml
0 → 100644
View file @
729d7d28
<?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>
testMonitoringSyncNavigation
</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/testMonitoringSyncNavigation.zpt
0 → 100644
View file @
729d7d28
<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 (expected failure)
</title>
</head>
<body>
<table
cellpadding=
"1"
cellspacing=
"1"
border=
"1"
>
<thead>
<tr><td
rowspan=
"1"
colspan=
"3"
>
Test SlapOS Monitoring UI (expected failure)
</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/monitoring_render_js/
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//button[@data-i18n='Menu']
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//a[@href='#page=settings_configurator']
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//span[@data-i18n="Configure monitoring OPML"]
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//a[@href='#config-add']
</td>
<td></td>
</tr>
<tr>
<td>
pause
</td>
<td>
500
</td>
<td></td>
</tr>
<tr>
<td>
assertElementPresent
</td>
<td>
//button[@data-i18n='Add OPML']
</td>
<td></td>
</tr>
<tr>
<td>
store
</td>
<td>
http://localhost:5378/rootInstance/public/feeds
</td>
<td>
opml_url
</td>
</tr>
<tr>
<td>
store
</td>
<td>
admin
</td>
<td>
username
</td>
</tr>
<tr>
<td>
store
</td>
<td>
zwkuyjdl
</td>
<td>
password
</td>
</tr>
<tr>
<td>
type
</td>
<td>
name=url
</td>
<td>
${opml_url}
</td>
</tr>
<tr>
<td>
type
</td>
<td>
name=username
</td>
<td>
${username}
</td>
</tr>
<tr>
<td>
type
</td>
<td>
name=password
</td>
<td>
${password}
</td>
</tr>
<tr>
<td>
click
</td>
<td>
//button[@data-i18n='Add OPML']
</td>
<td></td>
</tr>
<tr>
<td>
pause
</td>
<td>
1000
</td>
<td></td>
</tr>
<tr>
<td>
assertTextNotPresent
</td>
<td>
Failed to access OPML URL
</td>
<td></td>
</tr>
<tr>
<td>
pause
</td>
<td>
500
</td>
<td></td>
</tr>
<tr>
<td>
waitForTextPresent
</td>
<td>
Monitoring Promises Status
</td>
<td></td>
</tr>
<tr>
<td>
assertElementPresent
</td>
<td>
//button[contains(@class, 'sync-all')]
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//a[@href='#page=settings_configurator']
</td>
<td></td>
</tr>
<tr>
<td>
pause
</td>
<td>
2000
</td>
<td></td>
</tr>
<tr>
<td>
assertElementPresent
</td>
<td>
//table[contains(@class, 'opml-tablelinks')]
</td>
<td></td>
</tr>
<tr>
<td>
assertTextPresent
</td>
<td>
${opml_url}
</td>
<td></td>
</tr>
<tr>
<td>
storeElementPresent
</td>
<td>
//table[contains(@class, 'opml-tablelinks')]/tbody/tr[1]/td[3]/a
</td>
<td>
has_hosting
</td>
</tr>
<tr>
<td>
storeText
</td>
<td>
//table[contains(@class, 'opml-tablelinks')]/tbody/tr[1]/td[3]/a
</td>
<td>
hosting_title
</td>
</tr>
<tr>
<td>
click
</td>
<td>
//button[contains(@class, 'sync-all')]
</td>
<td></td>
</tr>
<tr>
<td>
waitForTextPresent
</td>
<td>
Synchronizing Data...
</td>
<td></td>
</tr>
<tr>
<td>
waitForTextPresent
</td>
<td>
Synchronisation finished
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//a[@href='#page=hosting_subscription_list']
</td>
<td></td>
</tr>
<tr>
<td>
pause
</td>
<td>
2000
</td>
<td></td>
</tr>
<tr>
<td>
assertTextPresent
</td>
<td>
${hosting_title}
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//table[contains(@class, 'instance-overview')]/tbody/tr[1]/td[1]/a
</td>
<td></td>
</tr>
<tr>
<td>
pause
</td>
<td>
2000
</td>
<td></td>
</tr>
<tr>
<td>
assertTextPresent
</td>
<td>
${hosting_title}
</td>
<td></td>
</tr>
<tr>
<td>
open
</td>
<td>
${base_url}/web_site_module/monitoring_render_js/app/
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//button[@data-i18n='Menu']
</td>
<td></td>
</tr>
<tr>
<td>
pause
</td>
<td>
500
</td>
<td></td>
</tr>
<tr>
<td>
assertElementPresent
</td>
<td>
//span[@data-i18n="Monitoring Promises Status"]
</td>
<td></td>
</tr>
<tr>
<td>
assertTextPresent
</td>
<td>
${hosting_title}
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//table[contains(@class, 'ui-responsive')]/tbody/tr[1]/td[1]/a
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//button[@data-i18n='Menu']
</td>
<td></td>
</tr>
<tr>
<td>
pause
</td>
<td>
2000
</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/monitoring_render_js/app/#page=settings_configurator
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//button[@data-i18n='Menu']
</td>
<td></td>
</tr>
<tr>
<td>
pause
</td>
<td>
500
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//table[contains(@class, 'opml-tablelinks')]/tbody/tr[1]/td[3]/a
</td>
<td></td>
</tr>
<tr>
<td>
pause
</td>
<td>
500
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//button[@data-i18n='Add OPML']
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//label[contains(@class, 'configure-auth')]
</td>
<td></td>
</tr>
<tr>
<td>
pause
</td>
<td>
500
</td>
<td></td>
</tr>
<tr>
<td>
assertElementPresent
</td>
<td>
//label[@data-i18n="Confirm New Password:"]
</td>
<td></td>
</tr>
<tr>
<td>
type
</td>
<td>
name=new_password_confirm
</td>
<td>
${password}
</td>
</tr>
<tr>
<td>
type
</td>
<td>
name=new_password
</td>
<td>
${password}
</td>
</tr>
<tr>
<td>
click
</td>
<td>
//button[@data-i18n='Add OPML']
</td>
<td></td>
</tr>
<tr>
<td>
pause
</td>
<td>
2000
</td>
<td></td>
</tr>
<tr>
<td>
assertElementPresent
</td>
<td>
//button[contains(@class, 'sync-all')]
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//button[contains(@class, 'sync-all')]
</td>
<td></td>
</tr>
<tr>
<td>
waitForTextPresent
</td>
<td>
Synchronizing Data...
</td>
<td></td>
</tr>
<tr>
<td>
waitForTextPresent
</td>
<td>
Synchronisation finished
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//input[@name='opml-all']
</td>
<td></td>
</tr>
<tr>
<td>
clickAndWait
</td>
<td>
//a[contains(@class, 'opml-delete')]
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//button[@data-i18n='Menu']
</td>
<td></td>
</tr>
<tr>
<td>
pause
</td>
<td>
500
</td>
<td></td>
</tr>
<tr>
<td>
assertTextNotPresent
</td>
<td>
${opml_url}
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//a[@href='#page=hosting_subscription_list']
</td>
<td></td>
</tr>
<tr>
<td>
pause
</td>
<td>
2000
</td>
<td></td>
</tr>
<tr>
<td>
assertTextNotPresent
</td>
<td>
${hosting_title}
</td>
<td></td>
</tr>
</tbody></table>
</body>
</html>
\ No newline at end of file
bt5/erp5_web_monitoring_ui_test/TestTemplateItem/portal_components/test.erp5.testFunctionalOfficejsMonitoring.py
0 → 100644
View file @
729d7d28
This diff is collapsed.
Click to expand it.
bt5/erp5_web_monitoring_ui_test/TestTemplateItem/portal_components/test.erp5.testFunctionalOfficejsMonitoring.xml
0 → 100644
View file @
729d7d28
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Test Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_recorded_property_dict
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
testFunctionalOfficejsMonitoring
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
test.erp5.testFunctionalOfficejsMonitoring
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Test Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple>
<string>
W:161, 2: Dangerous default value [] as argument (dangerous-default-value)
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary/>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAQ=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"4"
aka=
"AAAAAAAAAAQ="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.patches.WorkflowTool"
/>
</pickle>
<pickle>
<tuple>
<none/>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</tuple>
</pickle>
</record>
</ZopeData>
bt5/erp5_web_monitoring_ui_test/bt/copyright_list
0 → 100644
View file @
729d7d28
Copyright (C) 2016 Nexedi SA
\ No newline at end of file
bt5/erp5_web_monitoring_ui_test/bt/dependency_list
0 → 100644
View file @
729d7d28
erp5_ui_test_core
erp5_ui_test
erp5_web_monitoring
\ No newline at end of file
bt5/erp5_web_monitoring_ui_test/bt/description
0 → 100644
View file @
729d7d28
Officejs Monitoring ui test
\ No newline at end of file
bt5/erp5_web_monitoring_ui_test/bt/license
0 → 100644
View file @
729d7d28
GPL
\ No newline at end of file
bt5/erp5_web_monitoring_ui_test/bt/template_format_version
0 → 100644
View file @
729d7d28
1
\ No newline at end of file
bt5/erp5_web_monitoring_ui_test/bt/template_path_list
0 → 100644
View file @
729d7d28
portal_tests/web_monitoring_ui_zuite
portal_tests/web_monitoring_ui_zuite/**
\ No newline at end of file
bt5/erp5_web_monitoring_ui_test/bt/template_test_id_list
0 → 100644
View file @
729d7d28
test.erp5.testFunctionalOfficejsMonitoring
\ No newline at end of file
bt5/erp5_web_monitoring_ui_test/bt/test_dependency_list
0 → 100644
View file @
729d7d28
erp5_full_text_mroonga_catalog
\ No newline at end of file
bt5/erp5_web_monitoring_ui_test/bt/title
0 → 100644
View file @
729d7d28
erp5_web_monitoring_ui_test
\ No newline at end of file
bt5/erp5_web_monitoring_ui_test/bt/version
0 → 100644
View file @
729d7d28
0.1
\ 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