Commit 10d9f4d0 authored by Paul Graydon's avatar Paul Graydon

wendelin_telecom_web_test: Add user interface tests

parent abb8da42
from Products.ERP5Security import SUPER_USER
from AccessControl.SecurityManagement import getSecurityManager
from AccessControl.SecurityManagement import setSecurityManager
from AccessControl.SecurityManagement import newSecurityManager
import msgpack
import requests
def ERP5Site_bootstrapWendelinTelecomWebUiTest(self, step):
if step not in ['ingestor_user', 'client_user', 'admin_user', 'ors']:
raise ValueError('Unsupported bootstrap step: %s' % step)
portal = self.getPortalObject()
if step == 'ingestor_user':
sm = getSecurityManager()
try:
newSecurityManager(None, portal.acl_users.getUser(SUPER_USER))
ingestor_user_reference = 'web_test_ingestor_user'
if len(
portal.portal_catalog(
portal_type='Person',
reference=ingestor_user_reference
)
) != 0:
return 'Done'
ingestor_user = portal.person_module.newContent(
portal_type='Person',
reference=ingestor_user_reference
)
ingestor_user.newContent(
portal_type='Assignment',
title='Ingestor',
function='ingestor'
).open()
ingestor_user.newContent(
portal_type='ERP5 Login',
reference=ingestor_user_reference,
password=ingestor_user_reference
).validate()
ingestor_user.validate()
finally:
setSecurityManager(sm)
elif step == 'client_user':
sm = getSecurityManager()
try:
newSecurityManager(None, portal.acl_users.getUser(SUPER_USER))
client_user_reference = 'web_test_client_user'
client_user = portal.portal_catalog.getResultValue(
portal_type='Person',
reference=client_user_reference,
validation_state='validated'
)
if client_user is not None:
return 'Done'
project_reference = 'web_test_project'
project = portal.portal_catalog.getResultValue(
portal_type='Project',
reference=project_reference,
validation_state='validated'
)
if project is None:
project = portal.project_module.newContent(
portal_type='Project',
reference=project_reference,
)
project.validate()
destination_project = project.getRelativeUrl()
client_user = portal.person_module.newContent(
portal_type='Person',
reference=client_user_reference
)
client_user.newContent(
portal_type='Assignment',
title='User for %s' % project_reference,
destination_project=destination_project,
function='user'
).open()
client_user.newContent(
portal_type='ERP5 Login',
reference=client_user_reference,
password=client_user_reference
).validate()
client_user.validate()
finally:
setSecurityManager(sm)
elif step == 'admin_user':
sm = getSecurityManager()
try:
newSecurityManager(None, portal.acl_users.getUser(SUPER_USER))
admin_user_reference = 'web_test_admin_user'
if len(
portal.portal_catalog(
portal_type='Person',
reference=admin_user_reference
)
) != 0:
return 'Done'
admin_user = portal.person_module.newContent(
portal_type='Person',
reference=admin_user_reference
)
admin_user.newContent(
portal_type='Assignment',
title='Administrator',
function='administrator'
).open()
admin_user.newContent(
portal_type='ERP5 Login',
reference=admin_user_reference,
password=admin_user_reference
).validate()
admin_user.validate()
finally:
setSecurityManager(sm)
elif step == 'ors':
sm = getSecurityManager()
try:
newSecurityManager(None, portal.acl_users.getUser(SUPER_USER))
project_reference = 'web_test_project'
project = portal.portal_catalog.getResultValue(
portal_type='Project',
reference=project_reference,
validation_state='validated'
)
if project is None:
project = portal.project_module.newContent(
portal_type='Project',
reference=project_reference,
)
project.validate()
web_test_project_url = project.getRelativeUrl()
ors_tag_dict = {
'ors000_COMP-0000_e0x00000Test': (
web_test_project_url,
None
),
'ors001_COMP-0001_e0x00001Test': (
None,
'ORS 001 e0x00001 Test'
),
}
for ors_tag in ors_tag_dict:
destination_project_url = ors_tag_dict[ors_tag][0]
ors_title = ors_tag_dict[ors_tag][1]
data_acquisition_unit = portal.portal_catalog.getResultValue(
portal_type='Data Acquisition Unit',
reference=ors_tag,
validation_state='validated'
)
if data_acquisition_unit is None:
data_acquisition_unit = portal.data_acquisition_unit_module.newContent(
portal_type='Data Acquisition Unit',
reference=ors_tag,
title=ors_title,
)
data_acquisition_unit.validate()
data_supply = data_acquisition_unit.DataAcquisitionUnit_createOrsDataSupply(batch=1)
# Link Data Supply to project
if destination_project_url is not None:
data_supply.setDestinationProject(destination_project_url)
finally:
setSecurityManager(sm)
return 'Done'
def ERP5Site_ingestTestLogData(self, ors_tag, ingestor_reference):
portal = self.getPortalObject()
# Preventing ingesting the same data more than once
data_array = portal.portal_catalog.getResultValue(
portal_type='Data Array',
reference='ORS eNB Log Data Transformation-e_utran-%s' % ors_tag,
validation_state='validated'
)
if data_array is not None:
if data_array.getArrayShape() is not None \
and data_array.getArrayShape() not in [(), (0,)]:
return 'Done'
ingestion_reference = 'ors.%s' % ors_tag
log_data = {
'log': portal.web_page_module.test_example_ors_enb_log_valid.getTextContent()
}
msgpack_data = msgpack.packb([0, log_data], use_bin_type=True)
header_dict = {'CONTENT_TYPE': 'application/octet-stream'}
ingestion_url = portal.portal_ingestion_policies.ors_enb_log_ingestion.getAbsoluteUrl() \
+ '/ingest?reference=' + ingestion_reference
requests.post(
ingestion_url,
auth=(ingestor_reference, ingestor_reference),
data={'data_chunk': msgpack_data},
headers=header_dict,
verify=False
)
return 'Done'
def ERP5Site_activateWendelinHandleAnalysisAlarmTest(self):
portal = self.getPortalObject()
portal.portal_alarms.wendelin_handle_analysis.activeSense()
return 'Alarm activated'
\ No newline at end of file
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Extension Component" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>default_reference</string> </key>
<value> <string>WendelinTelecomWebUiTest</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>extension.erp5.WendelinTelecomWebUiTest</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/>
</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">AAAAAAAAAAI=</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>
<item>
<key> <string>component_validation_workflow</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<global name="WorkflowHistoryList" module="Products.ERP5Type.Workflow"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_log</string> </key>
<value>
<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>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Zuite" module="Products.Zelenium.zuite"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_local_properties</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>_objects</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>filename_glob</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>filesystem_path</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>wendelin_telecom_web_zuite</string> </value>
</item>
<item>
<key> <string>test_case_metatypes</string> </key>
<value>
<tuple>
<string>File</string>
<string>Page Template</string>
</tuple>
</value>
</item>
<item>
<key> <string>testsuite_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?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="_reconstructor" module="copy_reg"/>
</klass>
<tuple>
<global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
<global name="object" module="__builtin__"/>
<none/>
</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>testAddOrsClientProjectActionAdmin</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>
<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 Add ORS Client Project Action as Admin</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr>
<td rowspan="1" colspan="3">Test Add ORS Client Project Action as Admin</td>
</tr>
</thead>
<tbody>
<tal:block metal:use-macro="here/Zuite_CommonTemplate/macros/init" />
<tal:block metal:use-macro="here/Zuite_WendelinTelecomTemplate/macros/add_ingestor_test_user" />
<tal:block metal:use-macro="here/Zuite_WendelinTelecomTemplate/macros/add_admin_test_user" />
<tal:block metal:use-macro="here/Zuite_WendelinTelecomTemplate/macros/login_as_admin_user" />
<tr>
<td>waitForElementPresent</td>
<td>//a[text()='Modules']</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>//a[text()='Modules']</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//a[text()='Projects']</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>//a[text()='Projects']</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//a[text()='Register ORS Client Project']</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>//a[text()='Register ORS Client Project']</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//input[@name='field_your_project_reference']</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>//input[@name='field_your_project_reference']</td>
<td>web_test_register_action_project</td>
</tr>
<tr>
<td>type</td>
<td>//input[@name='field_your_project_title']</td>
<td>Web Test Register Action Project</td>
</tr>
<tr>
<td>type</td>
<td>//input[@name='field_your_client_email']</td>
<td>web_test_client@web-test.wendelin-tele.com</td>
</tr>
<tr>
<td>click</td>
<td>//input[@value='Register ORS Client Project']</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//button[text()='ORS Client Project successfully registered.']</td>
<td></td>
</tr>
<tal:block metal:use-macro="here/Zuite_CommonTemplate/macros/wait_for_activities" />
<tr>
<td>open</td>
<td>${base_url}/web_site_module/wendelin_telecom_admin_front/#/project_module</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//a[text()='web_test_register_action_project']</td>
<td></td>
</tr>
</tbody>
</table>
</body>
</html>
\ No newline at end of file
<?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="_reconstructor" module="copy_reg"/>
</klass>
<tuple>
<global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
<global name="object" module="__builtin__"/>
<none/>
</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>testUpdateOrsConfigsActionAdmin</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>
<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 Add ORS Client Project Action as Admin</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr>
<td rowspan="1" colspan="3">Test Add ORS Client Project Action as Admin</td>
</tr>
</thead>
<tbody>
<tal:block metal:use-macro="here/Zuite_CommonTemplate/macros/init" />
<tal:block metal:use-macro="here/Zuite_WendelinTelecomTemplate/macros/add_ingestor_test_user" />
<tal:block metal:use-macro="here/Zuite_WendelinTelecomTemplate/macros/add_admin_test_user" />
<tal:block metal:use-macro="here/Zuite_WendelinTelecomTemplate/macros/add_ors_test_data" />
<tal:block metal:use-macro="here/Zuite_WendelinTelecomTemplate/macros/login_as_admin_user" />
<tr>
<td>waitForElementPresent</td>
<td>//a[text()='Modules']</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>//a[text()='Modules']</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//a[text()='Data Acquisition Units']</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>//a[text()='Data Acquisition Units']</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//a[text()='Update ORS Configurations']</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>//a[text()='Update ORS Configurations']</td>
<td></td>
</tr>
<!-- TODO: Actually update the ORS data if possible -->
<tr>
<td>waitForElementPresent</td>
<td>//input[@value='Update ORS Configurations']</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>//input[@value='Update ORS Configurations']</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//button[text()='ORS configurations successfully updated.']</td>
<td></td>
</tr>
<tal:block metal:use-macro="here/Zuite_CommonTemplate/macros/wait_for_activities" />
<tr>
<td>open</td>
<td>${base_url}/web_site_module/wendelin_telecom_admin_front/#/data_acquisition_unit_module</td>
<td></td>
</tr>
</tbody>
</table>
</body>
</html>
\ No newline at end of file
<?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="_reconstructor" module="copy_reg"/>
</klass>
<tuple>
<global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
<global name="object" module="__builtin__"/>
<none/>
</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>testViewOrsKpiGraphAdmin</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>
<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 View ORS KPI Graph as Administrator</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr>
<td rowspan="1" colspan="3">Test View ORS KPI Graph as Administrator</td>
</tr>
</thead>
<tbody>
<tal:block metal:use-macro="here/Zuite_CommonTemplate/macros/init" />
<tal:block metal:use-macro="here/Zuite_WendelinTelecomTemplate/macros/add_ingestor_test_user" />
<tal:block metal:use-macro="here/Zuite_WendelinTelecomTemplate/macros/add_admin_test_user" />
<tal:block metal:use-macro="here/Zuite_WendelinTelecomTemplate/macros/add_ors_test_data" />
<tal:block metal:use-macro="here/Zuite_WendelinTelecomTemplate/macros/login_as_admin_user" />
<tal:block metal:use-macro="here/Zuite_WendelinTelecomTemplate/macros/check_ors_kpi_graphs" />
</tbody>
</table>
</body>
</html>
\ No newline at end of file
<?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="_reconstructor" module="copy_reg"/>
</klass>
<tuple>
<global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
<global name="object" module="__builtin__"/>
<none/>
</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>testViewOrsKpiGraphClient</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>
<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 View ORS KPI Graph as Client</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr>
<td rowspan="1" colspan="3">Test View ORS KPI Graph as Client</td>
</tr>
</thead>
<tbody>
<tal:block metal:use-macro="here/Zuite_CommonTemplate/macros/init" />
<tal:block metal:use-macro="here/Zuite_WendelinTelecomTemplate/macros/add_ingestor_test_user" />
<tal:block metal:use-macro="here/Zuite_WendelinTelecomTemplate/macros/add_client_test_user" />
<tal:block metal:use-macro="here/Zuite_WendelinTelecomTemplate/macros/add_ors_test_data" />
<tal:block metal:use-macro="here/Zuite_WendelinTelecomTemplate/macros/login_as_client_user" />
<tal:block metal:use-macro="here/Zuite_WendelinTelecomTemplate/macros/check_ors_kpi_graphs" />
</tbody>
</table>
</body>
</html>
\ No newline at end of file
<?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>wendelin_telecom_web_ui_test</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="ExternalMethod" module="Products.ExternalMethod.ExternalMethod"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_function</string> </key>
<value> <string>ERP5Site_activateWendelinHandleAnalysisAlarmTest</string> </value>
</item>
<item>
<key> <string>_module</string> </key>
<value> <string>WendelinTelecomWebUiTest</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>ERP5Site_activateWendelinHandleAnalysisAlarmTest</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="ExternalMethod" module="Products.ExternalMethod.ExternalMethod"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_function</string> </key>
<value> <string>ERP5Site_bootstrapWendelinTelecomWebUiTest</string> </value>
</item>
<item>
<key> <string>_module</string> </key>
<value> <string>WendelinTelecomWebUiTest</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>ERP5Site_bootstrapWendelinTelecomWebUiTest</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="ExternalMethod" module="Products.ExternalMethod.ExternalMethod"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_function</string> </key>
<value> <string>ERP5Site_ingestTestLogData</string> </value>
</item>
<item>
<key> <string>_module</string> </key>
<value> <string>WendelinTelecomWebUiTest</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>ERP5Site_ingestTestLogData</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?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="_reconstructor" module="copy_reg"/>
</klass>
<tuple>
<global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
<global name="object" module="__builtin__"/>
<none/>
</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>Zuite_WendelinTelecomTemplate</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>
##############################################################################
#
# Copyright (c) 2002-2025 Nexedi SA and Contributors. All Rights Reserved.
#
# WARNING: This program as such is intended to be used by professional
# programmers who take the whole responsibility of assessing all potential
# consequences resulting from its eventual inadequacies and bugs
# End users who are looking for a ready-to-use solution with commercial
# guarantees and support are strongly adviced to contract a Free Software
# Service Company
#
# This program is Free Software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#
##############################################################################
import unittest
from Products.ERP5Type.tests.ERP5TypeFunctionalTestCase import ERP5TypeFunctionalTestCase
class TestWendelinTelecomWeb(ERP5TypeFunctionalTestCase):
foreground = 0
run_only = "wendelin_telecom_web_zuite"
def test_suite():
suite = unittest.TestSuite()
suite.addTest(unittest.makeSuite(TestWendelinTelecomWeb))
return suite
\ No newline at end of file
<?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>default_reference</string> </key>
<value> <string>testFunctionalWendelinTelecomWeb</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>test.erp5.testFunctionalWendelinTelecomWeb</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/>
</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">AAAAAAAAAAI=</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>
<item>
<key> <string>component_validation_workflow</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<global name="WorkflowHistoryList" module="Products.ERP5Type.Workflow"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_log</string> </key>
<value>
<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>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
erp5_ui_test_core
erp5_web_renderjs_ui_test_core
wendelin_telecom_web
wendelin_telecom_security
wendelin_telecom_test_data
\ No newline at end of file
User interface tests for the Wendelin Telecom web sites.
WARNING: This business template should not be installed in a production environment.
\ No newline at end of file
extension.erp5.WendelinTelecomWebUiTest
\ No newline at end of file
portal_tests/wendelin_telecom_web_zuite
portal_tests/wendelin_telecom_web_zuite/**
\ No newline at end of file
portal_tests/wendelin_telecom_web_zuite
portal_tests/wendelin_telecom_web_zuite/**
\ No newline at end of file
wendelin_telecom_web_ui_test
\ No newline at end of file
test.erp5.testFunctionalWendelinTelecomWeb
\ No newline at end of file
wendelin_telecom_web_test
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment