Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5_fork
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Eteri
erp5_fork
Commits
12e2a3ea
Commit
12e2a3ea
authored
Jul 24, 2014
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Test folder workflow action on a module containing multiple portal types
parent
2b65b83c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
172 additions
and
1 deletion
+172
-1
bt5/erp5_ui_test/PathTemplateItem/portal_tests/page_templates_zuite/testFolderWorkflowActionMultiplePortalType.xml
...ates_zuite/testFolderWorkflowActionMultiplePortalType.xml
+171
-0
bt5/erp5_ui_test/bt/revision
bt5/erp5_ui_test/bt/revision
+1
-1
No files found.
bt5/erp5_ui_test/PathTemplateItem/portal_tests/page_templates_zuite/testFolderWorkflowActionMultiplePortalType.xml
0 → 100644
View file @
12e2a3ea
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ZopePageTemplate"
module=
"Products.PageTemplates.ZopePageTemplate"
/>
</pickle>
<pickle>
<dictionary>
<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_subpath
</string>
</key>
<value>
<string>
traverse_subpath
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
_text
</string>
</key>
<value>
<unicode
encoding=
"cdata"
>
<![CDATA[
<html xmlns:tal="http://xml.zope.org/namespaces/tal"\n
xmlns:metal="http://xml.zope.org/namespaces/metal">
\n
<head>
\n
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
>
\n
<title>
Test Folder Workflow Action on a Module with Multiple Portal Types
</title>
\n
</head>
\n
<body>
\n
<table
cellpadding=
"1"
cellspacing=
"1"
border=
"1"
>
\n
<thead>
\n
<tr><td
rowspan=
"1"
colspan=
"3"
>
Test Folder Workflow Action on a Module with Multiple Portal Types
</td></tr>
\n
</thead><tbody>
\n
<tal:block
metal:use-macro=
"here/PTZuite_CommonTemplate/macros/init"
/>
\n
<tr>
\n
<td>
open
</td>
\n
<td>
${base_url}/foo_bar_module/FooBarModule_createObjects?num:int=2
&
start:int=1
</td>
\n
<td></td>
\n
</tr>
\n
<tr>
\n
<td>
assertTextPresent
</td>
\n
<td>
Created Successfully.
</td>
\n
<td></td>
\n
</tr>
\n
<tr>
\n
<td>
open
</td>
\n
<td>
${base_url}/foo_bar_module/Zuite_waitForActivities
</td>
\n
<td></td>
\n
</tr>
\n
<tr>
\n
<td>
assertTextPresent
</td>
\n
<td>
Done.
</td>
\n
<td></td>
\n
</tr>
\n
<tr>
\n
<td>
open
</td>
\n
<td
tal:content=
"string: ${here/portal_url}/foo_bar_module/view"
>
/erp5/foo_bar_module/view
</td>
\n
<td></td>
\n
</tr>
\n
<tr>
\n
<td>
selectAndWait
</td>
\n
<td>
select_action
</td>
\n
<td>
Change State
</td>
\n
</tr>
\n
\n
<!-- we have a listbox with too lines, one for bars one for foos -->
\n
<tr>
\n
<td>
assertText
</td>
\n
<td>
//span[@class="listbox-current-page-total-number workflow_action_listbox-current-page-total-number"]
</td>
\n
<td>
2 records
</td>
\n
</tr>
\n
\n
<tr>
\n
<td>
select
</td>
\n
<td>
//tr[@class=\'workflow_action_listbox-data-line-0 DataA\']/td[5]/select
</td>
\n
<td>
label=Validate Action
</td>
\n
</tr>
\n
\n
<tr>
\n
<td>
clickAndWait
</td>
\n
<td>
Base_callDialogMethod:method
</td>
\n
<td></td>
\n
</tr>
\n
<tr>
\n
<td>
clickAndWait
</td>
\n
<td>
Base_callDialogMethod:method
</td>
\n
<td></td>
\n
</tr>
\n
<tr>
\n
<td>
assertPortalStatusMessage
</td>
\n
<td>
Workflow modification in progress.
</td>
\n
<td></td>
\n
</tr>
\n
<tr>
\n
<td>
open
</td>
\n
<td>
${base_url}/foo_bar_module/Zuite_waitForActivities
</td>
\n
<td></td>
\n
</tr>
\n
<tr>
\n
<td>
assertTextPresent
</td>
\n
<td>
Done.
</td>
\n
<td></td>
\n
</tr>
\n
\n
<tr>
\n
<td>
open
</td>
\n
<td>
${base_url}/foo_bar_module/bar_1/getSimulationState
</td>
\n
<td></td>
\n
</tr>
\n
<tr>
\n
<td>
assertTextPresent
</td>
\n
<td>
validated
</td>
\n
<td></td>
\n
</tr>
\n
<tr>
\n
<td>
open
</td>
\n
<td>
${base_url}/foo_bar_module/bar_2/getSimulationState
</td>
\n
<td></td>
\n
</tr>
\n
<tr>
\n
<td>
assertTextPresent
</td>
\n
<td>
validated
</td>
\n
<td></td>
\n
</tr>
\n
\n
\n
</body>
\n
</html>
]]>
</unicode>
</value>
</item>
<item>
<key>
<string>
content_type
</string>
</key>
<value>
<string>
text/html
</string>
</value>
</item>
<item>
<key>
<string>
expand
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
testFolderWorkflowActionMultiplePortalType
</string>
</value>
</item>
<item>
<key>
<string>
output_encoding
</string>
</key>
<value>
<string>
utf-8
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<unicode></unicode>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_ui_test/bt/revision
View file @
12e2a3ea
72
0
72
1
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