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
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Roque
erp5
Commits
f8c9c602
Commit
f8c9c602
authored
Jul 12, 2021
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
item_renderjs_ui_test: test graph editor on item tracking view
and also enable coding style on this bt
parent
701842fc
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
37 additions
and
14 deletions
+37
-14
bt5/erp5_item_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_item_tracking_zuite/testItemTrackingList.xml
.../renderjs_ui_item_tracking_zuite/testItemTrackingList.xml
+1
-1
bt5/erp5_item_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_item_tracking_zuite/testItemTrackingList.zpt
.../renderjs_ui_item_tracking_zuite/testItemTrackingList.zpt
+5
-5
bt5/erp5_item_renderjs_ui_test/SkinTemplateItem/portal_skins/erp5_item_renderjs_ui_test/ERP5Site_createItemRJSZuiteItemAndPackingList.py
..._ui_test/ERP5Site_createItemRJSZuiteItemAndPackingList.py
+0
-0
bt5/erp5_item_renderjs_ui_test/SkinTemplateItem/portal_skins/erp5_item_renderjs_ui_test/ERP5Site_createItemRJSZuiteItemAndPackingList.xml
...ui_test/ERP5Site_createItemRJSZuiteItemAndPackingList.xml
+1
-1
bt5/erp5_item_renderjs_ui_test/SkinTemplateItem/portal_skins/erp5_item_renderjs_ui_test/ERP5Site_deleteItemRJSZuiteData.py
..._item_renderjs_ui_test/ERP5Site_deleteItemRJSZuiteData.py
+0
-0
bt5/erp5_item_renderjs_ui_test/SkinTemplateItem/portal_skins/erp5_item_renderjs_ui_test/ERP5Site_deleteItemRJSZuiteData.xml
...item_renderjs_ui_test/ERP5Site_deleteItemRJSZuiteData.xml
+1
-1
bt5/erp5_item_renderjs_ui_test/SkinTemplateItem/portal_skins/erp5_item_renderjs_ui_test/Zuite_viewCommonTemplateForItemRenderjsUi.xml
...rjs_ui_test/Zuite_viewCommonTemplateForItemRenderjsUi.xml
+1
-1
bt5/erp5_item_renderjs_ui_test/SkinTemplateItem/portal_skins/erp5_item_renderjs_ui_test/Zuite_viewCommonTemplateForItemRenderjsUi.zpt
...rjs_ui_test/Zuite_viewCommonTemplateForItemRenderjsUi.zpt
+26
-3
bt5/erp5_item_renderjs_ui_test/bt/dependency_list
bt5/erp5_item_renderjs_ui_test/bt/dependency_list
+2
-1
bt5/erp5_item_renderjs_ui_test/bt/skip_coding_style_test
bt5/erp5_item_renderjs_ui_test/bt/skip_coding_style_test
+0
-1
No files found.
bt5/erp5_item_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_item_tracking_zuite/testItemTrackingList.xml
View file @
f8c9c602
...
...
@@ -50,7 +50,7 @@
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<unicode></unicode>
</value>
<value>
<unicode>
Test Item View Tracking List
</unicode>
</value>
</item>
</dictionary>
</pickle>
...
...
bt5/erp5_item_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_item_tracking_zuite/testItemTrackingList.zpt
View file @
f8c9c602
...
...
@@ -2,17 +2,17 @@
xmlns:metal=
"http://xml.zope.org/namespaces/metal"
>
<head>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
>
<title
>
Test Item View Tracking List
</title>
<title
tal:content=
"template/title"
>
</title>
</head>
<body>
<table
cellpadding=
"1"
cellspacing=
"1"
border=
"1"
>
<thead>
<tr><td
rowspan=
"1"
colspan=
"3"
>
TTest Item View Tracking List
/td>
</tr>
<tr><td
rowspan=
"1"
colspan=
"3"
tal:content=
"template/title"
><
/td></tr>
</thead><tbody>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForItemRenderjsUi/macros/init"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForItemRenderjsUi/macros/prepare_data"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForItemRenderjsUi/macros/view_item_tracking_list"
/>
<tal:block
metal:use-macro=
"here/Zuite_
view
CommonTemplateForItemRenderjsUi/macros/init"
/>
<tal:block
metal:use-macro=
"here/Zuite_
view
CommonTemplateForItemRenderjsUi/macros/prepare_data"
/>
<tal:block
metal:use-macro=
"here/Zuite_
view
CommonTemplateForItemRenderjsUi/macros/view_item_tracking_list"
/>
</tbody></table>
</body>
...
...
bt5/erp5_item_renderjs_ui_test/SkinTemplateItem/portal_skins/erp5_item_renderjs_ui_test/
ItemRJSZuite_crea
teItemAndPackingList.py
→
bt5/erp5_item_renderjs_ui_test/SkinTemplateItem/portal_skins/erp5_item_renderjs_ui_test/
ERP5Site_createItemRJSZui
teItemAndPackingList.py
View file @
f8c9c602
File moved
bt5/erp5_item_renderjs_ui_test/SkinTemplateItem/portal_skins/erp5_item_renderjs_ui_test/
ItemRJSZuite_crea
teItemAndPackingList.xml
→
bt5/erp5_item_renderjs_ui_test/SkinTemplateItem/portal_skins/erp5_item_renderjs_ui_test/
ERP5Site_createItemRJSZui
teItemAndPackingList.xml
View file @
f8c9c602
...
...
@@ -54,7 +54,7 @@
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
ItemRJSZuite_crea
teItemAndPackingList
</string>
</value>
<value>
<string>
ERP5Site_createItemRJSZui
teItemAndPackingList
</string>
</value>
</item>
</dictionary>
</pickle>
...
...
bt5/erp5_item_renderjs_ui_test/SkinTemplateItem/portal_skins/erp5_item_renderjs_ui_test/
ItemRJSZuite_dele
teData.py
→
bt5/erp5_item_renderjs_ui_test/SkinTemplateItem/portal_skins/erp5_item_renderjs_ui_test/
ERP5Site_deleteItemRJSZui
teData.py
View file @
f8c9c602
File moved
bt5/erp5_item_renderjs_ui_test/SkinTemplateItem/portal_skins/erp5_item_renderjs_ui_test/
ItemRJSZuite_dele
teData.xml
→
bt5/erp5_item_renderjs_ui_test/SkinTemplateItem/portal_skins/erp5_item_renderjs_ui_test/
ERP5Site_deleteItemRJSZui
teData.xml
View file @
f8c9c602
...
...
@@ -54,7 +54,7 @@
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
ItemRJSZuite_dele
teData
</string>
</value>
<value>
<string>
ERP5Site_deleteItemRJSZui
teData
</string>
</value>
</item>
</dictionary>
</pickle>
...
...
bt5/erp5_item_renderjs_ui_test/SkinTemplateItem/portal_skins/erp5_item_renderjs_ui_test/Zuite_CommonTemplateForItemRenderjsUi.xml
→
bt5/erp5_item_renderjs_ui_test/SkinTemplateItem/portal_skins/erp5_item_renderjs_ui_test/Zuite_
view
CommonTemplateForItemRenderjsUi.xml
View file @
f8c9c602
...
...
@@ -63,7 +63,7 @@
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
Zuite_CommonTemplateForItemRenderjsUi
</string>
</value>
<value>
<string>
Zuite_
view
CommonTemplateForItemRenderjsUi
</string>
</value>
</item>
<item>
<key>
<string>
output_encoding
</string>
</key>
...
...
bt5/erp5_item_renderjs_ui_test/SkinTemplateItem/portal_skins/erp5_item_renderjs_ui_test/Zuite_CommonTemplateForItemRenderjsUi.zpt
→
bt5/erp5_item_renderjs_ui_test/SkinTemplateItem/portal_skins/erp5_item_renderjs_ui_test/Zuite_
view
CommonTemplateForItemRenderjsUi.zpt
View file @
f8c9c602
...
...
@@ -21,7 +21,7 @@
</tr>
<tr>
<td>open</td>
<td>${base_url}/
ItemRJSZuite_dele
teData</td>
<td>${base_url}/
ERP5Site_deleteItemRJSZui
teData</td>
<td></td>
</tr>
<tr>
...
...
@@ -35,13 +35,13 @@
</tal:block>
<tal:block metal:define-macro="prepare_data">
<tal:block metal:use-macro="here/Zuite_CommonTemplateForItemRenderjsUi/macros/delete_data" />
<tal:block metal:use-macro="here/Zuite_
view
CommonTemplateForItemRenderjsUi/macros/delete_data" />
<tr>
<td colspan="3"><b>Create Item Test Data</b></td>
</tr>
<tr>
<td>open</td>
<td>${base_url}/
ItemRJSZuite_crea
teItemAndPackingList</td>
<td>${base_url}/
ERP5Site_createItemRJSZui
teItemAndPackingList</td>
<td></td>
</tr>
<tr>
...
...
@@ -86,6 +86,29 @@
<td>Purchase Packing List Line</td>
<td></td>
</tr>
<!-- Graph editor to visualize tracking -->
<tr>
<td>waitForElementPresent</td>
<td>//div[@data-gadget-scope="field_my_jsplumb_graph"]//iframe</td>
<td></td>
</tr>
<tr>
<td>selectFrame</td>
<td>//div[@data-gadget-scope="field_my_jsplumb_graph"]//iframe</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//div[contains(@class, "node")][2]</td>
<td></td>
</tr>
<tr>
<td>selectFrame</td>
<td>relative=top</td>
<td></td>
</tr>
<tal:block tal:define="click_configuration python: {'text': 'Sale Packing List Line'}">
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/click_on_page_link" />
</tal:block>
...
...
bt5/erp5_item_renderjs_ui_test/bt/dependency_list
View file @
f8c9c602
erp5_item
erp5_web_renderjs_ui_test
\ No newline at end of file
erp5_web_renderjs_ui_test
erp5_graph_editor
\ No newline at end of file
bt5/erp5_item_renderjs_ui_test/bt/skip_coding_style_test
deleted
100644 → 0
View file @
701842fc
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