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
b88fed74
Commit
b88fed74
authored
Nov 26, 2018
by
Roque Porchetto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_wendelin_telecom_UI: zelenium test for basic navigation
parent
9a3fb415
Changes
11
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
58 additions
and
289 deletions
+58
-289
bt5/erp5_wendelin_telecom_UI/PathTemplateItem/data_descriptor_module/fake_descriptor_for_UI_test.xml
...em/data_descriptor_module/fake_descriptor_for_UI_test.xml
+0
-47
bt5/erp5_wendelin_telecom_UI/PathTemplateItem/data_set_module/fake_dataset_for_UI_test.xml
...TemplateItem/data_set_module/fake_dataset_for_UI_test.xml
+0
-232
bt5/erp5_wendelin_telecom_UI/PathTemplateItem/portal_skins/erp5_ui_test/TelecomTestUI_addFakeDataArray.py
...rtal_skins/erp5_ui_test/TelecomTestUI_addFakeDataArray.py
+16
-1
bt5/erp5_wendelin_telecom_UI/PathTemplateItem/portal_tests/telecom_renderjs_ui_zuite/testRenderjsBasicNavigation.zpt
...telecom_renderjs_ui_zuite/testRenderjsBasicNavigation.zpt
+30
-1
bt5/erp5_wendelin_telecom_UI/TestTemplateItem/portal_components/test.erp5.testTelecomZeleniumCore.py
...em/portal_components/test.erp5.testTelecomZeleniumCore.py
+0
-0
bt5/erp5_wendelin_telecom_UI/TestTemplateItem/portal_components/test.erp5.testTelecomZeleniumCore.xml
...m/portal_components/test.erp5.testTelecomZeleniumCore.xml
+7
-1
bt5/erp5_wendelin_telecom_UI/bt/template_keep_last_workflow_history_only_path_list
..._UI/bt/template_keep_last_workflow_history_only_path_list
+1
-2
bt5/erp5_wendelin_telecom_UI/bt/template_keep_path_list
bt5/erp5_wendelin_telecom_UI/bt/template_keep_path_list
+1
-0
bt5/erp5_wendelin_telecom_UI/bt/template_keep_workflow_path_list
...5_wendelin_telecom_UI/bt/template_keep_workflow_path_list
+1
-2
bt5/erp5_wendelin_telecom_UI/bt/template_path_list
bt5/erp5_wendelin_telecom_UI/bt/template_path_list
+1
-2
bt5/erp5_wendelin_telecom_UI/bt/template_test_id_list
bt5/erp5_wendelin_telecom_UI/bt/template_test_id_list
+1
-1
No files found.
bt5/erp5_wendelin_telecom_UI/PathTemplateItem/data_descriptor_module/fake_descriptor_for_UI_test.xml
deleted
100644 → 0
View file @
9a3fb415
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Data Descriptor"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_local_properties
</string>
</key>
<value>
<tuple>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
reference
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
string
</string>
</value>
</item>
</dictionary>
</tuple>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
fake_descriptor_for_UI_test
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Data Descriptor
</string>
</value>
</item>
<item>
<key>
<string>
reference
</string>
</key>
<value>
<string>
fake_descriptor_for_UI_test
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_wendelin_telecom_UI/PathTemplateItem/data_set_module/fake_dataset_for_UI_test.xml
deleted
100644 → 0
View file @
9a3fb415
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Data Set"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_Access_contents_information_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Auditor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Add_portal_content_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Modify_portal_content_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_View_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Auditor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
test_dataset
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
fake_dataset_for_UI_test
</string>
</value>
</item>
<item>
<key>
<string>
language
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Data Set
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Fake Data for test
</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>
edit_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAQ=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.patches.WorkflowTool"
/>
</pickle>
<pickle>
<tuple>
<none/>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
edit
</string>
</value>
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
zope
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
error_message
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
960.14013.2461.42171
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
<value>
<string>
current
</string>
</value>
</item>
<item>
<key>
<string>
time
</string>
</key>
<value>
<object>
<klass>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>
1498134595.24
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
</dictionary>
</list>
</tuple>
</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>
actor
</string>
</key>
<value>
<string>
zope
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
error_message
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
time
</string>
</key>
<value>
<object>
<klass>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>
1498123982.11
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</tuple>
</pickle>
</record>
</ZopeData>
bt5/erp5_wendelin_telecom_UI/PathTemplateItem/portal_skins/erp5_ui_test/TelecomTestUI_addFakeDataArray.py
View file @
b88fed74
portal
=
context
.
getPortalObject
()
portal_catalog
=
portal
.
portal_catalog
REFERENCE_SEPARATOR
=
portal
.
getIngestionReferenceDictionary
()[
"reference_separator"
]
NONE
=
portal
.
getIngestionReferenceDictionary
()[
"none_extension"
]
# --------------- FAKE DATA SET ---------------------
reference
=
"test_dataset"
...
...
@@ -17,8 +21,19 @@ if len(result) is 0:
title
=
"Fake Data for test"
)
data_set
.
validate
()
reference
=
REFERENCE_SEPARATOR
.
join
([
reference
,
"fake_data"
,
NONE
])
# --------------- FAKE DATA STREAM ---------------------
portal_type
=
"Data Stream"
data_stream
=
portal
.
data_stream_module
.
newContent
(
portal_type
=
portal_type
,
reference
=
reference
,
title
=
"Fake Data for test"
)
data_stream
.
validate
()
# --------------- FAKE DATA DESCRIPTOR ---------------------
reference
=
"test_dataset_fake_data_descriptor"
portal_type
=
"Data Descriptor"
data_descriptor
=
portal
.
data_descriptor_module
.
newContent
(
...
...
bt5/erp5_wendelin_telecom_UI/PathTemplateItem/portal_tests/telecom_renderjs_ui_zuite/testRenderjsBasicNavigation.zpt
View file @
b88fed74
...
...
@@ -43,6 +43,35 @@
<td>
refresh
</td>
<td></td>
</tr>
<!-- Check home page -->
<!-- Wait for gadget to be loaded
<tr>
<td>waitForElementPresent</td>
<td>//div[@data-gadget-url='${base_url}/web_site_module/fif_data_runner/gadget_erp5_page_home.html']</td>
<td></td>
</tr>
<tr>
<td>waitForTextPresent</td>
<td>Big Data Sharing Platform</td>
<td></td>
</tr>
-->
<!-- Check data lake link
<tr>
<td>assertElementPresent</td>
<td>//div[@data-gadget-url='${base_url}/web_site_module/fif_data_runner/gadget_erp5_page_home.html']//a[text()='data sets list' and contains(@href, '?page=fifdata')]</td>
<td></td>
</tr>
-->
<!-- Follow data lake link
<tr>
<td>click</td>
<td>//div[@data-gadget-url='${base_url}/web_site_module/fif_data_runner/gadget_erp5_page_home.html']//a[text()='data sets list' and contains(@href, '?page=fifdata')]</td>
<td></td>
</tr>
-->
<!-- Check Dataset list -->
<tr>
<td>
waitForElementPresent
</td>
<td>
//div[@data-gadget-scope="field_listbox"]
</td>
...
...
@@ -121,7 +150,7 @@
<tr>
<td>
assertTextPresent
</td>
<td>
test_dataset
_fake_data_descriptor
</td>
<td>
test_dataset
/fake_data/none
</td>
<td></td>
</tr>
...
...
bt5/erp5_wendelin_telecom_UI/TestTemplateItem/portal_components/test.erp5.
wendelin.
testTelecomZeleniumCore.py
→
bt5/erp5_wendelin_telecom_UI/TestTemplateItem/portal_components/test.erp5.testTelecomZeleniumCore.py
View file @
b88fed74
File moved
bt5/erp5_wendelin_telecom_UI/TestTemplateItem/portal_components/test.erp5.
wendelin.
testTelecomZeleniumCore.xml
→
bt5/erp5_wendelin_telecom_UI/TestTemplateItem/portal_components/test.erp5.testTelecomZeleniumCore.xml
View file @
b88fed74
...
...
@@ -24,7 +24,13 @@
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
test.erp5.wendelin.testTelecomZeleniumCore
</string>
</value>
<value>
<string>
test.erp5.testTelecomZeleniumCore
</string>
</value>
</item>
<item>
<key>
<string>
language
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
...
...
bt5/erp5_wendelin_telecom_UI/bt/template_keep_last_workflow_history_only_path_list
View file @
b88fed74
portal_skins/erp5_ui_test/TelecomTestUI_*
image_module/fif_*
web_page_module/*fif_*
web_site_module/fif_data_runner
web_site_module/fif_data_runner/**
web_page_module/fif_*
web_page_module/gadget_fif_*
data_set_module/fake_dataset_for_UI_test
data_descriptor_module/fake_descriptor_for_UI_test
web_page_module/rjs_gadget_erp5_pt_form_dialog_js
\ No newline at end of file
bt5/erp5_wendelin_telecom_UI/bt/template_keep_path_list
0 → 100644
View file @
b88fed74
image_module/fif_*
\ No newline at end of file
bt5/erp5_wendelin_telecom_UI/bt/template_keep_workflow_path_list
View file @
b88fed74
portal_skins/erp5_ui_test/TelecomTestUI_*
image_module/fif_*
web_page_module/*fif_*
web_site_module/fif_data_runner
web_site_module/fif_data_runner/**
web_page_module/fif_*
web_page_module/gadget_fif_*
data_set_module/fake_dataset_for_UI_test
data_descriptor_module/fake_descriptor_for_UI_test
web_page_module/rjs_gadget_erp5_pt_form_dialog_js
\ No newline at end of file
bt5/erp5_wendelin_telecom_UI/bt/template_path_list
View file @
b88fed74
data_descriptor_module/fake_descriptor_for_UI_test
data_set_module/fake_dataset_for_UI_test
image_module/fif_*
portal_skins/erp5_ui_test/TelecomTestUI_*
portal_tests/telecom_renderjs_ui_zuite
portal_tests/telecom_renderjs_ui_zuite/*
...
...
bt5/erp5_wendelin_telecom_UI/bt/template_test_id_list
View file @
b88fed74
test.erp5.wendelin.testTelecomZeleniumCore
\ No newline at end of file
test.erp5.testTelecomZeleniumCore
\ 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