Commit 80df8d6e authored by Ivan Tyagov's avatar Ivan Tyagov

Add more tests.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@38507 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 7b1789a7
<?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> <string 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>Express Access Tab</title>\n
</head>\n
<body tal:define="file_name string:tiolive-ERP5.DMS.TioLive-001-en.odp;\n
full_filename_location python: here.Zuite_getFilenameLocation(file_name);\n
person_full_name string:DMS tester">\n
<table cellpadding="1" cellspacing="1" border="1">\n
<thead>\n
<tr><td rowspan="1" colspan="3">Attach Document</td></tr>\n
</thead><tbody>\n
\n
<tal:block metal:use-macro="here/Zuite_CommonTemplate/macros/init" />\n
\n
<tr>\n
<td>openAndWait</td>\n
<td>${base_url}/person_module/view?reset:int=1</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>clickAndWait</td>\n
<td>Folder_create:method</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>type</td>\n
<td>field_my_first_name</td>\n
<td>DMS</td>\n
</tr>\n
<tr>\n
<td>type</td>\n
<td>field_my_last_name</td>\n
<td>tester</td>\n
</tr>\n
<tr>\n
<td>clickAndWait</td>\n
<td>hidden_button</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>storeAttribute</td>\n
<td>//div[@id="breadcrumb"]/a[3]@href</td>\n
<td>person_url</td>\n
</tr>\n
<tr>\n
<td>clickAndWait</td>\n
<td>//img[@alt=\'Attach Document\']</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>type</td>\n
<td>field_your_file</td>\n
<td tal:content="full_filename_location"></td>\n
</tr>\n
<tr>\n
<td>type</td>\n
<td>field_your_title</td>\n
<td>test_title</td>\n
</tr>\n
<tr>\n
<td>type</td>\n
<td>field_your_short_title</td>\n
<td>test_short_title</td>\n
</tr>\n
<tr>\n
<td>type</td>\n
<td>field_your_description</td>\n
<td>test_description</td>\n
</tr>\n
<tr>\n
<td>clickAndWait</td>\n
<td>dialog_submit_button</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyTextPresent</td>\n
<td>Presentation</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyTextPresent</td>\n
<td>successfully</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyTextPresent</td>\n
<td tal:content="file_name"></td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyElementPresent</td>\n
<td>link=Documents</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyValue</td>\n
<td>field_my_reference</td>\n
<td>tiolive-ERP5.DMS.TioLive</td>\n
</tr>\n
<tr>\n
<td>verifyValue</td>\n
<td>field_my_title</td>\n
<td>test_title</td>\n
</tr>\n
<tr>\n
<td>verifyValue</td>\n
<td>field_my_short_title</td>\n
<td>test_short_title</td>\n
</tr>\n
<tr>\n
<td>verifyValue</td>\n
<td>field_my_description</td>\n
<td>test_description</td>\n
</tr>\n
<tr>\n
<td>verifyValue</td>\n
<td>field_my_follow_up_title_list</td>\n
<td tal:content="person_full_name"></td>\n
</tr>\n
<tr>\n
<td>verifyValue</td>\n
<td>field_my_language</td>\n
<td>en</td>\n
</tr>\n
<tr>\n
<td>verifyValue</td>\n
<td>field_my_version</td>\n
<td>001</td>\n
</tr>\n
<span metal:use-macro="container/Zuite_CommonTemplate/macros/wait_for_activities"> Wait for activities</span>\n
\n
<!-- Check Person has it in his Documents tab -->\n
<tr>\n
<td>openAndWait</td>\n
<td>${person_url}</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>clickAndWait</td>\n
<td>link=Documents</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyTextPresent</td>\n
<td>tiolive-ERP5.DMS.TioLive</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyTextPresent</td>\n
<td>test_description</td>\n
<td></td>\n
</tr>v\n
<tr>\n
<td>verifyTextPresent</td>\n
<td>test_title</td>\n
<td></td>\n
</tr>\n
\n
<span metal:use-macro="container/Zuite_CommonTemplate/macros/wait_for_activities">\n
Wait for activities</span>\n
\n
</tbody></table>\n
</body>\n
</html>
]]></string> </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>testAttachDocument</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?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> <string 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>Express Access Tab</title>\n
</head>\n
<body>\n
<table cellpadding="1" cellspacing="1" border="1">\n
<thead>\n
<tr><td rowspan="1" colspan="3">Contribute Tab</td></tr>\n
</thead><tbody>\n
\n
<tal:block metal:use-macro="here/Zuite_CommonTemplate/macros/init" />\n
\n
<!-- Contribute ODP document -->\n
<tr>\n
<td>openAndWait</td>\n
<td>${base_url}/view?erp5_site_selected_tab=contribution_tab</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>waitForCondition</td>\n
<td>selenium.isTextPresent("Project")</td>\n
<td>60000</td>\n
</tr>\n
<tr>\n
<td>type</td>\n
<td>file</td>\n
<td tal:content="python: here.Zuite_getFilenameLocation(\'tiolive-ERP5.Freedom.TioLive-001-en.odp\')"></td>\n
</tr>\n
<tr>\n
<td>clickAndWait</td>\n
<td>Base_contribute:method</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyValue</td>\n
<td>field_my_reference</td>\n
<td>tiolive-ERP5.Freedom.TioLive</td>\n
</tr>\n
<tr>\n
<td>verifyValue</td>\n
<td>field_my_title</td>\n
<td>TioLive, ERP5, Freedom</td>\n
</tr>\n
<tr>\n
<td>verifyValue</td>\n
<td>field_my_language</td>\n
<td>en</td>\n
</tr>\n
<tr>\n
<td>verifyValue</td>\n
<td>field_my_version</td>\n
<td>001</td>\n
</tr>\n
<tr>\n
<td>verifyTextPresent</td>\n
<td>tiolive-ERP5.Freedom.TioLive-001-en.odp</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyTextPresent</td>\n
<td>Presentation</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyTextPresent</td>\n
<td>Converted</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>storeLocation</td>\n
<td>document_location</td>\n
<td></td>\n
</tr>\n
\n
<span metal:use-macro="container/Zuite_CommonTemplate/macros/wait_for_activities">\n
Wait for activities</span>\n
\n
<!-- \n
Contributing it one more time should update existing document by reference, version, language \n
-->\n
<tr>\n
<td>openAndWait</td>\n
<td>${base_url}/view?erp5_site_selected_tab=contribution_tab</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>waitForCondition</td>\n
<td>selenium.isTextPresent("Project")</td>\n
<td>60000</td>\n
</tr>\n
<tr>\n
<td>type</td>\n
<td>file</td>\n
<td tal:content="python: here.Zuite_getFilenameLocation(\'tiolive-ERP5.Freedom.TioLive-001-en.odp\')"></td>\n
</tr>\n
<tr>\n
<td>clickAndWait</td>\n
<td>Base_contribute:method</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>assertLocation</td>\n
<td>${document_location}</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyTextPresent</td>\n
<td>Presentation updated successfully</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyValue</td>\n
<td>field_my_reference</td>\n
<td>tiolive-ERP5.Freedom.TioLive</td>\n
</tr>\n
<tr>\n
<td>verifyValue</td>\n
<td>field_my_title</td>\n
<td>TioLive, ERP5, Freedom</td>\n
</tr>\n
<tr>\n
<td>verifyValue</td>\n
<td>field_my_language</td>\n
<td>en</td>\n
</tr>\n
<tr>\n
<td>verifyValue</td>\n
<td>field_my_version</td>\n
<td>001</td>\n
</tr>\n
<tr>\n
<td>verifyTextPresent</td>\n
<td>tiolive-ERP5.Freedom.TioLive-001-en.odp</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyTextPresent</td>\n
<td>Presentation</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyTextPresent</td>\n
<td>Converted</td>\n
<td></td>\n
</tr>\n
\n
<!-- Contribute PDF -->\n
<tr>\n
<td>openAndWait</td>\n
<td>${base_url}/view?erp5_site_selected_tab=contribution_tab</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>waitForCondition</td>\n
<td>selenium.isTextPresent("Project")</td>\n
<td>60000</td>\n
</tr>\n
<tr>\n
<td>type</td>\n
<td>file</td>\n
<td tal:content="python: here.Zuite_getFilenameLocation(\'tiolive-ERP5.Freedom.TioLive.PDF-001-en.pdf\')"></td>\n
</tr>\n
<tr>\n
<td>clickAndWait</td>\n
<td>Base_contribute:method</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyValue</td>\n
<td>field_my_reference</td>\n
<td>tiolive-ERP5.Freedom.TioLive.PDF</td>\n
</tr>\n
<tr>\n
<td>verifyValue</td>\n
<td>field_my_title</td>\n
<td>TioLive, ERP5, Freedom</td>\n
</tr>\n
<tr>\n
<td>verifyValue</td>\n
<td>field_my_language</td>\n
<td>en</td>\n
</tr>\n
<tr>\n
<td>verifyValue</td>\n
<td>field_my_version</td>\n
<td>001</td>\n
</tr>\n
<tr>\n
<td>verifyTextPresent</td>\n
<td>PDF</td>\n
<td></td>\n
</tr>\n
\n
<!-- Contribute Image -->\n
<tr>\n
<td>openAndWait</td>\n
<td>${base_url}/view?erp5_site_selected_tab=contribution_tab</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>waitForCondition</td>\n
<td>selenium.isTextPresent("Project")</td>\n
<td>60000</td>\n
</tr>\n
<tr>\n
<td>type</td>\n
<td>file</td>\n
<td tal:content="python: here.Zuite_getFilenameLocation(\'tiolive-ERP5.Freedom.TioLive.Logo-001-en.png\')"></td>\n
</tr>\n
<tr>\n
<td>clickAndWait</td>\n
<td>Base_contribute:method</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyValue</td>\n
<td>field_my_reference</td>\n
<td>tiolive-ERP5.Freedom.TioLive.Logo</td>\n
</tr>\n
<tr>\n
<td>verifyValue</td>\n
<td>field_my_title</td>\n
<td>tiolive-ERP5.Freedom.TioLive.Logo-001-en</td>\n
</tr>\n
<tr>\n
<td>verifyValue</td>\n
<td>field_my_language</td>\n
<td>en</td>\n
</tr>\n
<tr>\n
<td>verifyValue</td>\n
<td>field_my_version</td>\n
<td>001</td>\n
</tr>\n
<tr>\n
<td>verifyTextPresent</td>\n
<td>Image Thumbnail</td>\n
<td></td>\n
</tr>\n
\n
<!-- Contribute Spreadsheet -->\n
<tr>\n
<td>openAndWait</td>\n
<td>${base_url}/view?erp5_site_selected_tab=contribution_tab</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>waitForCondition</td>\n
<td>selenium.isTextPresent("Project")</td>\n
<td>60000</td>\n
</tr>\n
<tr>\n
<td>type</td>\n
<td>file</td>\n
<td tal:content="python: here.Zuite_getFilenameLocation(\'tiolive-ERP5.Freedom.TioLive.Spreadsheet-001-en.ods\')"></td>\n
</tr>\n
<tr>\n
<td>clickAndWait</td>\n
<td>Base_contribute:method</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyValue</td>\n
<td>field_my_reference</td>\n
<td>tiolive-ERP5.Freedom.TioLive.Spreadsheet</td>\n
</tr>\n
<tr>\n
<td>verifyValue</td>\n
<td>field_my_title</td>\n
<td>TioLive Spreadsheet</td>\n
</tr>\n
<tr>\n
<td>verifyValue</td>\n
<td>field_my_language</td>\n
<td>en</td>\n
</tr>\n
<tr>\n
<td>verifyValue</td>\n
<td>field_my_version</td>\n
<td>001</td>\n
</tr>\n
<tr>\n
<td>verifyTextPresent</td>\n
<td>tiolive-ERP5.Freedom.TioLive.Spreadsheet-001-en.ods</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyTextPresent</td>\n
<td>Spreadsheet</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyTextPresent</td>\n
<td>Converted</td>\n
<td></td>\n
</tr>\n
\n
<!-- Contribute Drawing -->\n
<tr>\n
<td>openAndWait</td>\n
<td>${base_url}/view?erp5_site_selected_tab=contribution_tab</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>waitForCondition</td>\n
<td>selenium.isTextPresent("Project")</td>\n
<td>60000</td>\n
</tr>\n
<tr>\n
<td>type</td>\n
<td>file</td>\n
<td tal:content="python: here.Zuite_getFilenameLocation(\'tiolive-ERP5.Freedom.TioLive.Drawing-001-en.odg\')"></td>\n
</tr>\n
<tr>\n
<td>clickAndWait</td>\n
<td>Base_contribute:method</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyValue</td>\n
<td>field_my_reference</td>\n
<td>tiolive-ERP5.Freedom.TioLive.Drawing</td>\n
</tr>\n
<tr>\n
<td>verifyValue</td>\n
<td>field_my_title</td>\n
<td>TioLive Drawing</td>\n
</tr>\n
<tr>\n
<td>verifyValue</td>\n
<td>field_my_language</td>\n
<td>en</td>\n
</tr>\n
<tr>\n
<td>verifyValue</td>\n
<td>field_my_version</td>\n
<td>001</td>\n
</tr>\n
<tr>\n
<td>verifyTextPresent</td>\n
<td>tiolive-ERP5.Freedom.TioLive.Drawing-001-en.odg</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyTextPresent</td>\n
<td>Drawing</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyTextPresent</td>\n
<td>Converted</td>\n
<td></td>\n
</tr>\n
\n
<span metal:use-macro="container/Zuite_CommonTemplate/macros/wait_for_activities">\n
Wait for activities</span>\n
\n
</tbody></table>\n
</body>\n
</html>
]]></string> </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>testContributeTab</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?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> <string 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>Express Access Tab</title>\n
</head>\n
<body tal:define="file_name string:tiolive-ERP5.DMS.TioLive-001-en.odp;\n
full_filename_location python: here.Zuite_getFilenameLocation(file_name)">\n
<table cellpadding="1" cellspacing="1" border="1">\n
<thead>\n
<tr><td rowspan="1" colspan="3">Contribution Tool New File</td></tr>\n
</thead><tbody>\n
\n
<tal:block metal:use-macro="here/Zuite_CommonTemplate/macros/init" />\n
\n
<tr>\n
<td>openAndWait</td>\n
<td>${base_url}/portal_contributions/view</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>selectAndWait</td>\n
<td>select_action</td>\n
<td>label=Contribute File</td>\n
</tr>\n
<tr>\n
<td>type</td>\n
<td>field_your_file</td>\n
<td tal:content="full_filename_location"></td>\n
</tr>\n
<tr>\n
<td>clickAndWait</td>\n
<td>dialog_submit_button</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyTextPresent</td>\n
<td>Presentation</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyTextPresent</td>\n
<td>successfully</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyTextPresent</td>\n
<td tal:content="file_name"></td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyElementPresent</td>\n
<td>link=Documents</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyValue</td>\n
<td>field_my_reference</td>\n
<td>tiolive-ERP5.DMS.TioLive</td>\n
</tr>\n
<tr>\n
<td>verifyValue</td>\n
<td>field_my_title</td>\n
<td>TioLive, ERP5, Freedom</td>\n
</tr>\n
<tr>\n
<td>verifyValue</td>\n
<td>field_my_language</td>\n
<td>en</td>\n
</tr>\n
<tr>\n
<td>verifyValue</td>\n
<td>field_my_version</td>\n
<td>001</td>\n
</tr>\n
<span metal:use-macro="container/Zuite_CommonTemplate/macros/wait_for_activities">\n
Wait for activities</span>\n
<!-- check update with same filename -->\n
<tr>\n
<td>openAndWait</td>\n
<td>${base_url}/portal_contributions/view</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>selectAndWait</td>\n
<td>select_action</td>\n
<td>label=Contribute File</td>\n
</tr>\n
<tr>\n
<td>type</td>\n
<td>field_your_file</td>\n
<td tal:content="full_filename_location"></td>\n
</tr>\n
<tr>\n
<td>clickAndWait</td>\n
<td>dialog_submit_button</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyTextPresent</td>\n
<td>Presentation updated successfully</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyTextPresent</td>\n
<td tal:content="file_name"></td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyElementPresent</td>\n
<td>link=Documents</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyElementPresent</td>\n
<td>link=Documents</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyValue</td>\n
<td>field_my_reference</td>\n
<td>tiolive-ERP5.DMS.TioLive</td>\n
</tr>\n
<tr>\n
<td>verifyValue</td>\n
<td>field_my_title</td>\n
<td>TioLive, ERP5, Freedom</td>\n
</tr>\n
<tr>\n
<td>verifyValue</td>\n
<td>field_my_language</td>\n
<td>en</td>\n
</tr>\n
<tr>\n
<td>verifyValue</td>\n
<td>field_my_version</td>\n
<td>001</td>\n
</tr>\n
\n
<span metal:use-macro="container/Zuite_CommonTemplate/macros/wait_for_activities">\n
Wait for activities</span>\n
\n
</tbody></table>\n
</body>\n
</html>
]]></string> </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>testPortalContributionsToolNewFile</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?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> <string 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>Express Access Tab</title>\n
</head>\n
<body tal:define="link_url string:http://www.erp5.org">\n
<table cellpadding="1" cellspacing="1" border="1">\n
<thead>\n
<tr><td rowspan="1" colspan="3">Contribute Link</td></tr>\n
</thead><tbody>\n
\n
<tal:block metal:use-macro="here/Zuite_CommonTemplate/macros/init" />\n
\n
<tr>\n
<td>openAndWait</td>\n
<td>${base_url}/portal_contributions/view</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>selectAndWait</td>\n
<td>select_action</td>\n
<td>label=Contribute Link</td>\n
</tr>\n
<tr>\n
<td>type</td>\n
<td>field_your_url</td>\n
<td tal:content="link_url"></td>\n
</tr>\n
<tr>\n
<td>clickAndWait</td>\n
<td>dialog_submit_button</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyTextPresent</td>\n
<td>Web Page created successfully</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyTextPresent</td>\n
<td>Community</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyTextPresent</td>\n
<td>Solution</td>\n
<td></td>\n
</tr>\n
\n
<span metal:use-macro="container/Zuite_CommonTemplate/macros/wait_for_activities">Wait for activities</span>\n
\n
</tbody></table>\n
</body>\n
</html>
]]></string> </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>testPortalContributionsToolNewLink</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
9 10
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment