<html>
<head>
<base href="http://localhost:8080/erp5_portal/portal_tests/result_20071015_215301/" />
<title>2007-10-15 21:53:01</title>
</head>
<body>
<h1> Test Result: 2007-10-15 21:53:01</h1>
<h2> Test Summary </h2>
<table border="1" cellpadding="2">
<tr>
<th align="left">Status</th>
<td>
<span style="color: red">FAILED</span>
</td>
</tr>
<tr>
<th align="left">Elapsed time (sec)</th>
<td align="right">709.0</td>
</tr>
<tr>
<th align="left">Tests passed</th>
<td align="right" style="color: green">97</td>
</tr>
<tr>
<th align="left">Tests failed</th>
<td align="right" style="color: red">1</td>
</tr>
<tr>
<th align="left">Commands passed</th>
<td align="right" style="color: green">1660</td>
</tr>
<tr>
<th align="left">Commands failed</th>
<td align="right" style="color: red">0</td>
</tr>
<tr>
<th align="left">Commands with errors</th>
<td align="right" style="color: orange">1</td>
</tr>
</table>
<div>
<h2> Test Cases </h2>
<div style="padding-top: 10px;">
<p>
<span style="color: red">FAIL</span>
<a href="http://localhost:8080/erp5_portal/portal_tests/result_20071015_215301/testTable.11">testTable.11</a>
</p>
<div>
<table border="1" cellpadding="1" cellspacing="1">
<thead>
<tr bgcolor="#ffcfcf"><td rowspan="1" colspan="3">Test Dialog Button Translation</td></tr>
</thead><tbody>
<!--
=== PART 0 ===
This part delete the second action if present, in order to reach the initial state
of this test. This is required to re-run the test in the same erp5 instance.
-->
<tr bgcolor="white">
<td>open</td>
<td> http://localhost:8080/erp5_portal/portal_skins/erp5_ui_test/Base_createUITestLanguages</td>
<td></td>
</tr>
<tr bgcolor="white">
<td>open</td>
<td> http://localhost:8080/erp5_portal/portal_skins/erp5_ui_test//Base_addUITestTranslation?message=Search Foos&translation_1=Seet Foos&translation_2=Searching Foos</td>
<td></td>
</tr>
<tr bgcolor="white">
<td>open</td>
<td> http://localhost:8080/erp5_portal/portal_types/Foo Module/PortalType_deleteAction?id=search2&name=Search2&category=object_search&action=string:${object_url}/FooModule_viewSearchDialog</td>
<td></td>
</tr>
<tr bgcolor="white">
<td>open</td>
<td> http://localhost:8080/erp5_portal/foo_module/FooModule_viewSearchDialog?dialog_category=object_search</td>
<td></td>
</tr>
<tr bgcolor="white">
        <td>select</td>
        <td>select_language</td>
        <td>label=English</td>
</tr>
<tr bgcolor="#cfffcf">
<td>verifyElementNotPresent</td>
<td>//select[@id="dialog_selector"]</td>
<td></td>
</tr>
<!--
=== PART 2 ===
This part test that a <select> input is rendered when more than one action exist.
-->
<tr bgcolor="white">
<td>open</td>
<td> http://localhost:8080/erp5_portal/portal_types/Foo Module/PortalType_addAction?id=search2&name=Search2&category=object_search&action=string:${object_url}/FooModule_viewSearchDialog</td>
<td></td>
</tr>
<tr bgcolor="white">
<td>open</td>
<td> http://localhost:8080/erp5_portal/foo_module/FooModule_viewSearchDialog?dialog_category=object_search</td>
<td></td>
</tr>
<tr bgcolor="#cfffcf">
<td>verifyText</td>
<td>//select[@id="dialog_selector"]/option[1]</td>
<td>Search</td>
</tr>
<tr bgcolor="#cfffcf">
        <td>verifyValue</td>
        <td>dialog_submit_button</td>
        <td>Search Foos</td>
</tr>
<tr title="Option with label 'Wolof' not found" bgcolor="#ffcfcf">
        <td>selectAndWait</td>
        <td>select_language</td>
        <td>Option with label 'Wolof' not found</td>
</tr>
<tr bgcolor="white">
        <td>verifyValue</td>
        <td>dialog_submit_button</td>
        <td>Seet Foos</td>
</tr>
<tr bgcolor="white">
        <td>selectAndWait</td>
        <td>select_language</td>
        <td>label=Xhosa</td>
</tr>
<tr bgcolor="white">
        <td>verifyValue</td>
        <td>dialog_submit_button</td>
        <td>Searching Foos</td>
</tr>
<tr bgcolor="white">
        <td>select</td>
        <td>select_language</td>
        <td>label=English</td>
</tr>
</tbody></table>
</div>
</div>
</div>
</body>
</html>