Commit 228d62da authored by Ivan Tyagov's avatar Ivan Tyagov

Fix tests according to recent work on KM.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35388 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 75cb46b3
......@@ -80,7 +80,7 @@
</tr>\n
<tr>\n
<td>clickAndWait</td>\n
<td>link=Advanced Search</td>\n
<td>link=Search</td>\n
<td></td>\n
</tr>\n
<tr>\n
......
......@@ -63,7 +63,7 @@
</tr>\n
<tr>\n
<td>clickAndWait</td>\n
<td>link=New File</td>\n
<td>link=New Document</td>\n
<td></td>\n
</tr>\n
<tr>\n
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/>
<tuple/>
</tuple>
</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>Search Top Box Clicking</title>\n
</head>\n
<body>\n
<table cellpadding="1" cellspacing="1" border="1">\n
<thead>\n
<tr><td rowspan="1" colspan="3">Test a search on the top box clicking on the search button</td></tr>\n
</thead><tbody>\n
\n
<tal:block metal:use-macro="here/Zuite_CommonTemplate/macros/init" />\n
\n
<tal:block metal:use-macro="here/KMZuite_CommonTemplate/macros/createKMWebSite" />\n
\n
<tr>\n
<td>openAndWait</td>\n
<td>${base_url}/web_site_module/km_test_web_site/en</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>clickAndWait</td>\n
<td>link=New Page</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyTextPresent</td>\n
<td>New Web Page</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>type</td>\n
<td>field_my_title</td>\n
<td>web page title</td>\n
</tr>\n
<tr>\n
<td>type</td>\n
<td>field_my_short_title</td>\n
<td>title</td>\n
</tr>\n
<tr>\n
<td>clickAndWait</td>\n
<td>input-save-edit</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyTextPresent</td>\n
<td>Data updated</td>\n
<td></td>\n
</tr>\n
\n
<tal:block metal:use-macro="here/KMZuite_CommonTemplate/macros/deleteKMWebSite" />\n
\n
</tbody></table>\n
</body>\n
</html>\n
]]></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>testCreateNewWebPage</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -70,7 +70,8 @@ km_website.edit(skin_selection_name = \'KM\',\n
layout_configuration_form_id = \'WebSection_viewKMMinimalThemeConfiguration\',\n
static_language_selection = True,\n
visible = True,\n
site_map_section_parent = True)\n
site_map_section_parent = True,\n
default_available_language = \'en\')\n
\n
km_preference_id = \'km_site_test\'\n
portal_preferences = context.portal_preferences\n
......
44
\ No newline at end of file
45
\ 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