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

ui_test: simplify assertion

This step just checks that multi relation field listbox shows a list of
related document and that clicking on any item of the list leads to the
related document.
The order of related documents in the list has always been unspecified,
but the first one was always 1 until recently.
Because this test does not really care which one of the two related
document was clicked, just assert that it's a document from foo_module.

/reviewed-on !774
parent a636336a
...@@ -138,7 +138,7 @@ will be shown ...@@ -138,7 +138,7 @@ will be shown
</tr> </tr>
<tr> <tr>
<td>assertAbsoluteLocation</td> <td>assertAbsoluteLocation</td>
<td tal:content="string:regexp:${here/portal_url}/foo_module/1(\?|$$)"/> <td tal:content="string:glob:${here/portal_url}/foo_module/*"/>
<td></td> <td></td>
<td></td> <td></td>
</tr> </tr>
......
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