From 2b65b83c64f85aae5fbf6f3832d572ad743dc49d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Thu, 24 Jul 2014 14:26:20 +0200
Subject: [PATCH] ui test: chain Bar to foo_workflow

---
 .../portal_tests/page_templates_zuite/testSearchDialog.xml   | 5 +++++
 .../workflow_chain_type.xml                                  | 2 +-
 bt5/erp5_ui_test/bt/revision                                 | 2 +-
 bt5/erp5_ui_test/bt/template_portal_type_workflow_chain_list | 1 +
 4 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/page_templates_zuite/testSearchDialog.xml b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/page_templates_zuite/testSearchDialog.xml
index b69f1997d1..a9ed89d41b 100644
--- a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/page_templates_zuite/testSearchDialog.xml
+++ b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/page_templates_zuite/testSearchDialog.xml
@@ -149,6 +149,11 @@ commands from selenium 0.8\n
   <td>field_your_simulation_state</td>\n
   <td>label=Draft</td>\n
 </tr>\n
+<tr>\n
+  <td>select</td>\n
+  <td>field_your_portal_type</td>\n
+  <td>label=Foo</td>\n
+</tr>\n
 <tr>\n
   <td>clickAndWait</td>\n
   <td>dialog_submit_button</td>\n
diff --git a/bt5/erp5_ui_test/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml b/bt5/erp5_ui_test/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
index aa610413f3..55b2efd4d2 100644
--- a/bt5/erp5_ui_test/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
+++ b/bt5/erp5_ui_test/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
@@ -1,7 +1,7 @@
 <workflow_chain>
  <chain>
   <type>Bar</type>
-  <workflow>edit_workflow</workflow>
+  <workflow>edit_workflow, foo_workflow</workflow>
  </chain>
  <chain>
   <type>Foo</type>
diff --git a/bt5/erp5_ui_test/bt/revision b/bt5/erp5_ui_test/bt/revision
index 86ed5c7d2a..a1708fb1ce 100644
--- a/bt5/erp5_ui_test/bt/revision
+++ b/bt5/erp5_ui_test/bt/revision
@@ -1 +1 @@
-717
\ No newline at end of file
+720
diff --git a/bt5/erp5_ui_test/bt/template_portal_type_workflow_chain_list b/bt5/erp5_ui_test/bt/template_portal_type_workflow_chain_list
index cd33bb0c66..a1651d79db 100644
--- a/bt5/erp5_ui_test/bt/template_portal_type_workflow_chain_list
+++ b/bt5/erp5_ui_test/bt/template_portal_type_workflow_chain_list
@@ -1,4 +1,5 @@
 Bar | edit_workflow
+Bar | foo_workflow
 Foo Line | pricing_interaction_workflow
 Foo | edit_workflow
 Foo | foo_workflow
\ No newline at end of file
-- 
2.30.9