From 9f685f253ccbe9087e6b45b12cadaee8a99c2382 Mon Sep 17 00:00:00 2001
From: Ivan Tyagov <ivan@nexedi.com>
Date: Mon, 20 Sep 2010 14:38:40 +0000
Subject: [PATCH] Initial import of gadgets UI tests.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@38491 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../portal_tests/gadgets_zuite.xml            |  26 ++
 .../gadgets_zuite/testBasicGadgetSystem.xml   | 256 ++++++++++++++++++
 .../testGadgetEditPreferences.xml             | 252 +++++++++++++++++
 .../erp5_knowledge_pad_ui_test.xml            |  26 ++
 .../Zuite_setupGadgets.xml                    | 134 +++++++++
 .../bt/categories_list                        |   0
 bt5/erp5_knowledge_pad_ui_test/bt/change_log  |   2 +
 bt5/erp5_knowledge_pad_ui_test/bt/comment     |   0
 .../bt/copyright_list                         |   1 +
 .../bt/dependency_list                        |   1 +
 bt5/erp5_knowledge_pad_ui_test/bt/description |   1 +
 bt5/erp5_knowledge_pad_ui_test/bt/license     |   1 +
 .../bt/maintainer_list                        |   1 +
 .../bt/provision_list                         |   0
 bt5/erp5_knowledge_pad_ui_test/bt/revision    |   1 +
 .../bt/template_action_path_list              |   0
 .../bt/template_base_category_list            |   0
 .../bt/template_catalog_datetime_key_list     |   0
 .../bt/template_catalog_full_text_key_list    |   0
 .../bt/template_catalog_keyword_key_list      |   0
 .../bt/template_catalog_local_role_key_list   |   0
 .../bt/template_catalog_method_id_list        |   0
 .../bt/template_catalog_multivalue_key_list   |   0
 .../bt/template_catalog_related_key_list      |   0
 .../bt/template_catalog_request_key_list      |   0
 .../bt/template_catalog_result_key_list       |   0
 .../bt/template_catalog_result_table_list     |   0
 .../bt/template_catalog_role_key_list         |   0
 .../bt/template_catalog_scriptable_key_list   |   0
 .../bt/template_catalog_search_key_list       |   0
 .../bt/template_catalog_topic_key_list        |   0
 .../bt/template_constraint_id_list            |   0
 .../bt/template_document_id_list              |   0
 .../bt/template_extension_id_list             |   0
 .../bt/template_format_version                |   1 +
 .../bt/template_local_role_list               |   0
 .../bt/template_local_roles_list              |   0
 .../bt/template_message_translation_list      |   0
 .../bt/template_module_id_list                |   0
 .../bt/template_path_list                     |   2 +
 ...late_portal_type_allowed_content_type_list |   0
 .../template_portal_type_base_category_list   |   0
 ...plate_portal_type_hidden_content_type_list |   0
 .../bt/template_portal_type_id_list           |   0
 .../template_portal_type_property_sheet_list  |   0
 .../bt/template_portal_type_role_list         |   0
 .../bt/template_portal_type_roles_list        |   0
 .../template_portal_type_workflow_chain_list  |   0
 .../bt/template_preference_list               |   0
 .../bt/template_product_id_list               |   0
 .../bt/template_property_sheet_id_list        |   0
 .../template_registered_skin_selection_list   |   0
 .../bt/template_role_list                     |   0
 .../bt/template_site_property_id_list         |   0
 .../bt/template_skin_id_list                  |   1 +
 .../bt/template_test_id_list                  |   0
 .../bt/template_tool_id_list                  |   0
 ...template_update_business_template_workflow |   1 +
 .../bt/template_update_tool                   |   1 +
 .../bt/template_workflow_id_list              |   0
 bt5/erp5_knowledge_pad_ui_test/bt/title       |   1 +
 bt5/erp5_knowledge_pad_ui_test/bt/version     |   0
 62 files changed, 709 insertions(+)
 create mode 100644 bt5/erp5_knowledge_pad_ui_test/PathTemplateItem/portal_tests/gadgets_zuite.xml
 create mode 100644 bt5/erp5_knowledge_pad_ui_test/PathTemplateItem/portal_tests/gadgets_zuite/testBasicGadgetSystem.xml
 create mode 100644 bt5/erp5_knowledge_pad_ui_test/PathTemplateItem/portal_tests/gadgets_zuite/testGadgetEditPreferences.xml
 create mode 100644 bt5/erp5_knowledge_pad_ui_test/SkinTemplateItem/portal_skins/erp5_knowledge_pad_ui_test.xml
 create mode 100644 bt5/erp5_knowledge_pad_ui_test/SkinTemplateItem/portal_skins/erp5_knowledge_pad_ui_test/Zuite_setupGadgets.xml
 create mode 100644 bt5/erp5_knowledge_pad_ui_test/bt/categories_list
 create mode 100644 bt5/erp5_knowledge_pad_ui_test/bt/change_log
 create mode 100644 bt5/erp5_knowledge_pad_ui_test/bt/comment
 create mode 100644 bt5/erp5_knowledge_pad_ui_test/bt/copyright_list
 create mode 100644 bt5/erp5_knowledge_pad_ui_test/bt/dependency_list
 create mode 100644 bt5/erp5_knowledge_pad_ui_test/bt/description
 create mode 100644 bt5/erp5_knowledge_pad_ui_test/bt/license
 create mode 100644 bt5/erp5_knowledge_pad_ui_test/bt/maintainer_list
 create mode 100644 bt5/erp5_knowledge_pad_ui_test/bt/provision_list
 create mode 100644 bt5/erp5_knowledge_pad_ui_test/bt/revision
 create mode 100644 bt5/erp5_knowledge_pad_ui_test/bt/template_action_path_list
 create mode 100644 bt5/erp5_knowledge_pad_ui_test/bt/template_base_category_list
 create mode 100644 bt5/erp5_knowledge_pad_ui_test/bt/template_catalog_datetime_key_list
 create mode 100644 bt5/erp5_knowledge_pad_ui_test/bt/template_catalog_full_text_key_list
 create mode 100644 bt5/erp5_knowledge_pad_ui_test/bt/template_catalog_keyword_key_list
 create mode 100644 bt5/erp5_knowledge_pad_ui_test/bt/template_catalog_local_role_key_list
 create mode 100644 bt5/erp5_knowledge_pad_ui_test/bt/template_catalog_method_id_list
 create mode 100644 bt5/erp5_knowledge_pad_ui_test/bt/template_catalog_multivalue_key_list
 create mode 100644 bt5/erp5_knowledge_pad_ui_test/bt/template_catalog_related_key_list
 create mode 100644 bt5/erp5_knowledge_pad_ui_test/bt/template_catalog_request_key_list
 create mode 100644 bt5/erp5_knowledge_pad_ui_test/bt/template_catalog_result_key_list
 create mode 100644 bt5/erp5_knowledge_pad_ui_test/bt/template_catalog_result_table_list
 create mode 100644 bt5/erp5_knowledge_pad_ui_test/bt/template_catalog_role_key_list
 create mode 100644 bt5/erp5_knowledge_pad_ui_test/bt/template_catalog_scriptable_key_list
 create mode 100644 bt5/erp5_knowledge_pad_ui_test/bt/template_catalog_search_key_list
 create mode 100644 bt5/erp5_knowledge_pad_ui_test/bt/template_catalog_topic_key_list
 create mode 100644 bt5/erp5_knowledge_pad_ui_test/bt/template_constraint_id_list
 create mode 100644 bt5/erp5_knowledge_pad_ui_test/bt/template_document_id_list
 create mode 100644 bt5/erp5_knowledge_pad_ui_test/bt/template_extension_id_list
 create mode 100644 bt5/erp5_knowledge_pad_ui_test/bt/template_format_version
 create mode 100644 bt5/erp5_knowledge_pad_ui_test/bt/template_local_role_list
 create mode 100644 bt5/erp5_knowledge_pad_ui_test/bt/template_local_roles_list
 create mode 100644 bt5/erp5_knowledge_pad_ui_test/bt/template_message_translation_list
 create mode 100644 bt5/erp5_knowledge_pad_ui_test/bt/template_module_id_list
 create mode 100644 bt5/erp5_knowledge_pad_ui_test/bt/template_path_list
 create mode 100644 bt5/erp5_knowledge_pad_ui_test/bt/template_portal_type_allowed_content_type_list
 create mode 100644 bt5/erp5_knowledge_pad_ui_test/bt/template_portal_type_base_category_list
 create mode 100644 bt5/erp5_knowledge_pad_ui_test/bt/template_portal_type_hidden_content_type_list
 create mode 100644 bt5/erp5_knowledge_pad_ui_test/bt/template_portal_type_id_list
 create mode 100644 bt5/erp5_knowledge_pad_ui_test/bt/template_portal_type_property_sheet_list
 create mode 100644 bt5/erp5_knowledge_pad_ui_test/bt/template_portal_type_role_list
 create mode 100644 bt5/erp5_knowledge_pad_ui_test/bt/template_portal_type_roles_list
 create mode 100644 bt5/erp5_knowledge_pad_ui_test/bt/template_portal_type_workflow_chain_list
 create mode 100644 bt5/erp5_knowledge_pad_ui_test/bt/template_preference_list
 create mode 100644 bt5/erp5_knowledge_pad_ui_test/bt/template_product_id_list
 create mode 100644 bt5/erp5_knowledge_pad_ui_test/bt/template_property_sheet_id_list
 create mode 100644 bt5/erp5_knowledge_pad_ui_test/bt/template_registered_skin_selection_list
 create mode 100644 bt5/erp5_knowledge_pad_ui_test/bt/template_role_list
 create mode 100644 bt5/erp5_knowledge_pad_ui_test/bt/template_site_property_id_list
 create mode 100644 bt5/erp5_knowledge_pad_ui_test/bt/template_skin_id_list
 create mode 100644 bt5/erp5_knowledge_pad_ui_test/bt/template_test_id_list
 create mode 100644 bt5/erp5_knowledge_pad_ui_test/bt/template_tool_id_list
 create mode 100644 bt5/erp5_knowledge_pad_ui_test/bt/template_update_business_template_workflow
 create mode 100644 bt5/erp5_knowledge_pad_ui_test/bt/template_update_tool
 create mode 100644 bt5/erp5_knowledge_pad_ui_test/bt/template_workflow_id_list
 create mode 100644 bt5/erp5_knowledge_pad_ui_test/bt/title
 create mode 100644 bt5/erp5_knowledge_pad_ui_test/bt/version

diff --git a/bt5/erp5_knowledge_pad_ui_test/PathTemplateItem/portal_tests/gadgets_zuite.xml b/bt5/erp5_knowledge_pad_ui_test/PathTemplateItem/portal_tests/gadgets_zuite.xml
new file mode 100644
index 0000000000..68960bf757
--- /dev/null
+++ b/bt5/erp5_knowledge_pad_ui_test/PathTemplateItem/portal_tests/gadgets_zuite.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <global name="Zuite" module="Products.Zelenium.zuite"/>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>_objects</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>gadgets_zuite</string> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>Gadgets</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>
diff --git a/bt5/erp5_knowledge_pad_ui_test/PathTemplateItem/portal_tests/gadgets_zuite/testBasicGadgetSystem.xml b/bt5/erp5_knowledge_pad_ui_test/PathTemplateItem/portal_tests/gadgets_zuite/testBasicGadgetSystem.xml
new file mode 100644
index 0000000000..0c66d1fa21
--- /dev/null
+++ b/bt5/erp5_knowledge_pad_ui_test/PathTemplateItem/portal_tests/gadgets_zuite/testBasicGadgetSystem.xml
@@ -0,0 +1,256 @@
+<?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">Gadget System Integration</td></tr>\n
+</thead><tbody>\n
+\n
+<span metal:use-macro="container/Zuite_CommonTemplate/macros/init"> init</span>\n
+\n
+<tr>\n
+  <td>openAndWait</td>\n
+  <td>${base_url}/Zuite_setupGadgets</td>\n
+  <td></td>\n
+</tr>\n
+<tr>\n
+  <td>verifyTextPresent</td>\n
+  <td>Done</td>\n
+  <td></td>\n
+</tr>\n
+<tr>\n
+  <td>openAndWait</td>\n
+  <td>${base_url}/view</td>\n
+  <td></td>\n
+</tr>\n
+<span metal:use-macro="container/Zuite_CommonTemplate/macros/wait_for_activities"> Wait for activities</span>\n
+<tr>\n
+  <td>openAndWait</td>\n
+  <td>${base_url}/view</td>\n
+  <td></td>\n
+</tr>\n
+<tr>\n
+  <td>verifyTextPresent</td>\n
+  <td>Hide tabs</td>\n
+  <td></td>\n
+</tr>\n
+<tr>\n
+  <td>verifyTextPresent</td>\n
+  <td>Add tab</td>\n
+  <td></td>\n
+</tr>\n
+<tr>\n
+  <td>verifyTextPresent</td>\n
+  <td>Add gadgets</td>\n
+  <td></td>\n
+</tr>\n
+<!-- check adding gadgets -->\n
+<tr>\n
+  <td>click</td>\n
+  <td>add_new_tab_dialog_link</td>\n
+  <td></td>\n
+</tr>\n
+<tr>\n
+  <td>type</td>\n
+  <td>new_pad_title</td>\n
+  <td>test tab XXXXX</td>\n
+</tr>\n
+<tr>\n
+  <td>clickAndWait</td>\n
+  <td>//div[@id="add_new_tab_dialog"]/button[2]</td>\n
+  <td></td>\n
+</tr>\n
+<span metal:use-macro="container/Zuite_CommonTemplate/macros/wait_for_activities"> Wait for activities</span>\n
+<tr>\n
+  <td>openAndWait</td>\n
+  <td>${base_url}/view</td>\n
+  <td></td>\n
+</tr>\n
+<tr>\n
+  <td>verifyTextPresent</td>\n
+  <td>Your tab is empty.</td>\n
+  <td></td>\n
+</tr>\n
+<tr>\n
+  <td>verifyTextPresent</td>\n
+  <td>Please use link above (\'Add gadget\') to prepare it yourself.</td>\n
+  <td></td>\n
+</tr>\n
+<tr>\n
+  <td>clickAndWait</td>\n
+  <td>link=Add gadgets</td>\n
+  <td></td>\n
+</tr>\n
+<tr>\n
+  <td>verifyTextPresent</td>\n
+  <td>Gadgets</td>\n
+  <td></td>\n
+</tr>\n
+<tr>\n
+  <td>clickAndWait</td>\n
+  <td>//input[@class="listbox-check-all"]</td>\n
+  <td></td>\n
+</tr>\n
+<tr>\n
+  <td>clickAndWait</td>\n
+  <td>dialog_submit_button</td>\n
+  <td></td>\n
+</tr>\n
+<span metal:use-macro="container/Zuite_CommonTemplate/macros/wait_for_activities"> Wait for activities</span>\n
+<tr>\n
+  <td>openAndWait</td>\n
+  <td>${base_url}/view</td>\n
+  <td></td>\n
+</tr>\n
+<tr>\n
+  <td>verifyTextPresent</td>\n
+  <td>Google Calendar </td>\n
+  <td></td>\n
+</tr>\n
+<tr>\n
+  <td>verifyTextPresent</td>\n
+  <td>ERP5 Worklists</td>\n
+  <td></td>\n
+</tr>\n
+<tr>\n
+  <td>verifyTextPresent</td>\n
+  <td>Feed Reader</td>\n
+  <td></td>\n
+</tr>\n
+<tr>\n
+  <td>verifyTextPresent</td>\n
+  <td>Persons</td>\n
+  <td></td>\n
+</tr>\n
+<tr>\n
+  <td>verifyTextPresent</td>\n
+  <td>Documentation</td>\n
+  <td></td>\n
+</tr>\n
+<tr>\n
+  <td>verifyTextPresent</td>\n
+  <td>Clock</td>\n
+  <td></td>\n
+</tr>\n
+<!-- Renaming pad -->\n
+<tr>\n
+  <td>openAndWait</td>\n
+  <td>${base_url}/view</td>\n
+  <td></td>\n
+</tr>\n
+<tr>\n
+  <td>click</td>\n
+  <td>//span[@title="Settings"]</td>\n
+  <td></td>\n
+</tr>\n
+<tr>\n
+  <td>type</td>\n
+  <td>new_knowledge_pad_title</td>\n
+  <td>ZZZZZZZZZZ</td>\n
+</tr>\n
+<tr>\n
+  <td>click</td>\n
+  <td>//button[@id="rename_tab_dialog_rename_button"]</td>\n
+  <td></td>\n
+</tr>\n
+<span metal:use-macro="container/Zuite_CommonTemplate/macros/wait_for_activities"> Wait for activities</span>\n
+\n
+<!-- Test removing pad -->\n
+<tr>\n
+  <td>openAndWait</td>\n
+  <td>${base_url}/view</td>\n
+  <td></td>\n
+</tr>\n
+<tr>\n
+  <td>click</td>\n
+  <td>//span[@title="Remove"]</td>\n
+  <td></td>\n
+</tr>\n
+<tr>\n
+  <td>assertConfirmation</td>\n
+  <td>Are you sure you want to remove this pad from your home?</td>\n
+  <td></td>\n
+</tr>\n
+<span metal:use-macro="container/Zuite_CommonTemplate/macros/wait_for_activities"> Wait for activities</span>\n
+<tr>\n
+  <td>openAndWait</td>\n
+  <td>${base_url}/view</td>\n
+  <td></td>\n
+</tr>\n
+<tr>\n
+  <td>verifyTextNotPresent</td>\n
+  <td>ZZZZZZZZZZ</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>\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>testBasicGadgetSystem</string> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string></string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>
diff --git a/bt5/erp5_knowledge_pad_ui_test/PathTemplateItem/portal_tests/gadgets_zuite/testGadgetEditPreferences.xml b/bt5/erp5_knowledge_pad_ui_test/PathTemplateItem/portal_tests/gadgets_zuite/testGadgetEditPreferences.xml
new file mode 100644
index 0000000000..ccd5fc6038
--- /dev/null
+++ b/bt5/erp5_knowledge_pad_ui_test/PathTemplateItem/portal_tests/gadgets_zuite/testGadgetEditPreferences.xml
@@ -0,0 +1,252 @@
+<?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">Gadget edit preferences</td></tr>\n
+</thead><tbody>\n
+\n
+<span metal:use-macro="container/Zuite_CommonTemplate/macros/init">init</span>\n
+\n
+<!--<tr>\n
+  <td>store</td>\n
+  <td tal:content="python: here.portal_preferences.getPreferredWitchToolServerRoot()"></td>\n
+  <td>remote_nexedi_erp5_instance_id</td>\n
+</tr>\n
+<tr>\n
+  <td>store</td>\n
+  <td>${base_url}/portal_wizard/proxy/${remote_nexedi_erp5_instance_id}/web_site_module/yuna_kb</td>\n
+  <td>km_base_url</td>\n
+</tr>\n
+<tr>\n
+  <td>store</td>\n
+  <td>erp5_site_selected_tab=express_support_tab</td>\n
+  <td>base_jump</td>\n
+</tr>-->\n
+<!-- Set longer timeout. -->\n
+<tr>\n
+  <td>setTimeout</td>\n
+  <td>180000</td>\n
+  <td></td>\n
+</tr>\n
+\n
+<!--<span metal:use-macro="container/ExpressZuite_viewTestMacroLibrary/macros/login_as_express_user"> Switch to Express User</span>-->\n
+\n
+<tr>\n
+  <td>openAndWait</td>\n
+  <td>${base_url}/view</td>\n
+  <td></td>\n
+</tr>\n
+<span metal:use-macro="container/Zuite_CommonTemplate/macros/wait_for_activities">\n
+Wait for activities</span>\n
+\n
+<!-- Add to pad few gadgets -->\n
+<tr>\n
+  <td>openAndWait</td>\n
+  <td>${base_url}/Zuite_AddGadgetToActivePad?gadget_relative_url=portal_gadgets/google_calendar</td>\n
+  <td></td>\n
+</tr>\n
+<tr>\n
+  <td>storeText</td>\n
+  <td>transition_message</td>\n
+  <td>calendar_box_url</td>\n
+</tr>\n
+<tr>\n
+  <td>openAndWait</td>\n
+  <td>${base_url}/Zuite_getGadgetIdByRelativeUrl?knowledge_box_url=${calendar_box_url}</td>\n
+  <td></td>\n
+</tr>\n
+<tr>\n
+  <td>storeText</td>\n
+  <td>transition_message</td>\n
+  <td>calendar_box_id</td>\n
+</tr>\n
+\n
+<!-- Clock -->\n
+<tr>\n
+  <td>openAndWait</td>\n
+  <td>${base_url}/Zuite_AddGadgetToActivePad?gadget_relative_url=portal_gadgets/clock</td>\n
+  <td></td>\n
+</tr>\n
+<tr>\n
+  <td>storeText</td>\n
+  <td>transition_message</td>\n
+  <td>clock_box_url</td>\n
+</tr>\n
+<tr>\n
+  <td>openAndWait</td>\n
+  <td>${base_url}/Zuite_getGadgetIdByRelativeUrl?knowledge_box_url=${clock_box_url}</td>\n
+  <td></td>\n
+</tr>\n
+<tr>\n
+  <td>storeText</td>\n
+  <td>transition_message</td>\n
+  <td>clock_box_id</td>\n
+</tr>\n
+\n
+<span metal:use-macro="container/Zuite_CommonTemplate/macros/wait_for_activities">Wait for activities</span>\n
+\n
+<tr>\n
+  <td>openAndWait</td>\n
+  <td>${base_url}/view</td>\n
+  <td></td>\n
+</tr>\n
+<tr>\n
+  <td>click</td>\n
+  <td>//div[@id=\'${clock_box_id}\']/h3/span/a[2]</td>\n
+  <td></td>\n
+</tr>\n
+<tr>\n
+  <td>type</td>\n
+  <td>gadget_preference_${clock_box_id}_field_my_preferred_header_title</td>\n
+  <td>Clock XXXXX</td>\n
+</tr>\n
+<tr>\n
+  <td>clickAndWait</td>\n
+  <td>//button[@type=\'submit\' and @onclick=&quot;submitSynchronousGadgetPreferenceForm(\'gadget_preference_${clock_box_id}_field\',\'${clock_box_url}\')&quot;]</td>\n
+  <td></td>\n
+</tr>\n
+<tr>\n
+  <td>verifyTextPresent</td>\n
+  <td>Preference updated.</td>\n
+  <td></td>\n
+</tr>\n
+<tr>\n
+  <td>verifyTextPresent</td>\n
+  <td>Clock XXXXX</td>\n
+  <td></td>\n
+</tr>\n
+<tr>\n
+  <td>click</td>\n
+  <td>//div[@id=\'${calendar_box_id}\']/h3/span/a[2]</td>\n
+  <td></td>\n
+</tr>\n
+<tr>\n
+  <td>type</td>\n
+  <td>gadget_preference_${calendar_box_id}_field_my_preferred_header_title</td>\n
+  <td>Calendar YYYYY</td>\n
+</tr>\n
+<tr>\n
+  <td>clickAndWait</td>\n
+  <td>//button[@type=\'submit\' and @onclick=&quot;submitSynchronousGadgetPreferenceForm(\'gadget_preference_${calendar_box_id}_field\',\'${calendar_box_url}\')&quot;]</td>\n
+  <td></td>\n
+</tr>\n
+<tr>\n
+  <td>verifyTextPresent</td>\n
+  <td>Preference updated.</td>\n
+  <td></td>\n
+</tr>\n
+<tr>\n
+  <td>verifyTextPresent</td>\n
+  <td>Calendar YYYYY</td>\n
+  <td></td>\n
+</tr>\n
+\n
+\n
+\n
+<!-- Test deleting a gadget -->\n
+<span metal:use-macro="container/Zuite_CommonTemplate/macros/wait_for_activities">\n
+Wait for activities</span>\n
+<tr>\n
+  <td>openAndWait</td>\n
+  <td>${base_url}/view</td>\n
+  <td></td>\n
+</tr>\n
+<tr>\n
+  <td>click</td>\n
+  <td>//div[@id=\'${calendar_box_id}\']/h3/span/a[1]</td>\n
+  <td></td>\n
+</tr>\n
+<tr>\n
+  <td>assertConfirmation</td>\n
+  <td>Are you sure you want to remove this gadget from your personalized page?</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
+<tr>\n
+  <td>openAndWait</td>\n
+  <td>${base_url}/view</td>\n
+  <td></td>\n
+</tr>\n
+\n
+<tr>\n
+  <td>verifyTextNotPresent</td>\n
+  <td>Calendar YYYYY</td>\n
+  <td></td>\n
+</tr>\n
+\n
+<!--<span metal:use-macro="container/ExpressZuite_viewTestMacroLibrary/macros/login_as_functional_test_user"> Switch to Functional Test User</span>\n
+\n
+<span metal:use-macro="container/ExpressZuite_viewTestMacroLibrary/macros/restore_test_environment">restore</span>-->\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>testGadgetEditPreferences</string> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string></string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>
diff --git a/bt5/erp5_knowledge_pad_ui_test/SkinTemplateItem/portal_skins/erp5_knowledge_pad_ui_test.xml b/bt5/erp5_knowledge_pad_ui_test/SkinTemplateItem/portal_skins/erp5_knowledge_pad_ui_test.xml
new file mode 100644
index 0000000000..5e9f6f34af
--- /dev/null
+++ b/bt5/erp5_knowledge_pad_ui_test/SkinTemplateItem/portal_skins/erp5_knowledge_pad_ui_test.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <global name="Folder" module="OFS.Folder"/>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>_objects</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>erp5_knowledge_pad_ui_test</string> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string></string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>
diff --git a/bt5/erp5_knowledge_pad_ui_test/SkinTemplateItem/portal_skins/erp5_knowledge_pad_ui_test/Zuite_setupGadgets.xml b/bt5/erp5_knowledge_pad_ui_test/SkinTemplateItem/portal_skins/erp5_knowledge_pad_ui_test/Zuite_setupGadgets.xml
new file mode 100644
index 0000000000..c9acb854ec
--- /dev/null
+++ b/bt5/erp5_knowledge_pad_ui_test/SkinTemplateItem/portal_skins/erp5_knowledge_pad_ui_test/Zuite_setupGadgets.xml
@@ -0,0 +1,134 @@
+<?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>_body</string> </key>
+            <value> <string># Publish all knowledge pad gadgets\n
+for gadget in context.portal_gadgets.objectValues():\n
+  if gadget.getValidationState() == \'invisible\':\n
+    gadget.visible()\n
+    gadget.public()\n
+\n
+print "Done"\n
+return printed\n
+</string> </value>
+        </item>
+        <item>
+            <key> <string>_code</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>_proxy_roles</string> </key>
+            <value>
+              <tuple>
+                <string>Manager</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>errors</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
+        <item>
+            <key> <string>func_code</string> </key>
+            <value>
+              <object>
+                <klass>
+                  <global name="FuncCode" module="Shared.DC.Scripts.Signature"/>
+                </klass>
+                <tuple/>
+                <state>
+                  <dictionary>
+                    <item>
+                        <key> <string>co_argcount</string> </key>
+                        <value> <int>0</int> </value>
+                    </item>
+                    <item>
+                        <key> <string>co_varnames</string> </key>
+                        <value>
+                          <tuple>
+                            <string>_print_</string>
+                            <string>_print</string>
+                            <string>_getiter_</string>
+                            <string>_getattr_</string>
+                            <string>context</string>
+                            <string>gadget</string>
+                          </tuple>
+                        </value>
+                    </item>
+                  </dictionary>
+                </state>
+              </object>
+            </value>
+        </item>
+        <item>
+            <key> <string>func_defaults</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>Zuite_setupGadgets</string> </value>
+        </item>
+        <item>
+            <key> <string>warnings</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>
diff --git a/bt5/erp5_knowledge_pad_ui_test/bt/categories_list b/bt5/erp5_knowledge_pad_ui_test/bt/categories_list
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_knowledge_pad_ui_test/bt/change_log b/bt5/erp5_knowledge_pad_ui_test/bt/change_log
new file mode 100644
index 0000000000..f371f3aa7f
--- /dev/null
+++ b/bt5/erp5_knowledge_pad_ui_test/bt/change_log
@@ -0,0 +1,2 @@
+2010-09-2o Ivan
+* Initial import
\ No newline at end of file
diff --git a/bt5/erp5_knowledge_pad_ui_test/bt/comment b/bt5/erp5_knowledge_pad_ui_test/bt/comment
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_knowledge_pad_ui_test/bt/copyright_list b/bt5/erp5_knowledge_pad_ui_test/bt/copyright_list
new file mode 100644
index 0000000000..90b828028a
--- /dev/null
+++ b/bt5/erp5_knowledge_pad_ui_test/bt/copyright_list
@@ -0,0 +1 @@
+Nexedi SA 2007
\ No newline at end of file
diff --git a/bt5/erp5_knowledge_pad_ui_test/bt/dependency_list b/bt5/erp5_knowledge_pad_ui_test/bt/dependency_list
new file mode 100644
index 0000000000..65d338641c
--- /dev/null
+++ b/bt5/erp5_knowledge_pad_ui_test/bt/dependency_list
@@ -0,0 +1 @@
+erp5_ui_test
\ No newline at end of file
diff --git a/bt5/erp5_knowledge_pad_ui_test/bt/description b/bt5/erp5_knowledge_pad_ui_test/bt/description
new file mode 100644
index 0000000000..0c7c1af56e
--- /dev/null
+++ b/bt5/erp5_knowledge_pad_ui_test/bt/description
@@ -0,0 +1 @@
+A test which test gadgets ERP5 user interface
\ No newline at end of file
diff --git a/bt5/erp5_knowledge_pad_ui_test/bt/license b/bt5/erp5_knowledge_pad_ui_test/bt/license
new file mode 100644
index 0000000000..3a3e12bcad
--- /dev/null
+++ b/bt5/erp5_knowledge_pad_ui_test/bt/license
@@ -0,0 +1 @@
+GPL
\ No newline at end of file
diff --git a/bt5/erp5_knowledge_pad_ui_test/bt/maintainer_list b/bt5/erp5_knowledge_pad_ui_test/bt/maintainer_list
new file mode 100644
index 0000000000..95d930c400
--- /dev/null
+++ b/bt5/erp5_knowledge_pad_ui_test/bt/maintainer_list
@@ -0,0 +1 @@
+ivan
\ No newline at end of file
diff --git a/bt5/erp5_knowledge_pad_ui_test/bt/provision_list b/bt5/erp5_knowledge_pad_ui_test/bt/provision_list
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_knowledge_pad_ui_test/bt/revision b/bt5/erp5_knowledge_pad_ui_test/bt/revision
new file mode 100644
index 0000000000..bf0d87ab1b
--- /dev/null
+++ b/bt5/erp5_knowledge_pad_ui_test/bt/revision
@@ -0,0 +1 @@
+4
\ No newline at end of file
diff --git a/bt5/erp5_knowledge_pad_ui_test/bt/template_action_path_list b/bt5/erp5_knowledge_pad_ui_test/bt/template_action_path_list
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_knowledge_pad_ui_test/bt/template_base_category_list b/bt5/erp5_knowledge_pad_ui_test/bt/template_base_category_list
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_knowledge_pad_ui_test/bt/template_catalog_datetime_key_list b/bt5/erp5_knowledge_pad_ui_test/bt/template_catalog_datetime_key_list
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_knowledge_pad_ui_test/bt/template_catalog_full_text_key_list b/bt5/erp5_knowledge_pad_ui_test/bt/template_catalog_full_text_key_list
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_knowledge_pad_ui_test/bt/template_catalog_keyword_key_list b/bt5/erp5_knowledge_pad_ui_test/bt/template_catalog_keyword_key_list
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_knowledge_pad_ui_test/bt/template_catalog_local_role_key_list b/bt5/erp5_knowledge_pad_ui_test/bt/template_catalog_local_role_key_list
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_knowledge_pad_ui_test/bt/template_catalog_method_id_list b/bt5/erp5_knowledge_pad_ui_test/bt/template_catalog_method_id_list
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_knowledge_pad_ui_test/bt/template_catalog_multivalue_key_list b/bt5/erp5_knowledge_pad_ui_test/bt/template_catalog_multivalue_key_list
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_knowledge_pad_ui_test/bt/template_catalog_related_key_list b/bt5/erp5_knowledge_pad_ui_test/bt/template_catalog_related_key_list
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_knowledge_pad_ui_test/bt/template_catalog_request_key_list b/bt5/erp5_knowledge_pad_ui_test/bt/template_catalog_request_key_list
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_knowledge_pad_ui_test/bt/template_catalog_result_key_list b/bt5/erp5_knowledge_pad_ui_test/bt/template_catalog_result_key_list
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_knowledge_pad_ui_test/bt/template_catalog_result_table_list b/bt5/erp5_knowledge_pad_ui_test/bt/template_catalog_result_table_list
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_knowledge_pad_ui_test/bt/template_catalog_role_key_list b/bt5/erp5_knowledge_pad_ui_test/bt/template_catalog_role_key_list
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_knowledge_pad_ui_test/bt/template_catalog_scriptable_key_list b/bt5/erp5_knowledge_pad_ui_test/bt/template_catalog_scriptable_key_list
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_knowledge_pad_ui_test/bt/template_catalog_search_key_list b/bt5/erp5_knowledge_pad_ui_test/bt/template_catalog_search_key_list
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_knowledge_pad_ui_test/bt/template_catalog_topic_key_list b/bt5/erp5_knowledge_pad_ui_test/bt/template_catalog_topic_key_list
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_knowledge_pad_ui_test/bt/template_constraint_id_list b/bt5/erp5_knowledge_pad_ui_test/bt/template_constraint_id_list
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_knowledge_pad_ui_test/bt/template_document_id_list b/bt5/erp5_knowledge_pad_ui_test/bt/template_document_id_list
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_knowledge_pad_ui_test/bt/template_extension_id_list b/bt5/erp5_knowledge_pad_ui_test/bt/template_extension_id_list
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_knowledge_pad_ui_test/bt/template_format_version b/bt5/erp5_knowledge_pad_ui_test/bt/template_format_version
new file mode 100644
index 0000000000..56a6051ca2
--- /dev/null
+++ b/bt5/erp5_knowledge_pad_ui_test/bt/template_format_version
@@ -0,0 +1 @@
+1
\ No newline at end of file
diff --git a/bt5/erp5_knowledge_pad_ui_test/bt/template_local_role_list b/bt5/erp5_knowledge_pad_ui_test/bt/template_local_role_list
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_knowledge_pad_ui_test/bt/template_local_roles_list b/bt5/erp5_knowledge_pad_ui_test/bt/template_local_roles_list
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_knowledge_pad_ui_test/bt/template_message_translation_list b/bt5/erp5_knowledge_pad_ui_test/bt/template_message_translation_list
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_knowledge_pad_ui_test/bt/template_module_id_list b/bt5/erp5_knowledge_pad_ui_test/bt/template_module_id_list
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_knowledge_pad_ui_test/bt/template_path_list b/bt5/erp5_knowledge_pad_ui_test/bt/template_path_list
new file mode 100644
index 0000000000..c31f83b160
--- /dev/null
+++ b/bt5/erp5_knowledge_pad_ui_test/bt/template_path_list
@@ -0,0 +1,2 @@
+portal_tests/gadgets_zuite
+portal_tests/gadgets_zuite/**
\ No newline at end of file
diff --git a/bt5/erp5_knowledge_pad_ui_test/bt/template_portal_type_allowed_content_type_list b/bt5/erp5_knowledge_pad_ui_test/bt/template_portal_type_allowed_content_type_list
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_knowledge_pad_ui_test/bt/template_portal_type_base_category_list b/bt5/erp5_knowledge_pad_ui_test/bt/template_portal_type_base_category_list
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_knowledge_pad_ui_test/bt/template_portal_type_hidden_content_type_list b/bt5/erp5_knowledge_pad_ui_test/bt/template_portal_type_hidden_content_type_list
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_knowledge_pad_ui_test/bt/template_portal_type_id_list b/bt5/erp5_knowledge_pad_ui_test/bt/template_portal_type_id_list
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_knowledge_pad_ui_test/bt/template_portal_type_property_sheet_list b/bt5/erp5_knowledge_pad_ui_test/bt/template_portal_type_property_sheet_list
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_knowledge_pad_ui_test/bt/template_portal_type_role_list b/bt5/erp5_knowledge_pad_ui_test/bt/template_portal_type_role_list
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_knowledge_pad_ui_test/bt/template_portal_type_roles_list b/bt5/erp5_knowledge_pad_ui_test/bt/template_portal_type_roles_list
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_knowledge_pad_ui_test/bt/template_portal_type_workflow_chain_list b/bt5/erp5_knowledge_pad_ui_test/bt/template_portal_type_workflow_chain_list
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_knowledge_pad_ui_test/bt/template_preference_list b/bt5/erp5_knowledge_pad_ui_test/bt/template_preference_list
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_knowledge_pad_ui_test/bt/template_product_id_list b/bt5/erp5_knowledge_pad_ui_test/bt/template_product_id_list
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_knowledge_pad_ui_test/bt/template_property_sheet_id_list b/bt5/erp5_knowledge_pad_ui_test/bt/template_property_sheet_id_list
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_knowledge_pad_ui_test/bt/template_registered_skin_selection_list b/bt5/erp5_knowledge_pad_ui_test/bt/template_registered_skin_selection_list
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_knowledge_pad_ui_test/bt/template_role_list b/bt5/erp5_knowledge_pad_ui_test/bt/template_role_list
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_knowledge_pad_ui_test/bt/template_site_property_id_list b/bt5/erp5_knowledge_pad_ui_test/bt/template_site_property_id_list
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_knowledge_pad_ui_test/bt/template_skin_id_list b/bt5/erp5_knowledge_pad_ui_test/bt/template_skin_id_list
new file mode 100644
index 0000000000..1a3fea2527
--- /dev/null
+++ b/bt5/erp5_knowledge_pad_ui_test/bt/template_skin_id_list
@@ -0,0 +1 @@
+erp5_knowledge_pad_ui_test
\ No newline at end of file
diff --git a/bt5/erp5_knowledge_pad_ui_test/bt/template_test_id_list b/bt5/erp5_knowledge_pad_ui_test/bt/template_test_id_list
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_knowledge_pad_ui_test/bt/template_tool_id_list b/bt5/erp5_knowledge_pad_ui_test/bt/template_tool_id_list
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_knowledge_pad_ui_test/bt/template_update_business_template_workflow b/bt5/erp5_knowledge_pad_ui_test/bt/template_update_business_template_workflow
new file mode 100644
index 0000000000..c227083464
--- /dev/null
+++ b/bt5/erp5_knowledge_pad_ui_test/bt/template_update_business_template_workflow
@@ -0,0 +1 @@
+0
\ No newline at end of file
diff --git a/bt5/erp5_knowledge_pad_ui_test/bt/template_update_tool b/bt5/erp5_knowledge_pad_ui_test/bt/template_update_tool
new file mode 100644
index 0000000000..c227083464
--- /dev/null
+++ b/bt5/erp5_knowledge_pad_ui_test/bt/template_update_tool
@@ -0,0 +1 @@
+0
\ No newline at end of file
diff --git a/bt5/erp5_knowledge_pad_ui_test/bt/template_workflow_id_list b/bt5/erp5_knowledge_pad_ui_test/bt/template_workflow_id_list
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_knowledge_pad_ui_test/bt/title b/bt5/erp5_knowledge_pad_ui_test/bt/title
new file mode 100644
index 0000000000..1a3fea2527
--- /dev/null
+++ b/bt5/erp5_knowledge_pad_ui_test/bt/title
@@ -0,0 +1 @@
+erp5_knowledge_pad_ui_test
\ No newline at end of file
diff --git a/bt5/erp5_knowledge_pad_ui_test/bt/version b/bt5/erp5_knowledge_pad_ui_test/bt/version
new file mode 100644
index 0000000000..e69de29bb2
-- 
2.30.9