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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Sebastien Robin
erp5
Commits
6ff0893f
Commit
6ff0893f
authored
Aug 16, 2019
by
Yusei Tahara
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[erp5_accounting_ui_test] Fix test_accounting_transaction_template.
parent
b58995c9
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
88 additions
and
2 deletions
+88
-2
bt5/erp5_accounting_ui_test/PathTemplateItem/portal_tests/accounting_zuite/test_accounting_transaction_template/test_template.zpt
...te/test_accounting_transaction_template/test_template.zpt
+22
-2
bt5/erp5_accounting_ui_test/SkinTemplateItem/portal_skins/erp5_accounting_ui_test/AccountingZuite_deleteAccountingTransactionTemplate.py
...st/AccountingZuite_deleteAccountingTransactionTemplate.py
+4
-0
bt5/erp5_accounting_ui_test/SkinTemplateItem/portal_skins/erp5_accounting_ui_test/AccountingZuite_deleteAccountingTransactionTemplate.xml
...t/AccountingZuite_deleteAccountingTransactionTemplate.xml
+62
-0
No files found.
bt5/erp5_accounting_ui_test/PathTemplateItem/portal_tests/accounting_zuite/test_accounting_transaction_template/test_template.zpt
View file @
6ff0893f
...
...
@@ -8,7 +8,22 @@ Test Accounting Transaction Template
</td></tr>
</thead><tbody
tal:define=
"init_method string:AccountingZuite_initializeAccountingTransactionTemplateTest"
>
<tal:block
metal:use-macro=
"here/AccountingZuite_CommonTemplate/macros/init"
/>
<!-- Delete existing accounting transaction templates -->
<tr>
<td>
open
</td>
<td>
${base_url}/AccountingZuite_deleteAccountingTransactionTemplate
</td>
<td></td>
</tr>
<tr>
<td>
assertTextPresent
</td>
<td>
Done.
</td>
<td></td>
</tr>
<tr>
<td>
open
</td>
<td>
${base_url}
</td>
<td></td>
</tr>
<!-- Setup {{{ -->
<tr>
<td>
selectAndWait
</td>
...
...
@@ -97,6 +112,11 @@ Test Accounting Transaction Template
<td>
select_action
</td>
<td>
label=Make a Template
</td>
</tr>
<tr>
<td>
clickAndWait
</td>
<td>
id=dialog_submit_button
</td>
<td></td>
</tr>
<tr>
<td>
open
</td>
<td>
${base_url}/Zuite_waitForActivities
</td>
...
...
bt5/erp5_accounting_ui_test/SkinTemplateItem/portal_skins/erp5_accounting_ui_test/AccountingZuite_deleteAccountingTransactionTemplate.py
0 → 100644
View file @
6ff0893f
preference
=
context
.
portal_preferences
.
getActivePreference
()
preference
.
manage_delObjects
(
ids
=
[
temp
.
getId
()
for
temp
in
preference
.
Preference_getTemplateList
()])
return
'Done.'
bt5/erp5_accounting_ui_test/SkinTemplateItem/portal_skins/erp5_accounting_ui_test/AccountingZuite_deleteAccountingTransactionTemplate.xml
0 → 100644
View file @
6ff0893f
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"PythonScript"
module=
"Products.PythonScripts.PythonScript"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
Script_magic
</string>
</key>
<value>
<int>
3
</int>
</value>
</item>
<item>
<key>
<string>
_bind_names
</string>
</key>
<value>
<object>
<klass>
<global
name=
"NameAssignments"
module=
"Shared.DC.Scripts.Bindings"
/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key>
<string>
_asgns
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
name_container
</string>
</key>
<value>
<string>
container
</string>
</value>
</item>
<item>
<key>
<string>
name_context
</string>
</key>
<value>
<string>
context
</string>
</value>
</item>
<item>
<key>
<string>
name_m_self
</string>
</key>
<value>
<string>
script
</string>
</value>
</item>
<item>
<key>
<string>
name_subpath
</string>
</key>
<value>
<string>
traverse_subpath
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
_params
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
AccountingZuite_deleteAccountingTransactionTemplate
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
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