Commit 5d93e7a2 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

We don't have assertAbsoluteLocation in svn trunk Zelenium. Using...

We don't have assertAbsoluteLocation in svn trunk Zelenium. Using assertLocation with the path part having '*' at the head and the end is compatible on both version.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25433 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 0f122e87
......@@ -66,8 +66,8 @@
<!-- as the init macro create 1 Foo, we assume that our newly created foo will\n
have id "2". This is probably a bit too stupid. -->\n
<tr>\n
<td>assertAbsoluteLocation</td>\n
<td tal:content="python:\'glob:%s/foo_module/2/view*\' % here.getPortalObject().absolute_url()"/>\n
<td>assertLocation</td>\n
<td tal:content="python:\'*%s/foo_module/2/view*\' % here.getPortalObject().absolute_url_path()"/>\n
<td></td>\n
</tr>\n
<tr>\n
......@@ -87,8 +87,8 @@ have id "2". This is probably a bit too stupid. -->\n
<td>Add Foo Line</td>\n
</tr>\n
<tr>\n
<td>assertAbsoluteLocation</td>\n
<td tal:content="python: \'glob:%s/foo_module/2/1/view*\' % here.getPortalObject().absolute_url()"/>\n
<td>assertLocation</td>\n
<td tal:content="python:\'*%s/foo_module/2/1/view*\' % here.getPortalObject().absolute_url_path()"/>\n
<td></td>\n
</tr>\n
<tr>\n
......@@ -115,8 +115,8 @@ have id "2". This is probably a bit too stupid. -->\n
<td></td>\n
</tr>\n
<tr>\n
<td>assertAbsoluteLocation</td>\n
<td tal:content="string:glob:${here/portal_url}/foo_module/3/view*"/>\n
<td>assertLocation</td>\n
<td tal:content="python:\'*%s/foo_module/3/view*\' % here.getPortalObject().absolute_url_path()"/>\n
<td></td>\n
</tr>\n
<tr>\n
......@@ -137,8 +137,8 @@ another object of the same type. -->\n
<td></td>\n
</tr>\n
<tr>\n
<td>assertAbsoluteLocation</td>\n
<td tal:content="string:glob:${here/portal_url}/foo_module/4/Foo_view*"/>\n
<td>assertLocation</td>\n
<td tal:content="python:\'*%s/foo_module/4/Foo_view*\' % here.getPortalObject().absolute_url_path()"/>\n
<td></td>\n
</tr>\n
<tr>\n
......
......@@ -102,8 +102,8 @@
<td></td>\n
</tr>\n
<tr>\n
<td>assertAbsoluteLocation</td>\n
<td tal:content="string:glob:${here/portal_url}/foo_module/0/Foo_view*"/>\n
<td>assertLocation</td>\n
<td tal:content="python:\'*%s/foo_module/0/Foo_view*\' % here.getPortalObject().absolute_url_path()"/>\n
<td></td>\n
</tr>\n
<!-- We check that the transition has not been passed by looking at the\n
......
......@@ -66,8 +66,8 @@
<!-- as the init macro create 1 Foo, we assume that our newly created foo will\n
have id "2". This is probably a bit too stupid. -->\n
<tr>\n
<td>assertAbsoluteLocation</td>\n
<td tal:content="string:glob:${here/portal_url}/foo_module/2/view*"/>\n
<td>assertLocation</td>\n
<td tal:content="python:\'*%s/foo_module/2/view*\' % here.getPortalObject().absolute_url_path()"/>\n
<td></td>\n
</tr>\n
<tr>\n
......@@ -87,8 +87,8 @@ have id "2". This is probably a bit too stupid. -->\n
<td>Add Foo Line</td>\n
</tr>\n
<tr>\n
<td>assertAbsoluteLocation</td>\n
<td tal:content="string:glob:${here/portal_url}/foo_module/2/1/view*"/>\n
<td>assertLocation</td>\n
<td tal:content="python:\'*%s/foo_module/2/1/view*\' % here.getPortalObject().absolute_url_path()"/>\n
<td></td>\n
</tr>\n
<tr>\n
......@@ -109,8 +109,8 @@ another object of the same type. -->\n
<td></td>\n
</tr>\n
<tr>\n
<td>assertAbsoluteLocation</td>\n
<td tal:content="string:glob:${here/portal_url}/foo_module/2/2/FooLine_view*"/>\n
<td>assertLocation</td>\n
<td tal:content="python:\'*%s/foo_module/2/2/FooLine_view*\' % here.getPortalObject().absolute_url_path()"/>\n
<td></td>\n
</tr>\n
<tr>\n
......@@ -134,8 +134,8 @@ another object of the same type. -->\n
<td></td>\n
</tr>\n
<tr>\n
<td>assertAbsoluteLocation</td>\n
<td tal:content="string:glob:${here/portal_url}/foo_module/3/Foo_view*"/>\n
<td>assertLocation</td>\n
<td tal:content="python:\'*%s/foo_module/3/Foo_view*\' % here.getPortalObject().absolute_url_path()"/>\n
<td></td>\n
</tr>\n
<tr>\n
......
......@@ -130,8 +130,8 @@
<td></td>\n
</tr>\n
<tr>\n
<td>assertAbsoluteLocation</td>\n
<td tal:content="string:glob:${here/portal_url}/foo_module/FooModule_viewFooList*"/>\n
<td>assertLocation</td>\n
<td tal:content="python:\'*%s/foo_module/FooModule_viewFooList*\' % here.getPortalObject().absolute_url_path()"/>\n
<td></td>\n
</tr>\n
<tr>\n
......
......@@ -94,8 +94,8 @@ keeps `form_id`. This test doesn\'t test problems from #217</td></tr>\n
<td></td>\n
</tr>\n
<tr>\n
<td>assertAbsoluteLocation</td>\n
<td tal:content="string:glob:${here/portal_url}/foo_module/0/Base_viewHistory*"/>\n
<td>assertLocation</td>\n
<td tal:content="python:\'*%s/foo_module/0/Base_viewHistory*\' % here.getPortalObject().absolute_url_path()"/>\n
<td></td>\n
</tr>\n
\n
......
401
\ No newline at end of file
402
\ 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