Commit 2701dca0 authored by Jérome Perrin's avatar Jérome Perrin

Update tests for new day, week, month & year domains

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20066 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5aa7c434
...@@ -55,7 +55,8 @@ ...@@ -55,7 +55,8 @@
<table cellpadding="1" cellspacing="1" border="1">\n <table cellpadding="1" cellspacing="1" border="1">\n
<thead>\n <thead>\n
<tr><td rowspan="1" colspan="3">Test PlanningBox Column Header</td></tr>\n <tr><td rowspan="1" colspan="3">Test PlanningBox Column Header</td></tr>\n
</thead><tbody>\n </thead><tbody tal:define="year python: DateTime().year();\n
now python: DateTime()">\n
<tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/init" />\n <tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/init" />\n
<tr>\n <tr>\n
<td>open</td>\n <td>open</td>\n
...@@ -141,117 +142,118 @@ ...@@ -141,117 +142,118 @@
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
<td>//div[@id="group_lane_1"]</td>\n <td>//div[@id="group_lane_1"]</td>\n
<td tal:content="python: \'%s %s/%s 0:00\' % (DateTime().Day(), str(DateTime().month()), str(DateTime().day()))"> </td>\n <td tal:content="python: \'%s %02d/%02d 00:00\' % (now.Day(), now.month(), now.day())"> </td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
<td>//div[@id="group_lane_2"]</td>\n <td>//div[@id="group_lane_2"]</td>\n
<td tal:content="python: \'%s %s/%s 3:00\' % (DateTime().Day(), str(DateTime().month()), str(DateTime().day()))"> </td>\n <td tal:content="python: \'%s %02d/%02d 03:00\' % (now.Day(), now.month(), now.day())"> </td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
<td>//div[@id="group_lane_3"]</td>\n <td>//div[@id="group_lane_3"]</td>\n
<td tal:content="python: \'%s %s/%s 6:00\' % (DateTime().Day(), str(DateTime().month()), str(DateTime().day()))"> </td>\n <td tal:content="python: \'%s %02d/%02d 06:00\' % (now.Day(), now.month(), now.day())"> </td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
<td>//div[@id="group_lane_4"]</td>\n <td>//div[@id="group_lane_4"]</td>\n
<td tal:content="python: \'%s %s/%s 9:00\' % (DateTime().Day(), str(DateTime().month()), str(DateTime().day()))"> </td>\n <td tal:content="python: \'%s %02d/%02d 09:00\' % (now.Day(), now.month(), now.day())"> </td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
<td>//div[@id="group_lane_5"]</td>\n <td>//div[@id="group_lane_5"]</td>\n
<td tal:content="python: \'%s %s/%s 12:00\' % (DateTime().Day(), str(DateTime().month()), str(DateTime().day()))"> </td>\n <td tal:content="python: \'%s %02d/%02d 12:00\' % (now.Day(), now.month(), now.day())"> </td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
<td>//div[@id="group_lane_6"]</td>\n <td>//div[@id="group_lane_6"]</td>\n
<td tal:content="python: \'%s %s/%s 15:00\' % (DateTime().Day(), str(DateTime().month()), str(DateTime().day()))"> </td>\n <td tal:content="python: \'%s %02d/%02d 15:00\' % (now.Day(), now.month(), now.day())"> </td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
<td>//div[@id="group_lane_7"]</td>\n <td>//div[@id="group_lane_7"]</td>\n
<td tal:content="python: \'%s %s/%s 18:00\' % (DateTime().Day(), str(DateTime().month()), str(DateTime().day()))"> </td>\n <td tal:content="python: \'%s %02d/%02d 18:00\' % (now.Day(), now.month(), now.day())"> </td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
<td>//div[@id="group_lane_8"]</td>\n <td>//div[@id="group_lane_8"]</td>\n
<td tal:content="python: \'%s %s/%s 21:00\' % (DateTime().Day(), str(DateTime().month()), str(DateTime().day()))"> </td>\n <td tal:content="python: \'%s %02d/%02d 21:00\' % (now.Day(), now.month(), now.day())"> </td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
\t<td>selectAndWait</td>\n <td>selectAndWait</td>\n
\t<td>lane_path</td>\n <td>lane_path</td>\n
\t<td>label=Year</td>\n <td>label=Year</td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertTextNotPresent</td>\n <td>assertTextNotPresent</td>\n
<td>Site Error</td>\n <td>Site Error</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
\n
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
<td>//div[@id="group_lane_1"]</td>\n <td>//div[@id="group_lane_1"]</td>\n
<td tal:content="python: \'%s/1\' % (str(DateTime().year()))"> </td>\n <td tal:content="string:January $year"> </td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
<td>//div[@id="group_lane_2"]</td>\n <td>//div[@id="group_lane_2"]</td>\n
<td tal:content="python: \'%s/2\' % (str(DateTime().year()))"> </td>\n <td tal:content="string:February $year"> </td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
<td>//div[@id="group_lane_3"]</td>\n <td>//div[@id="group_lane_3"]</td>\n
<td tal:content="python: \'%s/3\' % (str(DateTime().year()))"> </td>\n <td tal:content="string:March $year"> </td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
<td>//div[@id="group_lane_4"]</td>\n <td>//div[@id="group_lane_4"]</td>\n
<td tal:content="python: \'%s/4\' % (str(DateTime().year()))"> </td>\n <td tal:content="string:April $year"> </td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
<td>//div[@id="group_lane_5"]</td>\n <td>//div[@id="group_lane_5"]</td>\n
<td tal:content="python: \'%s/5\' % (str(DateTime().year()))"> </td>\n <td tal:content="string:May $year"> </td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
<td>//div[@id="group_lane_6"]</td>\n <td>//div[@id="group_lane_6"]</td>\n
<td tal:content="python: \'%s/6\' % (str(DateTime().year()))"> </td>\n <td tal:content="string:June $year"> </td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
<td>//div[@id="group_lane_7"]</td>\n <td>//div[@id="group_lane_7"]</td>\n
<td tal:content="python: \'%s/7\' % (str(DateTime().year()))"> </td>\n <td tal:content="string:July $year"> </td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
<td>//div[@id="group_lane_8"]</td>\n <td>//div[@id="group_lane_8"]</td>\n
<td tal:content="python: \'%s/8\' % (str(DateTime().year()))"> </td>\n <td tal:content="string:August $year"> </td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
<td>//div[@id="group_lane_9"]</td>\n <td>//div[@id="group_lane_9"]</td>\n
<td tal:content="python: \'%s/9\' % (str(DateTime().year()))"> </td>\n <td tal:content="string:September $year"> </td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
<td>//div[@id="group_lane_10"]</td>\n <td>//div[@id="group_lane_10"]</td>\n
<td tal:content="python: \'%s/10\' % (str(DateTime().year()))"> </td>\n <td tal:content="string:October $year"> </td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
<td>//div[@id="group_lane_11"]</td>\n <td>//div[@id="group_lane_11"]</td>\n
<td tal:content="python: \'%s/11\' % (str(DateTime().year()))"> </td>\n <td tal:content="string:November $year"> </td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
<td>//div[@id="group_lane_12"]</td>\n <td>//div[@id="group_lane_12"]</td>\n
<td tal:content="python: \'%s/12\' % (str(DateTime().year()))"> </td>\n <td tal:content="string:December $year"> </td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
\t<td>selectAndWait</td>\n <td>selectAndWait</td>\n
\t<td>lane_path</td>\n <td>lane_path</td>\n
\t<td>label=Month</td>\n <td>label=Month</td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertTextNotPresent</td>\n <td>assertTextNotPresent</td>\n
...@@ -261,62 +263,62 @@ ...@@ -261,62 +263,62 @@
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
<td>//div[@id="group_lane_1"]</td>\n <td>//div[@id="group_lane_1"]</td>\n
<td tal:content="python: \'%s/1/1\' % (str(DateTime().year()))"> </td>\n <td tal:content="string:$year/01/01"/>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
<td>//div[@id="group_lane_2"]</td>\n <td>//div[@id="group_lane_2"]</td>\n
<td tal:content="python: \'%s/1/4\' % (str(DateTime().year()))"> </td>\n <td tal:content="string:$year/01/04"/>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
<td>//div[@id="group_lane_3"]</td>\n <td>//div[@id="group_lane_3"]</td>\n
<td tal:content="python: \'%s/1/7\' % (str(DateTime().year()))"> </td>\n <td tal:content="string:$year/01/07"/>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
<td>//div[@id="group_lane_4"]</td>\n <td>//div[@id="group_lane_4"]</td>\n
<td tal:content="python: \'%s/1/10\' % (str(DateTime().year()))"> </td>\n <td tal:content="string:$year/01/10"/>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
<td>//div[@id="group_lane_5"]</td>\n <td>//div[@id="group_lane_5"]</td>\n
<td tal:content="python: \'%s/1/13\' % (str(DateTime().year()))"> </td>\n <td tal:content="string:$year/01/13"/>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
<td>//div[@id="group_lane_6"]</td>\n <td>//div[@id="group_lane_6"]</td>\n
<td tal:content="python: \'%s/1/16\' % (str(DateTime().year()))"> </td>\n <td tal:content="string:$year/01/16"/>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
<td>//div[@id="group_lane_7"]</td>\n <td>//div[@id="group_lane_7"]</td>\n
<td tal:content="python: \'%s/1/19\' % (str(DateTime().year()))"> </td>\n <td tal:content="string:$year/01/19"/>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
<td>//div[@id="group_lane_8"]</td>\n <td>//div[@id="group_lane_8"]</td>\n
<td tal:content="python: \'%s/1/22\' % (str(DateTime().year()))"> </td>\n <td tal:content="string:$year/01/22"/>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
<td>//div[@id="group_lane_9"]</td>\n <td>//div[@id="group_lane_9"]</td>\n
<td tal:content="python: \'%s/1/25\' % (str(DateTime().year()))"> </td>\n <td tal:content="string:$year/01/25"/>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
<td>//div[@id="group_lane_10"]</td>\n <td>//div[@id="group_lane_10"]</td>\n
<td tal:content="python: \'%s/1/28\' % (str(DateTime().year()))"> </td>\n <td tal:content="string:$year/01/28"/>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
<td>//div[@id="group_lane_11"]</td>\n <td>//div[@id="group_lane_11"]</td>\n
<td tal:content="python: \'%s/1/31\' % (str(DateTime().year()))"> </td>\n <td tal:content="string:$year/01/31"/>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
\t<td>selectAndWait</td>\n <td>selectAndWait</td>\n
\t<td>lane_path</td>\n <td>lane_path</td>\n
\t<td>label=Day</td>\n <td>label=Day</td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertTextNotPresent</td>\n <td>assertTextNotPresent</td>\n
......
...@@ -55,7 +55,8 @@ ...@@ -55,7 +55,8 @@
<table cellpadding="1" cellspacing="1" border="1">\n <table cellpadding="1" cellspacing="1" border="1">\n
<thead>\n <thead>\n
<tr><td rowspan="1" colspan="3">Test PlanningBox Column Header Link</td></tr>\n <tr><td rowspan="1" colspan="3">Test PlanningBox Column Header Link</td></tr>\n
</thead><tbody>\n </thead><tbody tal:define="year python: DateTime().year();\n
now python: DateTime()">\n
<tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/init" />\n <tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/init" />\n
<tr>\n <tr>\n
<td>open</td>\n <td>open</td>\n
...@@ -139,9 +140,9 @@ ...@@ -139,9 +140,9 @@
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
\t<td>selectAndWait</td>\n <td>selectAndWait</td>\n
\t<td>lane_path</td>\n <td>lane_path</td>\n
\t<td>label=Year</td>\n <td>label=Year</td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertTextNotPresent</td>\n <td>assertTextNotPresent</td>\n
...@@ -151,62 +152,62 @@ ...@@ -151,62 +152,62 @@
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
<td>//div[@id="group_lane_1"]</td>\n <td>//div[@id="group_lane_1"]</td>\n
<td tal:content="python: \'%s/1\' % (str(DateTime().year()))"> </td>\n <td tal:content="string:January $year"> </td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
<td>//div[@id="group_lane_2"]</td>\n <td>//div[@id="group_lane_2"]</td>\n
<td tal:content="python: \'%s/2\' % (str(DateTime().year()))"> </td>\n <td tal:content="string:February $year"> </td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
<td>//div[@id="group_lane_3"]</td>\n <td>//div[@id="group_lane_3"]</td>\n
<td tal:content="python: \'%s/3\' % (str(DateTime().year()))"> </td>\n <td tal:content="string:March $year"> </td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
<td>//div[@id="group_lane_4"]</td>\n <td>//div[@id="group_lane_4"]</td>\n
<td tal:content="python: \'%s/4\' % (str(DateTime().year()))"> </td>\n <td tal:content="string:April $year"> </td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
<td>//div[@id="group_lane_5"]</td>\n <td>//div[@id="group_lane_5"]</td>\n
<td tal:content="python: \'%s/5\' % (str(DateTime().year()))"> </td>\n <td tal:content="string:May $year"> </td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
<td>//div[@id="group_lane_6"]</td>\n <td>//div[@id="group_lane_6"]</td>\n
<td tal:content="python: \'%s/6\' % (str(DateTime().year()))"> </td>\n <td tal:content="string:June $year"> </td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
<td>//div[@id="group_lane_7"]</td>\n <td>//div[@id="group_lane_7"]</td>\n
<td tal:content="python: \'%s/7\' % (str(DateTime().year()))"> </td>\n <td tal:content="string:July $year"> </td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
<td>//div[@id="group_lane_8"]</td>\n <td>//div[@id="group_lane_8"]</td>\n
<td tal:content="python: \'%s/8\' % (str(DateTime().year()))"> </td>\n <td tal:content="string:August $year"> </td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
<td>//div[@id="group_lane_9"]</td>\n <td>//div[@id="group_lane_9"]</td>\n
<td tal:content="python: \'%s/9\' % (str(DateTime().year()))"> </td>\n <td tal:content="string:September $year"> </td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
<td>//div[@id="group_lane_10"]</td>\n <td>//div[@id="group_lane_10"]</td>\n
<td tal:content="python: \'%s/10\' % (str(DateTime().year()))"> </td>\n <td tal:content="string:October $year"> </td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
<td>//div[@id="group_lane_11"]</td>\n <td>//div[@id="group_lane_11"]</td>\n
<td tal:content="python: \'%s/11\' % (str(DateTime().year()))"> </td>\n <td tal:content="string:November $year"> </td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
<td>//div[@id="group_lane_12"]</td>\n <td>//div[@id="group_lane_12"]</td>\n
<td tal:content="python: \'%s/12\' % (str(DateTime().year()))"> </td>\n <td tal:content="string:December $year"> </td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>verifyText</td>\n <td>verifyText</td>\n
......
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
xmlns:metal="http://xml.zope.org/namespaces/metal">\n xmlns:metal="http://xml.zope.org/namespaces/metal">\n
<head>\n <head>\n
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">\n <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">\n
<title>Test Planning Box Field </title>\n <title>Test Planning Box Data Info</title>\n
</head>\n </head>\n
<body>\n <body>\n
<table cellpadding="1" cellspacing="1" border="1">\n <table cellpadding="1" cellspacing="1" border="1">\n
......
...@@ -49,13 +49,14 @@ ...@@ -49,13 +49,14 @@
xmlns:metal="http://xml.zope.org/namespaces/metal">\n xmlns:metal="http://xml.zope.org/namespaces/metal">\n
<head>\n <head>\n
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">\n <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">\n
<title>Test Planning Box Field </title>\n <title>Test PlanningBox Vertical Column Header</title>\n
</head>\n </head>\n
<body>\n <body>\n
<table cellpadding="1" cellspacing="1" border="1">\n <table cellpadding="1" cellspacing="1" border="1">\n
<thead>\n <thead>\n
<tr><td rowspan="1" colspan="3">Test PlanningBox Column Header</td></tr>\n <tr><td rowspan="1" colspan="3">Test PlanningBox Vertical Column Header</td></tr>\n
</thead><tbody>\n </thead><tbody tal:define="year python: DateTime().year();\n
now python: DateTime()">\n
<tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/init" />\n <tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/init" />\n
<tr>\n <tr>\n
<td>open</td>\n <td>open</td>\n
...@@ -151,47 +152,47 @@ ...@@ -151,47 +152,47 @@
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
<td>//div[@id="group_lane_1"]</td>\n <td>//div[@id="group_lane_1"]</td>\n
<td tal:content="python: \'%s %s/%s 0:00\' % (DateTime().Day(), str(DateTime().month()), str(DateTime().day()))"> </td>\n <td tal:content="python: \'%s %02d/%02d 00:00\' % (now.Day(), now.month(), now.day())"> </td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
<td>//div[@id="group_lane_2"]</td>\n <td>//div[@id="group_lane_2"]</td>\n
<td tal:content="python: \'%s %s/%s 3:00\' % (DateTime().Day(), str(DateTime().month()), str(DateTime().day()))"> </td>\n <td tal:content="python: \'%s %02d/%02d 03:00\' % (now.Day(), now.month(), now.day())"> </td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
<td>//div[@id="group_lane_3"]</td>\n <td>//div[@id="group_lane_3"]</td>\n
<td tal:content="python: \'%s %s/%s 6:00\' % (DateTime().Day(), str(DateTime().month()), str(DateTime().day()))"> </td>\n <td tal:content="python: \'%s %02d/%02d 06:00\' % (now.Day(), now.month(), now.day())"> </td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
<td>//div[@id="group_lane_4"]</td>\n <td>//div[@id="group_lane_4"]</td>\n
<td tal:content="python: \'%s %s/%s 9:00\' % (DateTime().Day(), str(DateTime().month()), str(DateTime().day()))"> </td>\n <td tal:content="python: \'%s %02d/%02d 09:00\' % (now.Day(), now.month(), now.day())"> </td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
<td>//div[@id="group_lane_5"]</td>\n <td>//div[@id="group_lane_5"]</td>\n
<td tal:content="python: \'%s %s/%s 12:00\' % (DateTime().Day(), str(DateTime().month()), str(DateTime().day()))"> </td>\n <td tal:content="python: \'%s %02d/%02d 12:00\' % (now.Day(), now.month(), now.day())"> </td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
<td>//div[@id="group_lane_6"]</td>\n <td>//div[@id="group_lane_6"]</td>\n
<td tal:content="python: \'%s %s/%s 15:00\' % (DateTime().Day(), str(DateTime().month()), str(DateTime().day()))"> </td>\n <td tal:content="python: \'%s %02d/%02d 15:00\' % (now.Day(), now.month(), now.day())"> </td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
<td>//div[@id="group_lane_7"]</td>\n <td>//div[@id="group_lane_7"]</td>\n
<td tal:content="python: \'%s %s/%s 18:00\' % (DateTime().Day(), str(DateTime().month()), str(DateTime().day()))"> </td>\n <td tal:content="python: \'%s %02d/%02d 18:00\' % (now.Day(), now.month(), now.day())"> </td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
<td>//div[@id="group_lane_8"]</td>\n <td>//div[@id="group_lane_8"]</td>\n
<td tal:content="python: \'%s %s/%s 21:00\' % (DateTime().Day(), str(DateTime().month()), str(DateTime().day()))"> </td>\n <td tal:content="python: \'%s %02d/%02d 21:00\' % (now.Day(), now.month(), now.day())"> </td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
\t<td>selectAndWait</td>\n <td>selectAndWait</td>\n
\t<td>lane_path</td>\n <td>lane_path</td>\n
\t<td>label=Year</td>\n <td>label=Year</td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertTextNotPresent</td>\n <td>assertTextNotPresent</td>\n
...@@ -201,67 +202,67 @@ ...@@ -201,67 +202,67 @@
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
<td>//div[@id="group_lane_1"]</td>\n <td>//div[@id="group_lane_1"]</td>\n
<td tal:content="python: \'%s/1\' % (str(DateTime().year()))"> </td>\n <td tal:content="string:January $year"> </td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
<td>//div[@id="group_lane_2"]</td>\n <td>//div[@id="group_lane_2"]</td>\n
<td tal:content="python: \'%s/2\' % (str(DateTime().year()))"> </td>\n <td tal:content="string:February $year"> </td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
<td>//div[@id="group_lane_3"]</td>\n <td>//div[@id="group_lane_3"]</td>\n
<td tal:content="python: \'%s/3\' % (str(DateTime().year()))"> </td>\n <td tal:content="string:March $year"> </td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
<td>//div[@id="group_lane_4"]</td>\n <td>//div[@id="group_lane_4"]</td>\n
<td tal:content="python: \'%s/4\' % (str(DateTime().year()))"> </td>\n <td tal:content="string:April $year"> </td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
<td>//div[@id="group_lane_5"]</td>\n <td>//div[@id="group_lane_5"]</td>\n
<td tal:content="python: \'%s/5\' % (str(DateTime().year()))"> </td>\n <td tal:content="string:May $year"> </td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
<td>//div[@id="group_lane_6"]</td>\n <td>//div[@id="group_lane_6"]</td>\n
<td tal:content="python: \'%s/6\' % (str(DateTime().year()))"> </td>\n <td tal:content="string:June $year"> </td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
<td>//div[@id="group_lane_7"]</td>\n <td>//div[@id="group_lane_7"]</td>\n
<td tal:content="python: \'%s/7\' % (str(DateTime().year()))"> </td>\n <td tal:content="string:July $year"> </td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
<td>//div[@id="group_lane_8"]</td>\n <td>//div[@id="group_lane_8"]</td>\n
<td tal:content="python: \'%s/8\' % (str(DateTime().year()))"> </td>\n <td tal:content="string:August $year"> </td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
<td>//div[@id="group_lane_9"]</td>\n <td>//div[@id="group_lane_9"]</td>\n
<td tal:content="python: \'%s/9\' % (str(DateTime().year()))"> </td>\n <td tal:content="string:September $year"> </td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
<td>//div[@id="group_lane_10"]</td>\n <td>//div[@id="group_lane_10"]</td>\n
<td tal:content="python: \'%s/10\' % (str(DateTime().year()))"> </td>\n <td tal:content="string:October $year"> </td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
<td>//div[@id="group_lane_11"]</td>\n <td>//div[@id="group_lane_11"]</td>\n
<td tal:content="python: \'%s/11\' % (str(DateTime().year()))"> </td>\n <td tal:content="string:November $year"> </td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
<td>//div[@id="group_lane_12"]</td>\n <td>//div[@id="group_lane_12"]</td>\n
<td tal:content="python: \'%s/12\' % (str(DateTime().year()))"> </td>\n <td tal:content="string:December 2008"> </td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
\t<td>selectAndWait</td>\n <td>selectAndWait</td>\n
\t<td>lane_path</td>\n <td>lane_path</td>\n
\t<td>label=Month</td>\n <td>label=Month</td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertTextNotPresent</td>\n <td>assertTextNotPresent</td>\n
...@@ -271,62 +272,62 @@ ...@@ -271,62 +272,62 @@
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
<td>//div[@id="group_lane_1"]</td>\n <td>//div[@id="group_lane_1"]</td>\n
<td tal:content="python: \'%s/1/1\' % (str(DateTime().year()))"> </td>\n <td tal:content="string:$year/01/01"/>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
<td>//div[@id="group_lane_2"]</td>\n <td>//div[@id="group_lane_2"]</td>\n
<td tal:content="python: \'%s/1/4\' % (str(DateTime().year()))"> </td>\n <td tal:content="string:$year/01/04"/>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
<td>//div[@id="group_lane_3"]</td>\n <td>//div[@id="group_lane_3"]</td>\n
<td tal:content="python: \'%s/1/7\' % (str(DateTime().year()))"> </td>\n <td tal:content="string:$year/01/07"/>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
<td>//div[@id="group_lane_4"]</td>\n <td>//div[@id="group_lane_4"]</td>\n
<td tal:content="python: \'%s/1/10\' % (str(DateTime().year()))"> </td>\n <td tal:content="string:$year/01/10"/>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
<td>//div[@id="group_lane_5"]</td>\n <td>//div[@id="group_lane_5"]</td>\n
<td tal:content="python: \'%s/1/13\' % (str(DateTime().year()))"> </td>\n <td tal:content="string:$year/01/13"/>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
<td>//div[@id="group_lane_6"]</td>\n <td>//div[@id="group_lane_6"]</td>\n
<td tal:content="python: \'%s/1/16\' % (str(DateTime().year()))"> </td>\n <td tal:content="string:$year/01/16"/>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
<td>//div[@id="group_lane_7"]</td>\n <td>//div[@id="group_lane_7"]</td>\n
<td tal:content="python: \'%s/1/19\' % (str(DateTime().year()))"> </td>\n <td tal:content="string:$year/01/19"/>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
<td>//div[@id="group_lane_8"]</td>\n <td>//div[@id="group_lane_8"]</td>\n
<td tal:content="python: \'%s/1/22\' % (str(DateTime().year()))"> </td>\n <td tal:content="string:$year/01/22"/>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
<td>//div[@id="group_lane_9"]</td>\n <td>//div[@id="group_lane_9"]</td>\n
<td tal:content="python: \'%s/1/25\' % (str(DateTime().year()))"> </td>\n <td tal:content="string:$year/01/25"/>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
<td>//div[@id="group_lane_10"]</td>\n <td>//div[@id="group_lane_10"]</td>\n
<td tal:content="python: \'%s/1/28\' % (str(DateTime().year()))"> </td>\n <td tal:content="string:$year/01/28"/>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
<td>//div[@id="group_lane_11"]</td>\n <td>//div[@id="group_lane_11"]</td>\n
<td tal:content="python: \'%s/1/31\' % (str(DateTime().year()))"> </td>\n <td tal:content="string:$year/01/31"/>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
\t<td>selectAndWait</td>\n <td>selectAndWait</td>\n
\t<td>lane_path</td>\n <td>lane_path</td>\n
\t<td>label=Day</td>\n <td>label=Day</td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertTextNotPresent</td>\n <td>assertTextNotPresent</td>\n
......
...@@ -49,13 +49,13 @@ ...@@ -49,13 +49,13 @@
xmlns:metal="http://xml.zope.org/namespaces/metal">\n xmlns:metal="http://xml.zope.org/namespaces/metal">\n
<head>\n <head>\n
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">\n <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">\n
<title>Test Planning Box Field </title>\n <title>Test PlanningBox Vertical Column Header Link</title>\n
</head>\n </head>\n
<body>\n <body>\n
<table cellpadding="1" cellspacing="1" border="1">\n <table cellpadding="1" cellspacing="1" border="1">\n
<thead>\n <thead>\n
<tr><td rowspan="1" colspan="3">Test PlanningBox Column Header Link</td></tr>\n <tr><td rowspan="1" colspan="3">Test PlanningBox Vertical Column Header Link</td></tr>\n
</thead><tbody>\n </thead><tbody tal:define="year python: DateTime().year()">\n
<tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/init" />\n <tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/init" />\n
<tr>\n <tr>\n
<td>open</td>\n <td>open</td>\n
...@@ -161,62 +161,62 @@ ...@@ -161,62 +161,62 @@
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
<td>//div[@id="group_lane_1"]</td>\n <td>//div[@id="group_lane_1"]</td>\n
<td tal:content="python: \'%s/1\' % (str(DateTime().year()))"> </td>\n <td tal:content="string:January $year"> </td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
<td>//div[@id="group_lane_2"]</td>\n <td>//div[@id="group_lane_2"]</td>\n
<td tal:content="python: \'%s/2\' % (str(DateTime().year()))"> </td>\n <td tal:content="string:February $year"> </td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
<td>//div[@id="group_lane_3"]</td>\n <td>//div[@id="group_lane_3"]</td>\n
<td tal:content="python: \'%s/3\' % (str(DateTime().year()))"> </td>\n <td tal:content="string:March $year"> </td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
<td>//div[@id="group_lane_4"]</td>\n <td>//div[@id="group_lane_4"]</td>\n
<td tal:content="python: \'%s/4\' % (str(DateTime().year()))"> </td>\n <td tal:content="string:April $year"> </td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
<td>//div[@id="group_lane_5"]</td>\n <td>//div[@id="group_lane_5"]</td>\n
<td tal:content="python: \'%s/5\' % (str(DateTime().year()))"> </td>\n <td tal:content="string:May $year"> </td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
<td>//div[@id="group_lane_6"]</td>\n <td>//div[@id="group_lane_6"]</td>\n
<td tal:content="python: \'%s/6\' % (str(DateTime().year()))"> </td>\n <td tal:content="string:June $year"> </td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
<td>//div[@id="group_lane_7"]</td>\n <td>//div[@id="group_lane_7"]</td>\n
<td tal:content="python: \'%s/7\' % (str(DateTime().year()))"> </td>\n <td tal:content="string:July $year"> </td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
<td>//div[@id="group_lane_8"]</td>\n <td>//div[@id="group_lane_8"]</td>\n
<td tal:content="python: \'%s/8\' % (str(DateTime().year()))"> </td>\n <td tal:content="string:August $year"> </td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
<td>//div[@id="group_lane_9"]</td>\n <td>//div[@id="group_lane_9"]</td>\n
<td tal:content="python: \'%s/9\' % (str(DateTime().year()))"> </td>\n <td tal:content="string:September $year"> </td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
<td>//div[@id="group_lane_10"]</td>\n <td>//div[@id="group_lane_10"]</td>\n
<td tal:content="python: \'%s/10\' % (str(DateTime().year()))"> </td>\n <td tal:content="string:October $year"> </td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
<td>//div[@id="group_lane_11"]</td>\n <td>//div[@id="group_lane_11"]</td>\n
<td tal:content="python: \'%s/11\' % (str(DateTime().year()))"> </td>\n <td tal:content="string:November $year"> </td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertText</td>\n <td>assertText</td>\n
<td>//div[@id="group_lane_12"]</td>\n <td>//div[@id="group_lane_12"]</td>\n
<td tal:content="python: \'%s/12\' % (str(DateTime().year()))"> </td>\n <td tal:content="string:December 2008"> </td>\n
</tr>\n </tr>\n
<!-- tr>\n <!-- tr>\n
<td>verifyText</td>\n <td>verifyText</td>\n
......
331 332
\ 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