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
0
Issues
0
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
Klaus Wölfel
erp5
Commits
eb49b3f4
Commit
eb49b3f4
authored
Jan 29, 2018
by
Tomáš Peterka
Committed by
Tomáš Peterka
Jan 29, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[accounting_report_ui_test] Other-Parties report clears caches before running
parent
f4badab6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
bt5/erp5_accounting_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_accounting_report_zuite/test_restricted_skin_selection.zpt
...ccounting_report_zuite/test_restricted_skin_selection.zpt
+1
-2
bt5/erp5_accounting_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_accounting_report_zuite/test_third_parties.zpt
...enderjs_ui_accounting_report_zuite/test_third_parties.zpt
+6
-1
No files found.
bt5/erp5_accounting_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_accounting_report_zuite/test_restricted_skin_selection.zpt
View file @
eb49b3f4
...
...
@@ -3,7 +3,7 @@
<body>
<table
cellpadding=
"1"
cellspacing=
"1"
border=
"1"
>
<thead>
<tr><th
rowspan=
"1"
colspan=
"
4
"
>
<tr><th
rowspan=
"1"
colspan=
"
3
"
>
Check that use gets notified if they are using wrong 'Report Style' (UI) Preference.
</th></tr>
</thead>
...
...
@@ -38,7 +38,6 @@ Check that use gets notified if they are using wrong 'Report Style' (UI) Prefere
<td>
//div[@data-gadget-url="${renderjs_url}/gadget_erp5_page_form.html"]//input[@type="submit"]
</td><td></td></tr>
<tr><td>
click
</td>
<td>
//div[@data-gadget-url="${renderjs_url}/gadget_erp5_page_form.html"]//input[@type="submit"]
</td><td></td></tr>
<!-- Now we should get somehow notified about wrong skin selection.
At the beginning it was implemented as Form Message because the error is on a hidden field. -->
<tr><td>
waitForElementPresent
</td>
...
...
bt5/erp5_accounting_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_accounting_report_zuite/test_third_parties.zpt
View file @
eb49b3f4
...
...
@@ -15,6 +15,11 @@ Copy of unittest <a href="https://lab.nexedi.com/nexedi/erp5/blob/master/product
<tal:block
metal:use-macro=
"here/AccountingZuite_CommonTemplate/macros/init"
/>
<tr><td>
open
</td>
<td>
${base_url}/portal_caches/manage_clearAllCache
</td><td></td></tr>
<tr><td>
assertElementPresent
</td>
<td>
//div[@class="system-msg" and contains(text(), "All cache factories cleared")]
</td><td></td></tr>
<tr><td>
store
</td><td
tal:content=
"python: '{:0>#2d}'.format(now.day())"
></td><td>
day
</td></tr>
<tr><td>
store
</td><td
tal:content=
"python: '{:0>#2d}'.format(now.month())"
></td><td>
month
</td></tr>
<tr><td>
store
</td><td
tal:content=
"python: now.year()"
></td><td>
year
</td></tr>
...
...
@@ -51,9 +56,9 @@ Copy of unittest <a href="https://lab.nexedi.com/nexedi/erp5/blob/master/product
<tr><td>
click
</td>
<!-- Uncheck because it is checked by default -->
<td>
//input[@type="checkbox" and @name="field_your_omit_balanced_accounts"]
</td><td></td></tr>
<tr><th
colspan=
"3"
>
Zero-out simulation_state to just 'delivered'
<th></tr>
<tr><td>
waitForElementPresent
</td>
<td>
//div[@data-gadget-scope="field_your_simulation_state"]/div/div[1]//select
</td><td></td></tr>
<!-- we need to zero-out simulation_state to just 'delivered' -->
<tal:block
tal:repeat=
"_ python:range(4)"
>
<!-- There is by default just few simulation states -->
<!-- we take advantage of dissapearing elements when selecting one empty -->
<tr><td>
select
</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