Commit b58c584b authored by Rafael Monnerat's avatar Rafael Monnerat

added more checks for Column Header

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16243 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e8a8a44f
......@@ -102,7 +102,7 @@
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>string:${object_url}/planningbox.png</string> </value>
<value> <string>string:${object_url}/images/planningbox.png</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -132,7 +132,13 @@
</tr>\n
<tr>\n
<td>assertTextNotPresent</td>\n
<td>PlanningBoxError</td>\n
<td>Site Error</td>\n
<td></td>\n
</tr>\n
<!-- Make sure that we are working with currently date -->\n
<tr>\n
<td>clickAndWait</td>\n
<td>//img[@name=\'JumpToCurrentDay\']</td>\n
<td></td>\n
</tr>\n
<tr>\n
......@@ -175,7 +181,141 @@
<td>//div[@id="Group_sec_8"]</td>\n
<td tal:content="python: \'%s %s/%s 21:00\' % (DateTime().Day(), str(DateTime().month()), str(DateTime().day()))"> </td>\n
</tr>\n
\n
<tr>\n
\t<td>selectAndWait</td>\n
\t<td>zoom_level</td>\n
\t<td>label=Year</td>\n
</tr>\n
<tr>\n
<td>assertTextNotPresent</td>\n
<td>Site Error</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>assertText</td>\n
<td>//div[@id="Group_sec_1"]</td>\n
<td tal:content="python: \'%s/1\' % (str(DateTime().year()))"> </td>\n
</tr>\n
<tr>\n
<td>assertText</td>\n
<td>//div[@id="Group_sec_2"]</td>\n
<td tal:content="python: \'%s/2\' % (str(DateTime().year()))"> </td>\n
</tr>\n
<tr>\n
<td>assertText</td>\n
<td>//div[@id="Group_sec_3"]</td>\n
<td tal:content="python: \'%s/3\' % (str(DateTime().year()))"> </td>\n
</tr>\n
<tr>\n
<td>assertText</td>\n
<td>//div[@id="Group_sec_4"]</td>\n
<td tal:content="python: \'%s/4\' % (str(DateTime().year()))"> </td>\n
</tr>\n
<tr>\n
<td>assertText</td>\n
<td>//div[@id="Group_sec_5"]</td>\n
<td tal:content="python: \'%s/5\' % (str(DateTime().year()))"> </td>\n
</tr>\n
<tr>\n
<td>assertText</td>\n
<td>//div[@id="Group_sec_6"]</td>\n
<td tal:content="python: \'%s/6\' % (str(DateTime().year()))"> </td>\n
</tr>\n
<tr>\n
<td>assertText</td>\n
<td>//div[@id="Group_sec_7"]</td>\n
<td tal:content="python: \'%s/7\' % (str(DateTime().year()))"> </td>\n
</tr>\n
<tr>\n
<td>assertText</td>\n
<td>//div[@id="Group_sec_8"]</td>\n
<td tal:content="python: \'%s/8\' % (str(DateTime().year()))"> </td>\n
</tr>\n
<tr>\n
<td>assertText</td>\n
<td>//div[@id="Group_sec_9"]</td>\n
<td tal:content="python: \'%s/9\' % (str(DateTime().year()))"> </td>\n
</tr>\n
<tr>\n
<td>assertText</td>\n
<td>//div[@id="Group_sec_10"]</td>\n
<td tal:content="python: \'%s/10\' % (str(DateTime().year()))"> </td>\n
</tr>\n
<tr>\n
<td>assertText</td>\n
<td>//div[@id="Group_sec_11"]</td>\n
<td tal:content="python: \'%s/11\' % (str(DateTime().year()))"> </td>\n
</tr>\n
<tr>\n
<td>assertText</td>\n
<td>//div[@id="Group_sec_12"]</td>\n
<td tal:content="python: \'%s/12\' % (str(DateTime().year()))"> </td>\n
</tr>\n
<tr>\n
\t<td>selectAndWait</td>\n
\t<td>zoom_level</td>\n
\t<td>label=Month</td>\n
</tr>\n
<tr>\n
<td>assertTextNotPresent</td>\n
<td>Site Error</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>assertText</td>\n
<td>//div[@id="Group_sec_1"]</td>\n
<td tal:content="python: \'%s/1/1\' % (str(DateTime().year()))"> </td>\n
</tr>\n
<tr>\n
<td>assertText</td>\n
<td>//div[@id="Group_sec_2"]</td>\n
<td tal:content="python: \'%s/1/4\' % (str(DateTime().year()))"> </td>\n
</tr>\n
<tr>\n
<td>assertText</td>\n
<td>//div[@id="Group_sec_3"]</td>\n
<td tal:content="python: \'%s/1/7\' % (str(DateTime().year()))"> </td>\n
</tr>\n
<tr>\n
<td>assertText</td>\n
<td>//div[@id="Group_sec_4"]</td>\n
<td tal:content="python: \'%s/1/10\' % (str(DateTime().year()))"> </td>\n
</tr>\n
<tr>\n
<td>assertText</td>\n
<td>//div[@id="Group_sec_5"]</td>\n
<td tal:content="python: \'%s/1/13\' % (str(DateTime().year()))"> </td>\n
</tr>\n
<tr>\n
<td>assertText</td>\n
<td>//div[@id="Group_sec_6"]</td>\n
<td tal:content="python: \'%s/1/16\' % (str(DateTime().year()))"> </td>\n
</tr>\n
<tr>\n
<td>assertText</td>\n
<td>//div[@id="Group_sec_7"]</td>\n
<td tal:content="python: \'%s/1/19\' % (str(DateTime().year()))"> </td>\n
</tr>\n
<tr>\n
<td>assertText</td>\n
<td>//div[@id="Group_sec_8"]</td>\n
<td tal:content="python: \'%s/1/22\' % (str(DateTime().year()))"> </td>\n
</tr>\n
<tr>\n
<td>assertText</td>\n
<td>//div[@id="Group_sec_9"]</td>\n
<td tal:content="python: \'%s/1/25\' % (str(DateTime().year()))"> </td>\n
</tr>\n
<tr>\n
<td>assertText</td>\n
<td>//div[@id="Group_sec_10"]</td>\n
<td tal:content="python: \'%s/1/28\' % (str(DateTime().year()))"> </td>\n
</tr>\n
<tr>\n
<td>assertText</td>\n
<td>//div[@id="Group_sec_11"]</td>\n
<td tal:content="python: \'%s/1/31\' % (str(DateTime().year()))"> </td>\n
</tr>\n
</tbody></table>\n
</body>\n
</html>
......
208
\ No newline at end of file
209
\ 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