Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
telecom
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
Roque
telecom
Commits
5a8bcbce
Commit
5a8bcbce
authored
Jun 08, 2017
by
Roque Porchetto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
UI tests updated.
parent
b3daf23d
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
96 additions
and
4 deletions
+96
-4
bt5/erp5_wendelin_telecom_UI/PathTemplateItem/portal_skins/erp5_ui_test/TelecomTestUI_addFakeDataArray.py
...rtal_skins/erp5_ui_test/TelecomTestUI_addFakeDataArray.py
+29
-0
bt5/erp5_wendelin_telecom_UI/PathTemplateItem/portal_skins/erp5_ui_test/TelecomTestUI_addFakeDataArray.xml
...tal_skins/erp5_ui_test/TelecomTestUI_addFakeDataArray.xml
+62
-0
bt5/erp5_wendelin_telecom_UI/PathTemplateItem/portal_tests/telecom_renderjs_ui_zuite/testRenderjsBasicNavigation.zpt
...telecom_renderjs_ui_zuite/testRenderjsBasicNavigation.zpt
+4
-4
bt5/erp5_wendelin_telecom_UI/bt/template_path_list
bt5/erp5_wendelin_telecom_UI/bt/template_path_list
+1
-0
No files found.
bt5/erp5_wendelin_telecom_UI/PathTemplateItem/portal_skins/erp5_ui_test/TelecomTestUI_addFakeDataArray.py
0 → 100644
View file @
5a8bcbce
portal
=
context
.
getPortalObject
()
portal_catalog
=
portal
.
portal_catalog
# --------------- FAKE DATA SET ---------------------
reference
=
"test_dataset"
portal_type
=
"Data Set"
query_dict
=
{
"portal_type"
:
portal_type
,
"reference"
:
reference
}
result
=
portal_catalog
(
**
query_dict
)
if
len
(
result
)
is
0
:
data_set
=
portal
.
data_set_module
.
newContent
(
portal_type
=
portal_type
,
reference
=
reference
,
title
=
"Fake Data for test"
)
data_set
.
validate
()
# --------------- FAKE DATA DESCRIPTOR ---------------------
reference
=
"test_dataset_fake_data_descriptor"
portal_type
=
"Data Descriptor"
data_descriptor
=
portal
.
data_descriptor_module
.
newContent
(
portal_type
=
portal_type
,
reference
=
reference
,
title
=
"Fake Data for test"
)
return
"Fake Data created."
bt5/erp5_wendelin_telecom_UI/PathTemplateItem/portal_skins/erp5_ui_test/TelecomTestUI_addFakeDataArray.xml
0 → 100644
View file @
5a8bcbce
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"PythonScript"
module=
"Products.PythonScripts.PythonScript"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
Script_magic
</string>
</key>
<value>
<int>
3
</int>
</value>
</item>
<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_container
</string>
</key>
<value>
<string>
container
</string>
</value>
</item>
<item>
<key>
<string>
name_context
</string>
</key>
<value>
<string>
context
</string>
</value>
</item>
<item>
<key>
<string>
name_m_self
</string>
</key>
<value>
<string>
script
</string>
</value>
</item>
<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>
_params
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
TelecomTestUI_addFakeDataArray
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_wendelin_telecom_UI/PathTemplateItem/portal_tests/telecom_renderjs_ui_zuite/testRenderjsBasicNavigation.zpt
View file @
5a8bcbce
...
...
@@ -44,7 +44,7 @@
<tr>
<td>
type
</td>
<td>
name=search
</td>
<td>
Data set test_datase
t
</td>
<td>
Fake Data for tes
t
</td>
</tr>
<!--
<tr>
...
...
@@ -55,19 +55,19 @@
-->
<tr>
<td>
waitForElementPresent
</td>
<td>
//a[text()='
Data set test_datase
t']
</td>
<td>
//a[text()='
Fake Data for tes
t']
</td>
<td></td>
</tr>
<tr>
<td>
click
</td>
<td>
//a[text()='
Data set test_datase
t']
</td>
<td>
//a[text()='
Fake Data for tes
t']
</td>
<td></td>
</tr>
<!-- Check Header -->
<tr>
<td>
waitForElementPresent
</td>
<td>
//a[text()='Data Set :
Data set test_datase
t']
</td>
<td>
//a[text()='Data Set :
Fake Data for tes
t']
</td>
<td></td>
</tr>
<!--
...
...
bt5/erp5_wendelin_telecom_UI/bt/template_path_list
View file @
5a8bcbce
portal_skins/erp5_ui_test/TelecomTestUI_addFakeDataArray
portal_tests/telecom_renderjs_ui_zuite/*
web_page_module/*fif_*
web_site_module/fif_data_runner
...
...
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