From 06b89b529710135d10e716928f20873491c79684 Mon Sep 17 00:00:00 2001
From: Mohamadou Mbengue <mmbengue@gmail.com>
Date: Mon, 24 Aug 2009 11:15:58 +0000
Subject: [PATCH] 2009-08-20 Mohamadou * Skip "planning_box_field_zuite" in
 mobile ui tests.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28577 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../planning_box_field_zuite/testPlanningBoxBlockHeight.xml  | 5 +++++
 .../testPlanningBoxBlockPosition.xml                         | 5 +++++
 .../planning_box_field_zuite/testPlanningBoxColumnHeader.xml | 5 +++++
 .../testPlanningBoxColumnHeaderLink.xml                      | 5 +++++
 .../planning_box_field_zuite/testPlanningBoxDataInfo.xml     | 5 +++++
 .../planning_box_field_zuite/testPlanningBoxDefaultZoom.xml  | 5 +++++
 .../testPlanningBoxDomainDataInfo.xml                        | 5 +++++
 .../planning_box_field_zuite/testPlanningBoxEdition.xml      | 5 +++++
 .../planning_box_field_zuite/testPlanningBoxEmpty.xml        | 5 +++++
 .../testPlanningBoxFoldAndUnfold.xml                         | 5 +++++
 .../testPlanningBoxNextPreviousZoom.xml                      | 5 +++++
 .../testPlanningBoxNextPreviousZoomMultipleTimes.xml         | 5 +++++
 .../planning_box_field_zuite/testPlanningBoxPage.xml         | 5 +++++
 .../testPlanningBoxVerticalViewColumnHeader.xml              | 5 +++++
 .../testPlanningBoxVerticalViewColumnHeaderLink.xml          | 5 +++++
 bt5/erp5_ui_test/bt/revision                                 | 2 +-
 16 files changed, 76 insertions(+), 1 deletion(-)

diff --git a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/planning_box_field_zuite/testPlanningBoxBlockHeight.xml b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/planning_box_field_zuite/testPlanningBoxBlockHeight.xml
index 823776b29a..8e575d630a 100644
--- a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/planning_box_field_zuite/testPlanningBoxBlockHeight.xml
+++ b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/planning_box_field_zuite/testPlanningBoxBlockHeight.xml
@@ -50,6 +50,9 @@
 <thead>\n
 <tr><td rowspan="1" colspan="3">Test PlanningBox block Height</td></tr>\n
 </thead><tbody>\n
+<!-- Planning Box is not displayed in mobile skin\n
+     So this test is skipped -->\n
+<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
 <tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/init" />\n
 <tr>\n
   <td>open</td>\n
@@ -211,6 +214,8 @@
   <td>Set Successfully.</td>\n
   <td></td>\n
 </tr>\n
+</tal:block>\n
+\n
 </tbody></table>\n
 </body>\n
 </html>\n
diff --git a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/planning_box_field_zuite/testPlanningBoxBlockPosition.xml b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/planning_box_field_zuite/testPlanningBoxBlockPosition.xml
index 845fa41aea..5f08c38d92 100644
--- a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/planning_box_field_zuite/testPlanningBoxBlockPosition.xml
+++ b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/planning_box_field_zuite/testPlanningBoxBlockPosition.xml
@@ -50,6 +50,9 @@
 <thead>\n
 <tr><td rowspan="1" colspan="3">Test PlanningBox Block Positioning</td></tr>\n
 </thead><tbody tal:define="is_selenium_0_8 python:here.getPortalObject().portal_tests.getZeleniumVersion() > \'Zelenium-0.8\'">\n
+<!-- Planning Box is not displayed in mobile skin\n
+     So this test is skipped -->\n
+<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
 <tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/init" />\n
 <tr>\n
   <td>open</td>\n
@@ -223,6 +226,8 @@
     <td>72</td>\n
   </tr>\n
 </tal:block>\n
+</tal:block>\n
+\n
 </tbody></table>\n
 </body>\n
 </html>\n
diff --git a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/planning_box_field_zuite/testPlanningBoxColumnHeader.xml b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/planning_box_field_zuite/testPlanningBoxColumnHeader.xml
index d2f3652782..3355bf1ed4 100644
--- a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/planning_box_field_zuite/testPlanningBoxColumnHeader.xml
+++ b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/planning_box_field_zuite/testPlanningBoxColumnHeader.xml
@@ -51,6 +51,9 @@
 <tr><td rowspan="1" colspan="3">Test PlanningBox Column Header</td></tr>\n
 </thead><tbody tal:define="year python: DateTime().year();\n
                            now python: DateTime()">\n
+<!-- Planning Box is not displayed in mobile skin\n
+     So this test is skipped -->\n
+<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
 <tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/init" />\n
 <tr>\n
   <td>open</td>\n
@@ -319,6 +322,8 @@
   <td>Site Error</td>\n
   <td></td>\n
 </tr>\n
+</tal:block>\n
+\n
 </tbody></table>\n
 </body>\n
 </html>\n
diff --git a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/planning_box_field_zuite/testPlanningBoxColumnHeaderLink.xml b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/planning_box_field_zuite/testPlanningBoxColumnHeaderLink.xml
index 204be5356d..c4f96b3400 100644
--- a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/planning_box_field_zuite/testPlanningBoxColumnHeaderLink.xml
+++ b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/planning_box_field_zuite/testPlanningBoxColumnHeaderLink.xml
@@ -51,6 +51,9 @@
 <tr><td rowspan="1" colspan="3">Test PlanningBox Column Header Link</td></tr>\n
 </thead><tbody tal:define="year python: DateTime().year();\n
                            now python: DateTime()">\n
+<!-- Planning Box is not displayed in mobile skin\n
+     So this test is skipped -->\n
+<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
 <tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/init" />\n
 <tr>\n
   <td>open</td>\n
@@ -253,6 +256,8 @@
   <td>//div[@id="group_1_activity_1_block_1"]/div[@class="planning_box_center"]</td>\n
   <td>Title 0</td>\n
 </tr>\n
+</tal:block>\n
+\n
 </tbody></table>\n
 </body>\n
 </html>\n
diff --git a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/planning_box_field_zuite/testPlanningBoxDataInfo.xml b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/planning_box_field_zuite/testPlanningBoxDataInfo.xml
index 1018a546fc..64029f5aa3 100644
--- a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/planning_box_field_zuite/testPlanningBoxDataInfo.xml
+++ b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/planning_box_field_zuite/testPlanningBoxDataInfo.xml
@@ -50,6 +50,9 @@
 <thead>\n
 <tr><td rowspan="1" colspan="3">Test PlanningBox Data Info</td></tr>\n
 </thead><tbody>\n
+<!-- Planning Box is not displayed in mobile skin\n
+     So this test is skipped -->\n
+<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
 <tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/init" />\n
 <tr>\n
   <td>open</td>\n
@@ -221,6 +224,8 @@
   <td>//div[@id="group_3_activity_1_block_1"]/a[@class="planning_box_botleft"]</td>\n
   <td>Title 2</td>\n
 </tr>\n
+</tal:block>\n
+\n
 </tbody></table>\n
 </body>\n
 </html>\n
diff --git a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/planning_box_field_zuite/testPlanningBoxDefaultZoom.xml b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/planning_box_field_zuite/testPlanningBoxDefaultZoom.xml
index 593fb35245..3d6929add1 100644
--- a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/planning_box_field_zuite/testPlanningBoxDefaultZoom.xml
+++ b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/planning_box_field_zuite/testPlanningBoxDefaultZoom.xml
@@ -50,6 +50,9 @@
 <thead>\n
 <tr><td rowspan="1" colspan="3">Test PlanningBox Default Zoom</td></tr>\n
 </thead><tbody>\n
+<!-- Planning Box is not displayed in mobile skin\n
+     So this test is skipped -->\n
+<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
 <tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/init" />\n
 <tr>\n
   <td>open</td>\n
@@ -177,6 +180,8 @@
   <td>Site Error</td>\n
   <td></td>\n
 </tr>\n
+</tal:block>\n
+\n
 </tbody></table>\n
 </body>\n
 </html>\n
diff --git a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/planning_box_field_zuite/testPlanningBoxDomainDataInfo.xml b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/planning_box_field_zuite/testPlanningBoxDomainDataInfo.xml
index 50852943d2..7cfb31d272 100644
--- a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/planning_box_field_zuite/testPlanningBoxDomainDataInfo.xml
+++ b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/planning_box_field_zuite/testPlanningBoxDomainDataInfo.xml
@@ -50,6 +50,9 @@
 <thead>\n
 <tr><td rowspan="1" colspan="3">Test PlanningBox Domain Data Info</td></tr>\n
 </thead><tbody>\n
+<!-- Planning Box is not displayed in mobile skin\n
+     So this test is skipped -->\n
+<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
 <tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/init" />\n
 <tr>\n
   <td>open</td>\n
@@ -236,6 +239,8 @@
   <td>SiteError</td>\n
   <td></td>\n
 </tr>\n
+</tal:block>\n
+\n
 </tbody></table>\n
 </body>\n
 </html>\n
diff --git a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/planning_box_field_zuite/testPlanningBoxEdition.xml b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/planning_box_field_zuite/testPlanningBoxEdition.xml
index 84024cd20d..685a971886 100644
--- a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/planning_box_field_zuite/testPlanningBoxEdition.xml
+++ b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/planning_box_field_zuite/testPlanningBoxEdition.xml
@@ -51,6 +51,9 @@
 <tr><td rowspan="1" colspan="3">Test PlanningBox Data Info</td></tr>\n
 </thead><tbody tal:define="t python:DateTime();\n
                            datestring python:\'%04d/%02d/%02d \' % (t.year(),t.month(), t.day())">\n
+<!-- Planning Box is not displayed in mobile skin\n
+     So this test is skipped -->\n
+<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
 <tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/init" />\n
 <tr>\n
   <td>open</td>\n
@@ -238,6 +241,8 @@
   <td tal:content="string:${datestring}22:33:36"></td>\n
   <td></td>\n
 </tr>\n
+</tal:block>\n
+\n
 </tbody></table>\n
 </body>\n
 </html>\n
diff --git a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/planning_box_field_zuite/testPlanningBoxEmpty.xml b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/planning_box_field_zuite/testPlanningBoxEmpty.xml
index 411e0cf15e..03464cbda8 100644
--- a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/planning_box_field_zuite/testPlanningBoxEmpty.xml
+++ b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/planning_box_field_zuite/testPlanningBoxEmpty.xml
@@ -50,6 +50,9 @@
 <thead>\n
 <tr><td rowspan="1" colspan="3">Test PlanningBox Empty</td></tr>\n
 </thead><tbody>\n
+<!-- Planning Box is not displayed in mobile skin\n
+     So this test is skipped -->\n
+<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
 <tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/init" />\n
 <tr>\n
   <td>open</td>\n
@@ -86,6 +89,8 @@
   <td>PlanningBoxError</td>\n
   <td></td>\n
 </tr>\n
+</tal:block>\n
+\n
 </tbody></table>\n
 </body>\n
 </html>\n
diff --git a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/planning_box_field_zuite/testPlanningBoxFoldAndUnfold.xml b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/planning_box_field_zuite/testPlanningBoxFoldAndUnfold.xml
index 161851efde..7b15907a7c 100644
--- a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/planning_box_field_zuite/testPlanningBoxFoldAndUnfold.xml
+++ b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/planning_box_field_zuite/testPlanningBoxFoldAndUnfold.xml
@@ -50,6 +50,9 @@
 <thead>\n
 <tr><td rowspan="1" colspan="3">Test PlanningBox Fold And Unfold</td></tr>\n
 </thead><tbody>\n
+<!-- Planning Box is not displayed in mobile skin\n
+     So this test is skipped -->\n
+<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
 <tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/init" />\n
 <tr>\n
   <td>open</td>\n
@@ -206,6 +209,8 @@
   <td>//div[@id="group_3_activity_1_block_1"]/div[@class="planning_box_center"]</td>\n
   <td>Title 2</td>\n
 </tr>\n
+</tal:block>\n
+\n
 </tbody></table>\n
 </body>\n
 </html>\n
diff --git a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/planning_box_field_zuite/testPlanningBoxNextPreviousZoom.xml b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/planning_box_field_zuite/testPlanningBoxNextPreviousZoom.xml
index 5059c1e513..2e6346033b 100644
--- a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/planning_box_field_zuite/testPlanningBoxNextPreviousZoom.xml
+++ b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/planning_box_field_zuite/testPlanningBoxNextPreviousZoom.xml
@@ -50,6 +50,9 @@
 <thead>\n
 <tr><td rowspan="1" colspan="3">Test PlanningBox Next and Previous Lane</td></tr>\n
 </thead><tbody>\n
+<!-- Planning Box is not displayed in mobile skin\n
+     So this test is skipped -->\n
+<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
 <tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/init" />\n
 <tr>\n
   <td>open</td>\n
@@ -171,6 +174,8 @@
   <td>//div[@id="group_1_activity_1_block_1"]/div[@class="planning_box_center"]</td>\n
   <td></td>\n
 </tr>\n
+</tal:block>\n
+\n
 </tbody></table>\n
 </body>\n
 </html>\n
diff --git a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/planning_box_field_zuite/testPlanningBoxNextPreviousZoomMultipleTimes.xml b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/planning_box_field_zuite/testPlanningBoxNextPreviousZoomMultipleTimes.xml
index 5c1353b867..18b70df0b6 100644
--- a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/planning_box_field_zuite/testPlanningBoxNextPreviousZoomMultipleTimes.xml
+++ b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/planning_box_field_zuite/testPlanningBoxNextPreviousZoomMultipleTimes.xml
@@ -53,6 +53,9 @@
                            now python: DateTime();\n
                            sday python: DateTime()-DateTime().dow();\n
                            page_list python:range(10)">\n
+<!-- Planning Box is not displayed in mobile skin\n
+     So this test is skipped -->\n
+<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
 <tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/init" />\n
 <tr>\n
   <td>open</td>\n
@@ -260,6 +263,8 @@
   <td>lane_path</td>\n
   <td>Day</td>\n
 </tr>\n
+</tal:block>\n
+\n
 </tbody></table>\n
 </body>\n
 </html>\n
diff --git a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/planning_box_field_zuite/testPlanningBoxPage.xml b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/planning_box_field_zuite/testPlanningBoxPage.xml
index 38e9f4aaef..91e8164e76 100644
--- a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/planning_box_field_zuite/testPlanningBoxPage.xml
+++ b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/planning_box_field_zuite/testPlanningBoxPage.xml
@@ -50,6 +50,9 @@
 <thead>\n
 <tr><td rowspan="1" colspan="3">Test PlanningBox Page</td></tr>\n
 </thead><tbody>\n
+<!-- Planning Box is not displayed in mobile skin\n
+     So this test is skipped -->\n
+<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
 <tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/init" />\n
 <tr>\n
   <td>open</td>\n
@@ -195,6 +198,8 @@
   <td>//input[@id=\'axis_y_previous\']</td>\n
   <td></td>\n
 </tr>\n
+</tal:block>\n
+\n
 </tbody></table>\n
 </body>\n
 </html>\n
diff --git a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/planning_box_field_zuite/testPlanningBoxVerticalViewColumnHeader.xml b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/planning_box_field_zuite/testPlanningBoxVerticalViewColumnHeader.xml
index 39f4de53ee..c44217bfb4 100644
--- a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/planning_box_field_zuite/testPlanningBoxVerticalViewColumnHeader.xml
+++ b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/planning_box_field_zuite/testPlanningBoxVerticalViewColumnHeader.xml
@@ -51,6 +51,9 @@
 <tr><td rowspan="1" colspan="3">Test PlanningBox Vertical Column Header</td></tr>\n
 </thead><tbody tal:define="year python: DateTime().year();\n
                            now python: DateTime()">\n
+<!-- Planning Box is not displayed in mobile skin\n
+     So this test is skipped -->\n
+<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
 <tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/init" />\n
 <tr>\n
   <td>open</td>\n
@@ -338,6 +341,8 @@
   <td>Set Successfully.</td>\n
   <td></td>\n
 </tr>\n
+</tal:block>\n
+\n
 </tbody></table>\n
 </body>\n
 </html>\n
diff --git a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/planning_box_field_zuite/testPlanningBoxVerticalViewColumnHeaderLink.xml b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/planning_box_field_zuite/testPlanningBoxVerticalViewColumnHeaderLink.xml
index 6a50d63838..064435f8b0 100644
--- a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/planning_box_field_zuite/testPlanningBoxVerticalViewColumnHeaderLink.xml
+++ b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/planning_box_field_zuite/testPlanningBoxVerticalViewColumnHeaderLink.xml
@@ -50,6 +50,9 @@
 <thead>\n
 <tr><td rowspan="1" colspan="3">Test PlanningBox Vertical Column Header Link</td></tr>\n
 </thead><tbody tal:define="year python: DateTime().year()">\n
+<!-- Planning Box is not displayed in mobile skin\n
+     So this test is skipped -->\n
+<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
 <tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/init" />\n
 <tr>\n
   <td>open</td>\n
@@ -272,6 +275,8 @@
   <td>Set Successfully.</td>\n
   <td></td>\n
 </tr>\n
+</tal:block>\n
+\n
 </tbody></table>\n
 </body>\n
 </html>\n
diff --git a/bt5/erp5_ui_test/bt/revision b/bt5/erp5_ui_test/bt/revision
index 2d3d9c27b6..0642336574 100644
--- a/bt5/erp5_ui_test/bt/revision
+++ b/bt5/erp5_ui_test/bt/revision
@@ -1 +1 @@
-472
\ No newline at end of file
+473
\ No newline at end of file
-- 
2.30.9