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
Labels
Merge Requests
7
Merge Requests
7
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
Jérome Perrin
erp5
Commits
eb8ac1ed
Commit
eb8ac1ed
authored
Apr 17, 2018
by
Ayush Tiwari
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[erp5_pdm_renderjs_ui_test]: Add macros to test correct links on stock view
parent
ad8ab2f0
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
53 additions
and
0 deletions
+53
-0
bt5/erp5_pdm_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_stock_browser_zuite/testConfirmedState.zpt
...ts/renderjs_ui_stock_browser_zuite/testConfirmedState.zpt
+2
-0
bt5/erp5_pdm_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_stock_browser_zuite/testDeliveredState.zpt
...ts/renderjs_ui_stock_browser_zuite/testDeliveredState.zpt
+2
-0
bt5/erp5_pdm_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_stock_browser_zuite/testOrderedState.zpt
...ests/renderjs_ui_stock_browser_zuite/testOrderedState.zpt
+2
-0
bt5/erp5_pdm_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_stock_browser_zuite/testPlannedState.zpt
...ests/renderjs_ui_stock_browser_zuite/testPlannedState.zpt
+2
-0
bt5/erp5_pdm_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_stock_browser_zuite/testReadyState.zpt
..._tests/renderjs_ui_stock_browser_zuite/testReadyState.zpt
+2
-0
bt5/erp5_pdm_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_stock_browser_zuite/testStartedState.zpt
...ests/renderjs_ui_stock_browser_zuite/testStartedState.zpt
+2
-0
bt5/erp5_pdm_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_stock_browser_zuite/testStoppedState.zpt
...ests/renderjs_ui_stock_browser_zuite/testStoppedState.zpt
+2
-0
bt5/erp5_pdm_renderjs_ui_test/SkinTemplateItem/portal_skins/erp5_pdm_renderjs_ui_test/PdmZuite_CommonTemplateForRenderjsUi.zpt
...renderjs_ui_test/PdmZuite_CommonTemplateForRenderjsUi.zpt
+39
-0
No files found.
bt5/erp5_pdm_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_stock_browser_zuite/testConfirmedState.zpt
View file @
eb8ac1ed
...
...
@@ -41,6 +41,8 @@ Test stock browser for confirmed state
<tal:block
metal:use-macro=
"here/PdmZuite_checkStockBrowserForRenderjsUi/macros/check_total_for_inventory"
/>
</tal:block>
<tal:block
metal:use-macro=
"here/PdmZuite_CommonTemplateForRenderjsUi/macros/check_links_for_stocks"
/>
<!-- Check the links in hardcoded way -->
<!-- TODO: If possible, move to micros -->
<tr>
...
...
bt5/erp5_pdm_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_stock_browser_zuite/testDeliveredState.zpt
View file @
eb8ac1ed
...
...
@@ -41,6 +41,8 @@ Test stock browser for confirmed state
<tal:block
metal:use-macro=
"here/PdmZuite_checkStockBrowserForRenderjsUi/macros/check_total_for_inventory"
/>
</tal:block>
<tal:block
metal:use-macro=
"here/PdmZuite_CommonTemplateForRenderjsUi/macros/check_links_for_stocks"
/>
<!-- Check the links in hardcoded way -->
<!-- TODO: If possible, move to micros -->
<tr>
...
...
bt5/erp5_pdm_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_stock_browser_zuite/testOrderedState.zpt
View file @
eb8ac1ed
...
...
@@ -41,6 +41,8 @@ Test stock browser for confirmed state
<tal:block
metal:use-macro=
"here/PdmZuite_checkStockBrowserForRenderjsUi/macros/check_total_for_inventory"
/>
</tal:block>
<tal:block
metal:use-macro=
"here/PdmZuite_CommonTemplateForRenderjsUi/macros/check_links_for_stocks"
/>
<!-- Check the links in hardcoded way -->
<!-- TODO: If possible, move to micros -->
<tr>
...
...
bt5/erp5_pdm_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_stock_browser_zuite/testPlannedState.zpt
View file @
eb8ac1ed
...
...
@@ -41,6 +41,8 @@ Test stock browser for confirmed state
<tal:block
metal:use-macro=
"here/PdmZuite_checkStockBrowserForRenderjsUi/macros/check_total_for_inventory"
/>
</tal:block>
<tal:block
metal:use-macro=
"here/PdmZuite_CommonTemplateForRenderjsUi/macros/check_links_for_stocks"
/>
<!-- Check the links in hardcoded way -->
<!-- TODO: If possible, move to micros -->
<tr>
...
...
bt5/erp5_pdm_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_stock_browser_zuite/testReadyState.zpt
View file @
eb8ac1ed
...
...
@@ -41,6 +41,8 @@ Test stock browser for confirmed state
<tal:block
metal:use-macro=
"here/PdmZuite_checkStockBrowserForRenderjsUi/macros/check_total_for_inventory"
/>
</tal:block>
<tal:block
metal:use-macro=
"here/PdmZuite_CommonTemplateForRenderjsUi/macros/check_links_for_stocks"
/>
<!-- Check the links in hardcoded way -->
<!-- TODO: If possible, move to micros -->
<tr>
...
...
bt5/erp5_pdm_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_stock_browser_zuite/testStartedState.zpt
View file @
eb8ac1ed
...
...
@@ -41,6 +41,8 @@ Test stock browser for confirmed state
<tal:block
metal:use-macro=
"here/PdmZuite_checkStockBrowserForRenderjsUi/macros/check_total_for_inventory"
/>
</tal:block>
<tal:block
metal:use-macro=
"here/PdmZuite_CommonTemplateForRenderjsUi/macros/check_links_for_stocks"
/>
<!-- Check the links in hardcoded way -->
<!-- TODO: If possible, move to micros -->
<tr>
...
...
bt5/erp5_pdm_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_stock_browser_zuite/testStoppedState.zpt
View file @
eb8ac1ed
...
...
@@ -41,6 +41,8 @@ Test stock browser for confirmed state
<tal:block
metal:use-macro=
"here/PdmZuite_checkStockBrowserForRenderjsUi/macros/check_total_for_inventory"
/>
</tal:block>
<tal:block
metal:use-macro=
"here/PdmZuite_CommonTemplateForRenderjsUi/macros/check_links_for_stocks"
/>
<!-- Check the links in hardcoded way -->
<!-- TODO: If possible, move to micros -->
<tr>
...
...
bt5/erp5_pdm_renderjs_ui_test/SkinTemplateItem/portal_skins/erp5_pdm_renderjs_ui_test/PdmZuite_CommonTemplateForRenderjsUi.zpt
View file @
eb8ac1ed
...
...
@@ -102,6 +102,45 @@
</tr>
</tal:block>
<tal:block metal:define-macro="check_links_for_stocks">
<tr>
<td colspan="3"><b>Check Correct Links For Stock View</b></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//div[@data-gadget-scope='field_listbox']//table/tbody/tr[1]/td[1]/a</td>
<td></td>
</tr>
<tr>
<td>verifyValue</td>
<td>//div[@data-gadget-scope='field_listbox']//table/tbody/tr[1]/td[1]/a/@href</td>
<td>regexp:.*push_history.*</td>
</tr>
<tr>
<td>verifyValue</td>
<td>//div[@data-gadget-scope='field_listbox']//table/tbody/tr[1]/td[1]/a/@href</td>
<td>regexp:.*view_movement_history.*</td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//div[@data-gadget-scope='field_listbox']//table/tbody/tr[2]/td[1]/a</td>
<td></td>
</tr>
<tr>
<td>verifyValue</td>
<td>//div[@data-gadget-scope='field_listbox']//table/tbody/tr[2]/td[1]/a/@href</td>
<td>regexp:.*push_history.*</td>
</tr>
<tr>
<td>verifyValue</td>
<td>//div[@data-gadget-scope='field_listbox']//table/tbody/tr[2]/td[1]/a/@href</td>
<td>regexp:.*view_movement_history.*</td>
</tr>
<tr>
<td colspan="3"><p></p></td>
</tr>
</tal:block>
<tal:block metal:define-macro="check_links">
<tr>
<td colspan="3"><b>Check Correct Links For Sale Packing List</b></td>
...
...
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