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
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Romain Courteaud
erp5
Commits
67819757
Commit
67819757
authored
Oct 03, 2019
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[erp5_accounting_renderjs_ui_test] up
parent
8b02aa83
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
78 additions
and
107 deletions
+78
-107
bt5/erp5_accounting_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_accounting_report_zuite/test_grouping_reference/test_group_dialog_filter_by_section_category.html.zpt
...nce/test_group_dialog_filter_by_section_category.html.zpt
+78
-107
No files found.
bt5/erp5_accounting_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_accounting_report_zuite/test_grouping_reference/test_group_dialog_filter_by_section_category.html.zpt
View file @
67819757
...
@@ -10,40 +10,35 @@ Filtering Grouping Dialog by section category
...
@@ -10,40 +10,35 @@ Filtering Grouping Dialog by section category
<!-- Setup {{{ -->
<!-- Setup {{{ -->
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForAccountingRenderjsUi/macros/init"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForAccountingRenderjsUi/macros/init"
/>
<tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/go_to_module_list"
/>
<td>
selectAndWait
</td>
<td>
select_module
</td>
<tal:block
tal:define=
"click_configuration python: {'text': 'Organisations'}"
>
<td>
Organisations
</td>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/click_on_page_link"
/>
</tr>
</tal:block>
<tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded"
/>
<td>
clickAndWait
</td>
<td>
Folder_show:method
</td>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/clear_query"
/>
<td></td>
</tr>
<tal:block
tal:define=
"search_query python: 'title: "Client 1"'"
>
<tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/search_in_form_list"
/>
<td>
type
</td>
</tal:block>
<!-- title -->
<td>
//tr[@class='listbox-search-line']/th[2]/input
</td>
<td>
Client 1
</td>
</tr>
<tr>
<td>
clickAndWait
</td>
<td>
//input[@class="listbox-select-action"]
</td>
<td></td>
</tr>
<!-- }}} -->
<!-- {{{ Select Client 1 Organisation and use grouping fast input -->
<!-- {{{ Select Client 1 Organisation and use grouping fast input -->
<tr>
<tal:block
tal:define=
"click_configuration python: {'text': 'Client 1'}"
>
<td>
clickAndWait
</td>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/click_on_page_link"
/>
<td>
link=Client 1
</td>
</tal:block>
<td></td>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded"
/>
</tr>
<tr>
<tal:block
tal:define=
"click_configuration python: {'text': 'Actions'}"
>
<td>
clickAndWait
</td>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/click_on_header_link"
/>
<td>
//img[@alt='Grouping Reference Fast Input']
</td>
</tal:block>
<td></td>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded"
/>
</tr>
<tal:block
tal:define=
"click_configuration python: {'text': 'Grouping Reference Fast Input'}"
>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/click_on_page_link"
/>
</tal:block>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded"
/>
<!-- The mode should be 'grouping' by default -->
<!-- The mode should be 'grouping' by default -->
<tr>
<tr>
...
@@ -72,21 +67,17 @@ Filtering Grouping Dialog by section category
...
@@ -72,21 +67,17 @@ Filtering Grouping Dialog by section category
<td>
field_your_node
</td>
<td>
field_your_node
</td>
<td>
label=41 - Receivable
</td>
<td>
label=41 - Receivable
</td>
</tr>
</tr>
<tr>
<td>
clickAndWait
</td>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/update_dialog"
/>
<td>
//button[@id="dialog_update_button"]
</td>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded"
/>
<td></td>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded"
/>
</tr>
<tal:block
tal:define=
"pagination_configuration python: {'header': '(2)', 'footer': '2 Records'}"
>
<tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/check_listbox_pagination_text"
/>
<td>
assertPortalStatusMessage
</td>
</tal:block>
<td>
Updated
</td>
<tal:block
tal:define=
"notification_configuration python: {'class': 'success',
<td></td>
'text': 'Updated'}"
>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_notification"
/>
<tr>
</tal:block>
<td>
assertText
</td>
<td>
//span[@class="listbox-current-page-total-number"]
</td>
<td>
2 records
</td>
</tr>
<!-- "My Organisation" belongs to Demo Group/Subsidiairy #1, if we select Demo Group we have two transactions. -->
<!-- "My Organisation" belongs to Demo Group/Subsidiairy #1, if we select Demo Group we have two transactions. -->
<tr>
<tr>
...
@@ -94,21 +85,16 @@ Filtering Grouping Dialog by section category
...
@@ -94,21 +85,16 @@ Filtering Grouping Dialog by section category
<td>
field_your_section_category
</td>
<td>
field_your_section_category
</td>
<td>
label=Demo Group/Subsidiairy #1
</td>
<td>
label=Demo Group/Subsidiairy #1
</td>
</tr>
</tr>
<tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/update_dialog"
/>
<td>
clickAndWait
</td>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded"
/>
<td>
//button[@id="dialog_update_button"]
</td>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded"
/>
<td></td>
<tal:block
tal:define=
"pagination_configuration python: {'header': '(2)', 'footer': '2 Records'}"
>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/check_listbox_pagination_text"
/>
<tr>
</tal:block>
<td>
assertPortalStatusMessage
</td>
<tal:block
tal:define=
"notification_configuration python: {'class': 'success',
<td>
Updated
</td>
'text': 'Updated'}"
>
<td></td>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_notification"
/>
</tr>
</tal:block>
<tr>
<td>
assertText
</td>
<td>
//span[@class="listbox-current-page-total-number"]
</td>
<td>
2 records
</td>
</tr>
<!-- select Demo Group strict we have no transactions. -->
<!-- select Demo Group strict we have no transactions. -->
...
@@ -122,21 +108,16 @@ Filtering Grouping Dialog by section category
...
@@ -122,21 +108,16 @@ Filtering Grouping Dialog by section category
<td>
field_your_section_category_strict
</td>
<td>
field_your_section_category_strict
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/update_dialog"
/>
<td>
clickAndWait
</td>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded"
/>
<td>
//button[@id="dialog_update_button"]
</td>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded"
/>
<td></td>
<tal:block
tal:define=
"pagination_configuration python: {'header': '(0)', 'footer': '0 Records'}"
>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/check_listbox_pagination_text"
/>
<tr>
</tal:block>
<td>
assertPortalStatusMessage
</td>
<tal:block
tal:define=
"notification_configuration python: {'class': 'success',
<td>
Updated
</td>
'text': 'Updated'}"
>
<td></td>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_notification"
/>
</tr>
</tal:block>
<tr>
<td>
assertText
</td>
<td>
//span[@class="listbox-current-page-total-number"]
</td>
<td>
0 records
</td>
</tr>
<!-- select Demo Group non strict we have two transactions. -->
<!-- select Demo Group non strict we have two transactions. -->
<tr>
<tr>
...
@@ -154,21 +135,16 @@ Filtering Grouping Dialog by section category
...
@@ -154,21 +135,16 @@ Filtering Grouping Dialog by section category
<td>
field_your_section_category_strict
</td>
<td>
field_your_section_category_strict
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/update_dialog"
/>
<td>
clickAndWait
</td>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded"
/>
<td>
//button[@id="dialog_update_button"]
</td>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded"
/>
<td></td>
<tal:block
tal:define=
"pagination_configuration python: {'header': '(2)', 'footer': '2 Records'}"
>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/check_listbox_pagination_text"
/>
<tr>
</tal:block>
<td>
assertPortalStatusMessage
</td>
<tal:block
tal:define=
"notification_configuration python: {'class': 'success',
<td>
Updated
</td>
'text': 'Updated'}"
>
<td></td>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_notification"
/>
</tr>
</tal:block>
<tr>
<td>
assertText
</td>
<td>
//span[@class="listbox-current-page-total-number"]
</td>
<td>
2 records
</td>
</tr>
<!-- select Demo Group/Subsidiairy #2 we have no transactions. -->
<!-- select Demo Group/Subsidiairy #2 we have no transactions. -->
<tr>
<tr>
...
@@ -176,21 +152,16 @@ Filtering Grouping Dialog by section category
...
@@ -176,21 +152,16 @@ Filtering Grouping Dialog by section category
<td>
field_your_section_category
</td>
<td>
field_your_section_category
</td>
<td>
label=Demo Group/Subsidiairy #2
</td>
<td>
label=Demo Group/Subsidiairy #2
</td>
</tr>
</tr>
<tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/update_dialog"
/>
<td>
clickAndWait
</td>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded"
/>
<td>
//button[@id="dialog_update_button"]
</td>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded"
/>
<td></td>
<tal:block
tal:define=
"pagination_configuration python: {'header': '(0)', 'footer': '0 Records'}"
>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/check_listbox_pagination_text"
/>
<tr>
</tal:block>
<td>
assertPortalStatusMessage
</td>
<tal:block
tal:define=
"notification_configuration python: {'class': 'success',
<td>
Updated
</td>
'text': 'Updated'}"
>
<td></td>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_notification"
/>
</tr>
</tal:block>
<tr>
<td>
assertText
</td>
<td>
//span[@class="listbox-current-page-total-number"]
</td>
<td>
0 records
</td>
</tr>
</tbody></table>
</tbody></table>
</body>
</body>
...
...
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