Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
18
Merge Requests
18
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos.core
Commits
94d93220
Commit
94d93220
authored
Apr 05, 2024
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_parameter_editor_ui_test: Add ORS Tests
parent
99cfd3b7
Pipeline
#34084
failed with stage
in 0 seconds
Changes
11
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
995 additions
and
0 deletions
+995
-0
master/bt5/slapos_parameter_editor_ui_test/PathTemplateItem/portal_tests/slapos_parameter_editor_zuite/ors_zuite.xml
.../portal_tests/slapos_parameter_editor_zuite/ors_zuite.xml
+26
-0
master/bt5/slapos_parameter_editor_ui_test/PathTemplateItem/portal_tests/slapos_parameter_editor_zuite/ors_zuite/testSlapOSJSTestParameterEditorORSAmarisoftCoreNetwork.xml
...estSlapOSJSTestParameterEditorORSAmarisoftCoreNetwork.xml
+62
-0
master/bt5/slapos_parameter_editor_ui_test/PathTemplateItem/portal_tests/slapos_parameter_editor_zuite/ors_zuite/testSlapOSJSTestParameterEditorORSAmarisoftCoreNetwork.zpt
...estSlapOSJSTestParameterEditorORSAmarisoftCoreNetwork.zpt
+71
-0
master/bt5/slapos_parameter_editor_ui_test/PathTemplateItem/portal_tests/slapos_parameter_editor_zuite/ors_zuite/testSlapOSJSTestParameterEditorORSAmarisoftEnb.xml
..._zuite/testSlapOSJSTestParameterEditorORSAmarisoftEnb.xml
+62
-0
master/bt5/slapos_parameter_editor_ui_test/PathTemplateItem/portal_tests/slapos_parameter_editor_zuite/ors_zuite/testSlapOSJSTestParameterEditorORSAmarisoftEnb.zpt
..._zuite/testSlapOSJSTestParameterEditorORSAmarisoftEnb.zpt
+87
-0
master/bt5/slapos_parameter_editor_ui_test/PathTemplateItem/portal_tests/slapos_parameter_editor_zuite/ors_zuite/testSlapOSJSTestParameterEditorORSAmarisoftEnbCell.xml
...te/testSlapOSJSTestParameterEditorORSAmarisoftEnbCell.xml
+62
-0
master/bt5/slapos_parameter_editor_ui_test/PathTemplateItem/portal_tests/slapos_parameter_editor_zuite/ors_zuite/testSlapOSJSTestParameterEditorORSAmarisoftEnbCell.zpt
...te/testSlapOSJSTestParameterEditorORSAmarisoftEnbCell.zpt
+158
-0
master/bt5/slapos_parameter_editor_ui_test/PathTemplateItem/portal_tests/slapos_parameter_editor_zuite/ors_zuite/testSlapOSJSTestParameterEditorORSAmarisoftEnbRu.xml
...uite/testSlapOSJSTestParameterEditorORSAmarisoftEnbRu.xml
+62
-0
master/bt5/slapos_parameter_editor_ui_test/PathTemplateItem/portal_tests/slapos_parameter_editor_zuite/ors_zuite/testSlapOSJSTestParameterEditorORSAmarisoftEnbRu.zpt
...uite/testSlapOSJSTestParameterEditorORSAmarisoftEnbRu.zpt
+186
-0
master/bt5/slapos_parameter_editor_ui_test/PathTemplateItem/portal_tests/slapos_parameter_editor_zuite/ors_zuite/testSlapOSJSTestParameterEditorORSAmarisoftUeSim.xml
...uite/testSlapOSJSTestParameterEditorORSAmarisoftUeSim.xml
+62
-0
master/bt5/slapos_parameter_editor_ui_test/PathTemplateItem/portal_tests/slapos_parameter_editor_zuite/ors_zuite/testSlapOSJSTestParameterEditorORSAmarisoftUeSim.zpt
...uite/testSlapOSJSTestParameterEditorORSAmarisoftUeSim.zpt
+157
-0
No files found.
master/bt5/slapos_parameter_editor_ui_test/PathTemplateItem/portal_tests/slapos_parameter_editor_zuite/ors_zuite.xml
0 → 100644
View file @
94d93220
<?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>
ors_zuite
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
master/bt5/slapos_parameter_editor_ui_test/PathTemplateItem/portal_tests/slapos_parameter_editor_zuite/ors_zuite/testSlapOSJSTestParameterEditorORSAmarisoftCoreNetwork.xml
0 → 100644
View file @
94d93220
<?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>
testSlapOSJSTestParameterEditorORSAmarisoftCoreNetwork
</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>
master/bt5/slapos_parameter_editor_ui_test/PathTemplateItem/portal_tests/slapos_parameter_editor_zuite/ors_zuite/testSlapOSJSTestParameterEditorORSAmarisoftCoreNetwork.zpt
0 → 100644
View file @
94d93220
<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 Core Network Instance
</title>
</head>
<body>
<table
cellpadding=
"1"
cellspacing=
"1"
border=
"1"
>
<thead>
<tr>
<td
rowspan=
"1"
colspan=
"3"
>
Test Core Network Instance
</td>
</tr>
</thead>
<tbody
tal:define=
"user_configuration python: context.ERP5Site_generateTestUserConfiguration();
software_release_url python: 'https://lab.nexedi.com/nexedi/slapos/-/raw/cb3cd7a7286f141e355b734deea101b6c5373d7b/software/ors-amarisoft/software.cfg'"
>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSParameterCommonTemplate/macros/init"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/submit_dialog"
/>
<tal:block
tal:define=
"software_type python:'Core Network'"
>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSParameterCommonTemplate/macros/select_software_type_custom"
/>
</tal:block>
<tal:block
tal:define=
"name python:'root[core_network_plmn]'; value python: '31415'"
>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSParameterCommonTemplate/macros/input_text"
/>
</tal:block>
<tal:block
tal:define=
"name python:'root[external_enb_gnb]'; value python: 'true'"
>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSParameterCommonTemplate/macros/input_select"
/>
</tal:block>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSParameterCommonTemplate/macros/show_raw_parameter"
/>
<tr>
<td>
waitForElementPresent
</td>
<td>
//textarea[@name="text_content" and contains(text(), '
<
instance
>
')]
</td>
<td></td>
</tr>
<tr>
<td>
assertElementPresent
</td>
<td>
//textarea[@name="text_content" and contains(text(), '
<
instance
>
')]
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//textarea[@name="text_content" and contains(text(), 'core_network_plmn')]
</td>
<td></td>
</tr>
<tr>
<td>
assertElementPresent
</td>
<td>
//textarea[@name="text_content" and contains(text(), 'core_network_plmn')]
</td>
<td></td>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSParameterCommonTemplate/macros/show_form_parameter"
/>
<tal:block
tal:define=
"name python:'root[core_network_plmn]'; value python: '31415'"
>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSParameterCommonTemplate/macros/assert_input_text"
/>
</tal:block>
<tal:block
tal:define=
"parameter_hash string:fdb246f254cfeaec8dd329c08716fb16"
>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSParameterCommonTemplate/macros/submit_dialog_and_assert_hash"
/>
</tal:block>
</tbody>
</table>
</body>
</html>
\ No newline at end of file
master/bt5/slapos_parameter_editor_ui_test/PathTemplateItem/portal_tests/slapos_parameter_editor_zuite/ors_zuite/testSlapOSJSTestParameterEditorORSAmarisoftEnb.xml
0 → 100644
View file @
94d93220
<?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>
testSlapOSJSTestParameterEditorORSAmarisoftEnb
</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>
master/bt5/slapos_parameter_editor_ui_test/PathTemplateItem/portal_tests/slapos_parameter_editor_zuite/ors_zuite/testSlapOSJSTestParameterEditorORSAmarisoftEnb.zpt
0 → 100644
View file @
94d93220
<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 Core eNB/gNB
</title>
</head>
<body>
<table
cellpadding=
"1"
cellspacing=
"1"
border=
"1"
>
<thead>
<tr>
<td
rowspan=
"1"
colspan=
"3"
>
Test Core eNB/gNB
</td>
</tr>
</thead>
<tbody
tal:define=
"user_configuration python: context.ERP5Site_generateTestUserConfiguration();
software_release_url python: 'https://lab.nexedi.com/nexedi/slapos/-/raw/cb3cd7a7286f141e355b734deea101b6c5373d7b/software/ors-amarisoft/software.cfg'"
>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSParameterCommonTemplate/macros/init"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/submit_dialog"
/>
<tal:block
tal:define=
"software_type python:'eNB/gNB'"
>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSParameterCommonTemplate/macros/select_software_type_custom"
/>
</tal:block>
<tal:block
tal:define=
"name python:'root[enb_id]'; value python: '0x10012'"
>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSParameterCommonTemplate/macros/input_text"
/>
</tal:block>
<tal:block
tal:define=
"name python:'root[gnb_id]'; value python: '0x54321'"
>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSParameterCommonTemplate/macros/input_text"
/>
</tal:block>
<tal:block
tal:define=
"name python:'root.mme_list'; value python: '1'"
>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSParameterCommonTemplate/macros/json_add_property"
/>
</tal:block>
<tal:block
tal:define=
"name python:'root[mme_list][1][mme_addr]'; value python: '::1'"
>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSParameterCommonTemplate/macros/input_text"
/>
</tal:block>
<tal:block
tal:define=
"name python:'root.plmn_list'; value python: '1'"
>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSParameterCommonTemplate/macros/json_add_property"
/>
</tal:block>
<tal:block
tal:define=
"name python:'root[plmn_list][1][plmn]'; value python: '31415'"
>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSParameterCommonTemplate/macros/input_text"
/>
</tal:block>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSParameterCommonTemplate/macros/show_raw_parameter"
/>
<tr>
<td>
waitForElementPresent
</td>
<td>
//textarea[@name="text_content" and contains(text(), '
<
instance
>
')]
</td>
<td></td>
</tr>
<tr>
<td>
assertElementPresent
</td>
<td>
//textarea[@name="text_content" and contains(text(), '
<
instance
>
')]
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//textarea[@name="text_content" and contains(text(), 'plmn')]
</td>
<td></td>
</tr>
<tr>
<td>
assertElementPresent
</td>
<td>
//textarea[@name="text_content" and contains(text(), 'plmn')]
</td>
<td></td>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSParameterCommonTemplate/macros/show_form_parameter"
/>
<tal:block
tal:define=
"name python:'root[plmn_list][1][plmn]'; value python: '31415'"
>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSParameterCommonTemplate/macros/assert_input_text"
/>
</tal:block>
<tal:block
tal:define=
"parameter_hash string:92f9924aa667d26617e7fe52d4549e07"
>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSParameterCommonTemplate/macros/submit_dialog_and_assert_hash"
/>
</tal:block>
</tbody>
</table>
</body>
</html>
\ No newline at end of file
master/bt5/slapos_parameter_editor_ui_test/PathTemplateItem/portal_tests/slapos_parameter_editor_zuite/ors_zuite/testSlapOSJSTestParameterEditorORSAmarisoftEnbCell.xml
0 → 100644
View file @
94d93220
<?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>
testSlapOSJSTestParameterEditorORSAmarisoftEnbCell
</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>
master/bt5/slapos_parameter_editor_ui_test/PathTemplateItem/portal_tests/slapos_parameter_editor_zuite/ors_zuite/testSlapOSJSTestParameterEditorORSAmarisoftEnbCell.zpt
0 → 100644
View file @
94d93220
<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 eNB/gNB | LTE Cell
</title>
</head>
<body>
<table
cellpadding=
"1"
cellspacing=
"1"
border=
"1"
>
<thead>
<tr>
<td
rowspan=
"1"
colspan=
"3"
>
Test Core eNB/gNB
</td>
</tr>
</thead>
<tbody
tal:define=
"user_configuration python: context.ERP5Site_generateTestUserConfiguration();
software_release_url python: 'https://lab.nexedi.com/nexedi/slapos/-/raw/cb3cd7a7286f141e355b734deea101b6c5373d7b/software/ors-amarisoft/software.cfg'"
>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSParameterCommonTemplate/macros/init"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/submit_dialog"
/>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSParameterCommonTemplate/macros/wait_software_type_selection"
/>
<tr>
<td
colspan=
"3"
><b>
Change Software type:
→
eNB/gNB | Radio Unit / Cell / Peer / Peer Cell
</b></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//div[contains(@data-gadget-url, 'gadget_erp5_page_slap_parameter_form.html')]//select[@name="software_type"]//option[contains(text(), "eNB/gNB | Radio Unit / Cell / Peer / Peer Cell")]
</td>
<td></td>
</tr>
<tr>
<td>
assertElementPresent
</td>
<td>
//div[contains(@data-gadget-url, 'gadget_erp5_page_slap_parameter_form.html')]//select[@name="software_type"]//option[contains(text(), "eNB/gNB | Radio Unit / Cell / Peer / Peer Cell")]
</td>
<td></td>
</tr>
<tr>
<td>
select
</td>
<td>
//div[contains(@data-gadget-url, 'gadget_erp5_page_slap_parameter_form.html')]//select[@name="software_type"]
</td>
<td>
→ eNB/gNB | Radio Unit / Cell / Peer / Peer Cell
</td>
</tr>
<tr>
<td
colspan=
"3"
><b>
Select Cell - LTE Cell
</b></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//div[@data-schemaid="root"]//select[@id="rootswitcher"]//option[@value="Cell"]//parent::select
</td>
<td></td>
</tr>
<tr>
<td>
assertElementPresent
</td>
<td>
//div[@data-schemaid="root"]//select[@id="rootswitcher"]//option[@value="Cell"]//parent::select
</td>
<td></td>
</tr>
<tr>
<td>
select
</td>
<td>
//div[@data-schemaid="root"]//select[@id="rootswitcher"]//option[@value="Cell"]//parent::select
</td>
<td>
Cell
</td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//div[@data-schemaid="root"]//select[@id="rootswitcher"]//option[@value="LTE Cell"]//parent::select
</td>
<td></td>
</tr>
<tr>
<td>
assertElementPresent
</td>
<td>
//div[@data-schemaid="root"]//select[@id="rootswitcher"]//option[@value="LTE Cell"]//parent::select
</td>
<td></td>
</tr>
<tr>
<td>
select
</td>
<td>
//div[@data-schemaid="root"]//select[@id="rootswitcher"]//option[@value="LTE Cell"]//parent::select
</td>
<td>
LTE Cell
</td>
</tr>
<tal:block
tal:define=
"name python:'root[cell_type]'; value python: 'lte'"
>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSParameterCommonTemplate/macros/input_select"
/>
</tal:block>
<tal:block
tal:define=
"name python:'root[cell_kind]'; value python: 'enb'"
>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSParameterCommonTemplate/macros/input_select"
/>
</tal:block>
<tal:block
tal:define=
"name python:'root[rf_mode]'; value python: 'fdd'"
>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSParameterCommonTemplate/macros/input_select"
/>
</tal:block>
<tal:block
tal:define=
"name python:'root[bandwidth]'; value python: '20'"
>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSParameterCommonTemplate/macros/input_select"
/>
</tal:block>
<tal:block
tal:define=
"name python:'root[dl_earfcn]'; value python: '100'"
>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSParameterCommonTemplate/macros/input_text"
/>
</tal:block>
<tal:block
tal:define=
"name python:'root[pci]'; value python: '1'"
>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSParameterCommonTemplate/macros/input_text"
/>
</tal:block>
<tal:block
tal:define=
"name python:'root[cell_id]'; value python: '0x01'"
>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSParameterCommonTemplate/macros/input_text"
/>
</tal:block>
<tal:block
tal:define=
"name python:'root[tac]'; value python: '0x1234'"
>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSParameterCommonTemplate/macros/input_text"
/>
</tal:block>
<tal:block
tal:define=
"name python:'root[ru][ru_type]'; value python: 'ru_ref'"
>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSParameterCommonTemplate/macros/input_select"
/>
</tal:block>
<tal:block
tal:define=
"name python:'root[ru][ru_ref]'; value python: '0000'"
>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSParameterCommonTemplate/macros/input_text"
/>
</tal:block>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSParameterCommonTemplate/macros/show_raw_parameter"
/>
<tr>
<td>
waitForElementPresent
</td>
<td>
//textarea[@name="text_content" and contains(text(), '
<
instance
>
')]
</td>
<td></td>
</tr>
<tr>
<td>
assertElementPresent
</td>
<td>
//textarea[@name="text_content" and contains(text(), '
<
instance
>
')]
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//textarea[@name="text_content" and contains(text(), 'ru_ref')]
</td>
<td></td>
</tr>
<tr>
<td>
assertElementPresent
</td>
<td>
//textarea[@name="text_content" and contains(text(), 'ru_ref')]
</td>
<td></td>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSParameterCommonTemplate/macros/show_form_parameter"
/>
<tal:block
tal:define=
"name python:'root[ru][ru_ref]'; value python: '0000'"
>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSParameterCommonTemplate/macros/assert_input_text"
/>
</tal:block>
<tal:block
tal:define=
"parameter_hash string:9a2d357aa74f16baeadfdcda602efa0e"
>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSParameterCommonTemplate/macros/submit_dialog_and_assert_hash"
/>
</tal:block>
</tbody>
</table>
</body>
</html>
\ No newline at end of file
master/bt5/slapos_parameter_editor_ui_test/PathTemplateItem/portal_tests/slapos_parameter_editor_zuite/ors_zuite/testSlapOSJSTestParameterEditorORSAmarisoftEnbRu.xml
0 → 100644
View file @
94d93220
<?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>
testSlapOSJSTestParameterEditorORSAmarisoftEnbRu
</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>
master/bt5/slapos_parameter_editor_ui_test/PathTemplateItem/portal_tests/slapos_parameter_editor_zuite/ors_zuite/testSlapOSJSTestParameterEditorORSAmarisoftEnbRu.zpt
0 → 100644
View file @
94d93220
<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 Core eNB/gNB
</title>
</head>
<body>
<table
cellpadding=
"1"
cellspacing=
"1"
border=
"1"
>
<thead>
<tr>
<td
rowspan=
"1"
colspan=
"3"
>
Test Core eNB/gNB
</td>
</tr>
</thead>
<tbody
tal:define=
"user_configuration python: context.ERP5Site_generateTestUserConfiguration();
software_release_url python: 'https://lab.nexedi.com/nexedi/slapos/-/raw/cb3cd7a7286f141e355b734deea101b6c5373d7b/software/ors-amarisoft/software.cfg'"
>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSParameterCommonTemplate/macros/init"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/submit_dialog"
/>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSParameterCommonTemplate/macros/wait_software_type_selection"
/>
<tr>
<td
colspan=
"3"
><b>
Change Software type:
→
eNB/gNB | Radio Unit / Cell / Peer / Peer Cell
</b></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//div[contains(@data-gadget-url, 'gadget_erp5_page_slap_parameter_form.html')]//select[@name="software_type"]//option[contains(text(), "eNB/gNB | Radio Unit / Cell / Peer / Peer Cell")]
</td>
<td></td>
</tr>
<tr>
<td>
assertElementPresent
</td>
<td>
//div[contains(@data-gadget-url, 'gadget_erp5_page_slap_parameter_form.html')]//select[@name="software_type"]//option[contains(text(), "eNB/gNB | Radio Unit / Cell / Peer / Peer Cell")]
</td>
<td></td>
</tr>
<tr>
<td>
select
</td>
<td>
//div[contains(@data-gadget-url, 'gadget_erp5_page_slap_parameter_form.html')]//select[@name="software_type"]
</td>
<td>
→ eNB/gNB | Radio Unit / Cell / Peer / Peer Cell
</td>
</tr>
<tr>
<td
colspan=
"3"
><b>
Select Radio Unity
</b></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//div[@data-schemaid="root"]//select[@id="rootswitcher"]//option[@value="Radio Unit"]//parent::select
</td>
<td></td>
</tr>
<tr>
<td>
assertElementPresent
</td>
<td>
//div[@data-schemaid="root"]//select[@id="rootswitcher"]//option[@value="Radio Unit"]//parent::select
</td>
<td></td>
</tr>
<tr>
<td>
select
</td>
<td>
//div[@data-schemaid="root"]//select[@id="rootswitcher"]//option[@value="Radio Unit"]//parent::select
</td>
<td>
Radio Unit
</td>
</tr>
<tr>
<td
colspan=
"3"
><b>
Select Radio Unity - Lopcomm ORAN
</b></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//div[@data-schemaid="root"]//select[@id="rootswitcher"]//option[@value="Lopcomm ORAN"]//parent::select
</td>
<td></td>
</tr>
<tr>
<td>
assertElementPresent
</td>
<td>
//div[@data-schemaid="root"]//select[@id="rootswitcher"]//option[@value="Lopcomm ORAN"]//parent::select
</td>
<td></td>
</tr>
<tr>
<td>
select
</td>
<td>
//div[@data-schemaid="root"]//select[@id="rootswitcher"]//option[@value="Lopcomm ORAN"]//parent::select
</td>
<td>
Lopcomm ORAN
</td>
</tr>
<tal:block
tal:define=
"name python:'root[ru_type]'; value python: 'lopcomm'"
>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSParameterCommonTemplate/macros/input_select"
/>
</tal:block>
<tal:block
tal:define=
"name python:'root[ru_link_type]'; value python: 'cpri'"
>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSParameterCommonTemplate/macros/input_select"
/>
</tal:block>
<tal:block
tal:define=
"name python:'root[n_antenna_dl]'; value python: '1'"
>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSParameterCommonTemplate/macros/input_text"
/>
</tal:block>
<tal:block
tal:define=
"name python:'root[n_antenna_ul]'; value python: '1'"
>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSParameterCommonTemplate/macros/input_text"
/>
</tal:block>
<tal:block
tal:define=
"name python:'root[tx_gain]'; value python: '-20'"
>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSParameterCommonTemplate/macros/input_text"
/>
</tal:block>
<tal:block
tal:define=
"name python:'root[rx_gain]'; value python: '-20'"
>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSParameterCommonTemplate/macros/input_text"
/>
</tal:block>
<tal:block
tal:define=
"name python:'root[mac_addr]'; value python: '00:0A:45:00:00:00'"
>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSParameterCommonTemplate/macros/input_text"
/>
</tal:block>
<tal:block
tal:define=
"name python:'root[txrx_active]'; value python: 'INACTIVE'"
>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSParameterCommonTemplate/macros/input_select"
/>
</tal:block>
<tal:block
tal:define=
"name python:'root[cpri_link][sdr_dev]'; value python: '0'"
>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSParameterCommonTemplate/macros/input_text"
/>
</tal:block>
<tal:block
tal:define=
"name python:'root[cpri_link][sfp_port]'; value python: '1'"
>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSParameterCommonTemplate/macros/input_text"
/>
</tal:block>
<tal:block
tal:define=
"name python:'root[cpri_link][mult]'; value python: '4'"
>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSParameterCommonTemplate/macros/input_select"
/>
</tal:block>
<tal:block
tal:define=
"name python:'root[cpri_link][mapping]'; value python: 'hw'"
>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSParameterCommonTemplate/macros/input_select"
/>
</tal:block>
<tal:block
tal:define=
"name python:'root[cpri_link][rx_delay]'; value python: '25.11'"
>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSParameterCommonTemplate/macros/input_text"
/>
</tal:block>
<tal:block
tal:define=
"name python:'root[cpri_link][tx_delay]'; value python: '14.71'"
>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSParameterCommonTemplate/macros/input_text"
/>
</tal:block>
<tal:block
tal:define=
"name python:'root[cpri_link][tx_dbm]'; value python: '63'"
>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSParameterCommonTemplate/macros/input_text"
/>
</tal:block>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSParameterCommonTemplate/macros/show_raw_parameter"
/>
<tr>
<td>
waitForElementPresent
</td>
<td>
//textarea[@name="text_content" and contains(text(), '
<
instance
>
')]
</td>
<td></td>
</tr>
<tr>
<td>
assertElementPresent
</td>
<td>
//textarea[@name="text_content" and contains(text(), '
<
instance
>
')]
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//textarea[@name="text_content" and contains(text(), 'tx_dbm')]
</td>
<td></td>
</tr>
<tr>
<td>
assertElementPresent
</td>
<td>
//textarea[@name="text_content" and contains(text(), 'tx_dbm')]
</td>
<td></td>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSParameterCommonTemplate/macros/show_form_parameter"
/>
<tal:block
tal:define=
"name python:'root[cpri_link][tx_dbm]'; value python: '63'"
>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSParameterCommonTemplate/macros/assert_input_text"
/>
</tal:block>
<tal:block
tal:define=
"parameter_hash string:eee5fd2ffabfe7ea23ddb804388d9441"
>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSParameterCommonTemplate/macros/submit_dialog_and_assert_hash"
/>
</tal:block>
</tbody>
</table>
</body>
</html>
\ No newline at end of file
master/bt5/slapos_parameter_editor_ui_test/PathTemplateItem/portal_tests/slapos_parameter_editor_zuite/ors_zuite/testSlapOSJSTestParameterEditorORSAmarisoftUeSim.xml
0 → 100644
View file @
94d93220
<?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>
testSlapOSJSTestParameterEditorORSAmarisoftUeSim
</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>
master/bt5/slapos_parameter_editor_ui_test/PathTemplateItem/portal_tests/slapos_parameter_editor_zuite/ors_zuite/testSlapOSJSTestParameterEditorORSAmarisoftUeSim.zpt
0 → 100644
View file @
94d93220
<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 Core eNB/gNB
</title>
</head>
<body>
<table
cellpadding=
"1"
cellspacing=
"1"
border=
"1"
>
<thead>
<tr>
<td
rowspan=
"1"
colspan=
"3"
>
Test Core eNB/gNB
</td>
</tr>
</thead>
<tbody
tal:define=
"user_configuration python: context.ERP5Site_generateTestUserConfiguration();
software_release_url python: 'https://lab.nexedi.com/nexedi/slapos/-/raw/cb3cd7a7286f141e355b734deea101b6c5373d7b/software/ors-amarisoft/software.cfg'"
>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSParameterCommonTemplate/macros/init"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/submit_dialog"
/>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSParameterCommonTemplate/macros/wait_software_type_selection"
/>
<tr>
<td
colspan=
"3"
><b>
Change Software type:
→
UEsim | Radio Unit / UE / UE Cell
</b></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//div[contains(@data-gadget-url, 'gadget_erp5_page_slap_parameter_form.html')]//select[@name="software_type"]//option[contains(text(), "UEsim | Radio Unit / UE / UE Cell")]
</td>
<td></td>
</tr>
<tr>
<td>
assertElementPresent
</td>
<td>
//div[contains(@data-gadget-url, 'gadget_erp5_page_slap_parameter_form.html')]//select[@name="software_type"]//option[contains(text(), "UEsim | Radio Unit / UE / UE Cell")]
</td>
<td></td>
</tr>
<tr>
<td>
select
</td>
<td>
//div[contains(@data-gadget-url, 'gadget_erp5_page_slap_parameter_form.html')]//select[@name="software_type"]
</td>
<td>
→ UEsim | Radio Unit / UE / UE Cell
</td>
</tr>
<tr>
<td
colspan=
"3"
><b>
Select Radio Unity - UE Cell
</b></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//div[@data-schemaid="root"]//select[@id="rootswitcher"]//option[@value="UE Cell"]//parent::select
</td>
<td></td>
</tr>
<tr>
<td>
assertElementPresent
</td>
<td>
//div[@data-schemaid="root"]//select[@id="rootswitcher"]//option[@value="UE Cell"]//parent::select
</td>
<td></td>
</tr>
<tr>
<td>
select
</td>
<td>
//div[@data-schemaid="root"]//select[@id="rootswitcher"]//option[@value="UE Cell"]//parent::select
</td>
<td>
UE Cell
</td>
</tr>
<tr>
<td
colspan=
"3"
><b>
Select Radio Unity - LTE Cell
</b></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//div[@data-schemaid="root"]//select[@id="rootswitcher"]//option[@value="LTE Cell"]//parent::select
</td>
<td></td>
</tr>
<tr>
<td>
assertElementPresent
</td>
<td>
//div[@data-schemaid="root"]//select[@id="rootswitcher"]//option[@value="LTE Cell"]//parent::select
</td>
<td></td>
</tr>
<tr>
<td>
select
</td>
<td>
//div[@data-schemaid="root"]//select[@id="rootswitcher"]//option[@value="LTE Cell"]//parent::select
</td>
<td>
LTE Cell
</td>
</tr>
<tal:block
tal:define=
"name python:'root[cell_type]'; value python: 'lte'"
>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSParameterCommonTemplate/macros/input_select"
/>
</tal:block>
<tal:block
tal:define=
"name python:'root[cell_kind]'; value python: 'ue'"
>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSParameterCommonTemplate/macros/input_select"
/>
</tal:block>
<tal:block
tal:define=
"name python:'root[rf_mode]'; value python: 'fdd'"
>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSParameterCommonTemplate/macros/input_select"
/>
</tal:block>
<tal:block
tal:define=
"name python:'root[bandwidth]'; value python: '10'"
>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSParameterCommonTemplate/macros/input_select"
/>
</tal:block>
<tal:block
tal:define=
"name python:'root[dl_earfcn]'; value python: '300'"
>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSParameterCommonTemplate/macros/input_text"
/>
</tal:block>
<tal:block
tal:define=
"name python:'root[ru][ru_type]'; value python: 'ru_ref'"
>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSParameterCommonTemplate/macros/input_select"
/>
</tal:block>
<tal:block
tal:define=
"name python:'root[ru][ru_ref]'; value python: 'CB5-UE.RU'"
>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSParameterCommonTemplate/macros/input_text"
/>
</tal:block>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSParameterCommonTemplate/macros/show_raw_parameter"
/>
<tr>
<td>
waitForElementPresent
</td>
<td>
//textarea[@name="text_content" and contains(text(), '
<
instance
>
')]
</td>
<td></td>
</tr>
<tr>
<td>
assertElementPresent
</td>
<td>
//textarea[@name="text_content" and contains(text(), '
<
instance
>
')]
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//textarea[@name="text_content" and contains(text(), 'bandwidth')]
</td>
<td></td>
</tr>
<tr>
<td>
assertElementPresent
</td>
<td>
//textarea[@name="text_content" and contains(text(), 'bandwidth')]
</td>
<td></td>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSParameterCommonTemplate/macros/show_form_parameter"
/>
<tal:block
tal:define=
"name python:'root[rf_mode]'"
>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSParameterCommonTemplate/macros/wait_for_input_select"
/>
</tal:block>
<tr>
<td>
assertValue
</td>
<td>
//select[@name="root[rf_mode]"]
</td>
<td>
fdd
</td>
</tr>
<tal:block
tal:define=
"parameter_hash string:1c396575a15211930ee6db52219fb521"
>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSParameterCommonTemplate/macros/submit_dialog_and_assert_hash"
/>
</tal:block>
</tbody>
</table>
</body>
</html>
\ 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