Commit f94acdb9 authored by Jérome Perrin's avatar Jérome Perrin

assertAbsoluteLocation seems to be compatible with selenium 0.6 and 0.8

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20837 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 03796a16
...@@ -78,7 +78,7 @@ ...@@ -78,7 +78,7 @@
<!-- as the init macro create 1 Foo, we assume that our newly created foo will\n <!-- 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 have id "2". This is probably a bit too stupid. -->\n
<tr>\n <tr>\n
<td>assertLocation</td>\n <td>assertAbsoluteLocation</td>\n
<td tal:content="python: \'glob:%s/foo_module/2/view*\' % here.getPortalObject().absolute_url()"/>\n <td tal:content="python: \'glob:%s/foo_module/2/view*\' % here.getPortalObject().absolute_url()"/>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
...@@ -99,7 +99,7 @@ have id "2". This is probably a bit too stupid. -->\n ...@@ -99,7 +99,7 @@ have id "2". This is probably a bit too stupid. -->\n
<td>Add Foo Line</td>\n <td>Add Foo Line</td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertLocation</td>\n <td>assertAbsoluteLocation</td>\n
<td tal:content="python: \'glob:%s/foo_module/2/1/view*\' % here.getPortalObject().absolute_url()"/>\n <td tal:content="python: \'glob:%s/foo_module/2/1/view*\' % here.getPortalObject().absolute_url()"/>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
...@@ -127,7 +127,7 @@ have id "2". This is probably a bit too stupid. -->\n ...@@ -127,7 +127,7 @@ have id "2". This is probably a bit too stupid. -->\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertLocation</td>\n <td>assertAbsoluteLocation</td>\n
<td tal:content="string:glob:${here/portal_url}/foo_module/3/view*"/>\n <td tal:content="string:glob:${here/portal_url}/foo_module/3/view*"/>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
...@@ -149,7 +149,7 @@ another object of the same type. -->\n ...@@ -149,7 +149,7 @@ another object of the same type. -->\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertLocation</td>\n <td>assertAbsoluteLocation</td>\n
<td tal:content="string:glob:${here/portal_url}/foo_module/4/Foo_view*"/>\n <td tal:content="string:glob:${here/portal_url}/foo_module/4/Foo_view*"/>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
......
...@@ -114,7 +114,7 @@ ...@@ -114,7 +114,7 @@
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertLocation</td>\n <td>assertAbsoluteLocation</td>\n
<td tal:content="string:glob:${here/portal_url}/foo_module/0/Foo_view*"/>\n <td tal:content="string:glob:${here/portal_url}/foo_module/0/Foo_view*"/>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
......
...@@ -78,7 +78,7 @@ ...@@ -78,7 +78,7 @@
<!-- as the init macro create 1 Foo, we assume that our newly created foo will\n <!-- 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 have id "2". This is probably a bit too stupid. -->\n
<tr>\n <tr>\n
<td>assertLocation</td>\n <td>assertAbsoluteLocation</td>\n
<td tal:content="string:glob:${here/portal_url}/foo_module/2/view*"/>\n <td tal:content="string:glob:${here/portal_url}/foo_module/2/view*"/>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
...@@ -99,7 +99,7 @@ have id "2". This is probably a bit too stupid. -->\n ...@@ -99,7 +99,7 @@ have id "2". This is probably a bit too stupid. -->\n
<td>Add Foo Line</td>\n <td>Add Foo Line</td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertLocation</td>\n <td>assertAbsoluteLocation</td>\n
<td tal:content="string:glob:${here/portal_url}/foo_module/2/1/view*"/>\n <td tal:content="string:glob:${here/portal_url}/foo_module/2/1/view*"/>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
...@@ -121,7 +121,7 @@ another object of the same type. -->\n ...@@ -121,7 +121,7 @@ another object of the same type. -->\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertLocation</td>\n <td>assertAbsoluteLocation</td>\n
<td tal:content="string:glob:${here/portal_url}/foo_module/2/2/FooLine_view*"/>\n <td tal:content="string:glob:${here/portal_url}/foo_module/2/2/FooLine_view*"/>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
...@@ -146,7 +146,7 @@ another object of the same type. -->\n ...@@ -146,7 +146,7 @@ another object of the same type. -->\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertLocation</td>\n <td>assertAbsoluteLocation</td>\n
<td tal:content="string:glob:${here/portal_url}/foo_module/3/view*"/>\n <td tal:content="string:glob:${here/portal_url}/foo_module/3/view*"/>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
......
...@@ -142,7 +142,7 @@ ...@@ -142,7 +142,7 @@
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertLocation</td>\n <td>assertAbsoluteLocation</td>\n
<td tal:content="string:glob:${here/portal_url}/foo_module/FooModule_viewFooList*"/>\n <td tal:content="string:glob:${here/portal_url}/foo_module/FooModule_viewFooList*"/>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
......
...@@ -106,7 +106,7 @@ keeps `form_id`. This test doesn\'t test problems from #217</td></tr>\n ...@@ -106,7 +106,7 @@ keeps `form_id`. This test doesn\'t test problems from #217</td></tr>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertLocation</td>\n <td>assertAbsoluteLocation</td>\n
<td tal:content="string:glob:${here/portal_url}/foo_module/0/Base_viewHistory*"/>\n <td tal:content="string:glob:${here/portal_url}/foo_module/0/Base_viewHistory*"/>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
......
341 342
\ 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