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
Noah Brackenbury
erp5
Commits
1923807c
Commit
1923807c
authored
Aug 30, 2017
by
Alain Takoudjou
Committed by
Alain Takoudjou
Sep 01, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[officejs_monitoring_test] Add test for monitor interface navigation
parent
566c0c5f
Changes
15
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
1236 additions
and
0 deletions
+1236
-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
+307
-0
bt5/erp5_web_monitoring_ui_test/TestTemplateItem/portal_components/test.erp5.testFunctionalOfficejsMonitoring.xml
...components/test.erp5.testFunctionalOfficejsMonitoring.xml
+460
-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 @
1923807c
<?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 @
1923807c
<?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 @
1923807c
<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/app
</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 @
1923807c
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 @
1923807c
This diff is collapsed.
Click to expand it.
bt5/erp5_web_monitoring_ui_test/bt/copyright_list
0 → 100644
View file @
1923807c
Copyright (C) 2016 Nexedi SA
\ No newline at end of file
bt5/erp5_web_monitoring_ui_test/bt/dependency_list
0 → 100644
View file @
1923807c
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 @
1923807c
Officejs Monitoring ui test
\ No newline at end of file
bt5/erp5_web_monitoring_ui_test/bt/license
0 → 100644
View file @
1923807c
GPL
\ No newline at end of file
bt5/erp5_web_monitoring_ui_test/bt/template_format_version
0 → 100644
View file @
1923807c
1
\ No newline at end of file
bt5/erp5_web_monitoring_ui_test/bt/template_path_list
0 → 100644
View file @
1923807c
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 @
1923807c
test.erp5.testFunctionalOfficejsMonitoring
\ No newline at end of file
bt5/erp5_web_monitoring_ui_test/bt/test_dependency_list
0 → 100644
View file @
1923807c
erp5_full_text_mroonga_catalog
\ No newline at end of file
bt5/erp5_web_monitoring_ui_test/bt/title
0 → 100644
View file @
1923807c
erp5_web_monitoring_ui_test
\ No newline at end of file
bt5/erp5_web_monitoring_ui_test/bt/version
0 → 100644
View file @
1923807c
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