Commit 81b83aa7 authored by Rafael Monnerat's avatar Rafael Monnerat

Replaced assertText per verifyText.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23792 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent af918601
......@@ -48,7 +48,7 @@
<body>\n
<table cellpadding="1" cellspacing="1" border="1">\n
<thead>\n
<tr><td rowspan="1" colspan="3">Test PlanningBox Next and Previous Lane</td></tr>\n
<tr><td rowspan="1" colspan="3">Test PlanningBox Next and Previous Lane Multiple Times</td></tr>\n
</thead><tbody tal:define="year python: DateTime().year();\n
now python: DateTime();\n
sday python: DateTime()-DateTime().dow();\n
......@@ -147,7 +147,7 @@
<tal:block tal:repeat="page page_list" tal:define="lane_list python:range(1,9);">\n
<tal:block tal:repeat="lane_num lane_list">\n
<tr tal:define="d python:now-page">\n
<td>assertText</td>\n
<td>verifyText</td>\n
<td tal:content=\'string: //div[@id="group_lane_${lane_num}"]\'></td>\n
<td tal:content="python: \'%s %02d/%02d %02d:00\' % (d.Day(), d.month(), d.day(), (lane_num-1)*3)"> </td>\n
</tr>\n
......@@ -181,7 +181,7 @@
<tal:block tal:repeat="page page_list" tal:define="lane_list python:range(1,9);">\n
<tal:block tal:repeat="lane_num lane_list">\n
<tr tal:define="d python:now+page">\n
<td>assertText</td>\n
<td>verifyText</td>\n
<td tal:content=\'string: //div[@id="group_lane_${lane_num}"]\'></td>\n
<td tal:content="python: \'%s %02d/%02d %02d:00\' % (d.Day(), d.month(), d.day(), (lane_num-1)*3)"> </td>\n
</tr>\n
......@@ -210,7 +210,7 @@
<tal:block tal:repeat="page page_list" tal:define="lane_list python:range(1,8);">\n
<tal:block tal:repeat="lane_num lane_list">\n
<tr tal:define="d python:sday-(page*7)+lane_num-1">\n
<td>assertText</td>\n
<td>verifyText</td>\n
<td tal:content=\'string: //div[@id="group_lane_${lane_num}"]\'></td>\n
<td tal:content="python: \'%s %04d/%02d/%02d\' % (d.Day(), d.year(), d.month(), d.day())"> </td>\n
</tr>\n
......@@ -234,7 +234,7 @@
<tal:block tal:repeat="page page_list" tal:define="lane_list python:range(1,8);">\n
<tal:block tal:repeat="lane_num lane_list">\n
<tr tal:define="d python:sday+(page*7)+lane_num-1">\n
<td>assertText</td>\n
<td>verifyText</td>\n
<td tal:content=\'string: //div[@id="group_lane_${lane_num}"]\'></td>\n
<td tal:content="python: \'%s %04d/%02d/%02d\' % (d.Day(), d.year(), d.month(), d.day())"> </td>\n
</tr>\n
......
......@@ -144,42 +144,42 @@
<td></td>\n
</tr>\n
<tr>\n
<td>assertText</td>\n
<td>verifyText</td>\n
<td>//div[@id="group_lane_1"]</td>\n
<td tal:content="python: \'%s %02d/%02d 00:00\' % (now.Day(), now.month(), now.day())"> </td>\n
</tr>\n
<tr>\n
<td>assertText</td>\n
<td>verifyText</td>\n
<td>//div[@id="group_lane_2"]</td>\n
<td tal:content="python: \'%s %02d/%02d 03:00\' % (now.Day(), now.month(), now.day())"> </td>\n
</tr>\n
<tr>\n
<td>assertText</td>\n
<td>verifyText</td>\n
<td>//div[@id="group_lane_3"]</td>\n
<td tal:content="python: \'%s %02d/%02d 06:00\' % (now.Day(), now.month(), now.day())"> </td>\n
</tr>\n
<tr>\n
<td>assertText</td>\n
<td>verifyText</td>\n
<td>//div[@id="group_lane_4"]</td>\n
<td tal:content="python: \'%s %02d/%02d 09:00\' % (now.Day(), now.month(), now.day())"> </td>\n
</tr>\n
<tr>\n
<td>assertText</td>\n
<td>verifyText</td>\n
<td>//div[@id="group_lane_5"]</td>\n
<td tal:content="python: \'%s %02d/%02d 12:00\' % (now.Day(), now.month(), now.day())"> </td>\n
</tr>\n
<tr>\n
<td>assertText</td>\n
<td>verifyText</td>\n
<td>//div[@id="group_lane_6"]</td>\n
<td tal:content="python: \'%s %02d/%02d 15:00\' % (now.Day(), now.month(), now.day())"> </td>\n
</tr>\n
<tr>\n
<td>assertText</td>\n
<td>verifyText</td>\n
<td>//div[@id="group_lane_7"]</td>\n
<td tal:content="python: \'%s %02d/%02d 18:00\' % (now.Day(), now.month(), now.day())"> </td>\n
</tr>\n
<tr>\n
<td>assertText</td>\n
<td>verifyText</td>\n
<td>//div[@id="group_lane_8"]</td>\n
<td tal:content="python: \'%s %02d/%02d 21:00\' % (now.Day(), now.month(), now.day())"> </td>\n
</tr>\n
......@@ -189,67 +189,67 @@
<td>label=Year</td>\n
</tr>\n
<tr>\n
<td>assertTextNotPresent</td>\n
<td>verifyTextNotPresent</td>\n
<td>Site Error</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>assertText</td>\n
<td>verifyText</td>\n
<td>//div[@id="group_lane_1"]</td>\n
<td tal:content="string:January $year"> </td>\n
</tr>\n
<tr>\n
<td>assertText</td>\n
<td>verifyText</td>\n
<td>//div[@id="group_lane_2"]</td>\n
<td tal:content="string:February $year"> </td>\n
</tr>\n
<tr>\n
<td>assertText</td>\n
<td>verifyText</td>\n
<td>//div[@id="group_lane_3"]</td>\n
<td tal:content="string:March $year"> </td>\n
</tr>\n
<tr>\n
<td>assertText</td>\n
<td>verifyText</td>\n
<td>//div[@id="group_lane_4"]</td>\n
<td tal:content="string:April $year"> </td>\n
</tr>\n
<tr>\n
<td>assertText</td>\n
<td>verifyText</td>\n
<td>//div[@id="group_lane_5"]</td>\n
<td tal:content="string:May $year"> </td>\n
</tr>\n
<tr>\n
<td>assertText</td>\n
<td>verifyText</td>\n
<td>//div[@id="group_lane_6"]</td>\n
<td tal:content="string:June $year"> </td>\n
</tr>\n
<tr>\n
<td>assertText</td>\n
<td>verifyText</td>\n
<td>//div[@id="group_lane_7"]</td>\n
<td tal:content="string:July $year"> </td>\n
</tr>\n
<tr>\n
<td>assertText</td>\n
<td>verifyText</td>\n
<td>//div[@id="group_lane_8"]</td>\n
<td tal:content="string:August $year"> </td>\n
</tr>\n
<tr>\n
<td>assertText</td>\n
<td>verifyText</td>\n
<td>//div[@id="group_lane_9"]</td>\n
<td tal:content="string:September $year"> </td>\n
</tr>\n
<tr>\n
<td>assertText</td>\n
<td>verifyText</td>\n
<td>//div[@id="group_lane_10"]</td>\n
<td tal:content="string:October $year"> </td>\n
</tr>\n
<tr>\n
<td>assertText</td>\n
<td>verifyText</td>\n
<td>//div[@id="group_lane_11"]</td>\n
<td tal:content="string:November $year"> </td>\n
</tr>\n
<tr>\n
<td>assertText</td>\n
<td>verifyText</td>\n
<td>//div[@id="group_lane_12"]</td>\n
<td tal:content="string:December 2008"> </td>\n
</tr>\n
......@@ -259,62 +259,62 @@
<td>label=Month</td>\n
</tr>\n
<tr>\n
<td>assertTextNotPresent</td>\n
<td>verifyTextNotPresent</td>\n
<td>Site Error</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>assertText</td>\n
<td>verifyText</td>\n
<td>//div[@id="group_lane_1"]</td>\n
<td tal:content="string:$year/01/01"/>\n
</tr>\n
<tr>\n
<td>assertText</td>\n
<td>verifyText</td>\n
<td>//div[@id="group_lane_2"]</td>\n
<td tal:content="string:$year/01/04"/>\n
</tr>\n
<tr>\n
<td>assertText</td>\n
<td>verifyText</td>\n
<td>//div[@id="group_lane_3"]</td>\n
<td tal:content="string:$year/01/07"/>\n
</tr>\n
<tr>\n
<td>assertText</td>\n
<td>verifyText</td>\n
<td>//div[@id="group_lane_4"]</td>\n
<td tal:content="string:$year/01/10"/>\n
</tr>\n
<tr>\n
<td>assertText</td>\n
<td>verifyText</td>\n
<td>//div[@id="group_lane_5"]</td>\n
<td tal:content="string:$year/01/13"/>\n
</tr>\n
<tr>\n
<td>assertText</td>\n
<td>verifyText</td>\n
<td>//div[@id="group_lane_6"]</td>\n
<td tal:content="string:$year/01/16"/>\n
</tr>\n
<tr>\n
<td>assertText</td>\n
<td>verifyText</td>\n
<td>//div[@id="group_lane_7"]</td>\n
<td tal:content="string:$year/01/19"/>\n
</tr>\n
<tr>\n
<td>assertText</td>\n
<td>verifyText</td>\n
<td>//div[@id="group_lane_8"]</td>\n
<td tal:content="string:$year/01/22"/>\n
</tr>\n
<tr>\n
<td>assertText</td>\n
<td>verifyText</td>\n
<td>//div[@id="group_lane_9"]</td>\n
<td tal:content="string:$year/01/25"/>\n
</tr>\n
<tr>\n
<td>assertText</td>\n
<td>verifyText</td>\n
<td>//div[@id="group_lane_10"]</td>\n
<td tal:content="string:$year/01/28"/>\n
</tr>\n
<tr>\n
<td>assertText</td>\n
<td>verifyText</td>\n
<td>//div[@id="group_lane_11"]</td>\n
<td tal:content="string:$year/01/31"/>\n
</tr>\n
......
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