Commit 7d4f27e0 authored by Roque's avatar Roque

erp5_officejs_ui_test: fix test for discussion tool

parent 749c2261
...@@ -114,6 +114,12 @@ ...@@ -114,6 +114,12 @@
</tr> </tr>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded" /> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded" />
<!-- Verify Search, add another document --> <!-- Verify Search, add another document -->
<tr>
<td>store</td>
<td>search</td>
<td>search</td>
</tr>
<!--
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//a[@data-i18n='Add']</td> <td>//a[@data-i18n='Add']</td>
...@@ -129,11 +135,6 @@ ...@@ -129,11 +135,6 @@
<td>//button[@data-i18n='Save']</td> <td>//button[@data-i18n='Save']</td>
<td></td> <td></td>
</tr> </tr>
<tr>
<td>store</td>
<td>search</td>
<td>search</td>
</tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>identifier=title</td> <td>identifier=title</td>
...@@ -154,6 +155,7 @@ ...@@ -154,6 +155,7 @@
<td>//a[@data-i18n='Document']</td> <td>//a[@data-i18n='Document']</td>
<td></td> <td></td>
</tr> </tr>
-->
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded" /> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded" />
<tal:block tal:define="search_query python: 'Titre'"> <tal:block tal:define="search_query python: 'Titre'">
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/search_in_form_list_without_header_url" /> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/search_in_form_list_without_header_url" />
...@@ -208,6 +210,11 @@ ...@@ -208,6 +210,11 @@
<td>//a[@data-i18n='Synchronize']</td> <td>//a[@data-i18n='Synchronize']</td>
<td></td> <td></td>
</tr> </tr>
<tr>
<td>waitForElementPresent</td>
<td>//a[@data-i18n='Add']</td>
<td></td>
</tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>name=search</td> <td>name=search</td>
...@@ -216,7 +223,7 @@ ...@@ -216,7 +223,7 @@
<tr> <tr>
<td>type</td> <td>type</td>
<td>name=search</td> <td>name=search</td>
<td>${title}</td> <td>${title}</td><!--replaced-->
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
...@@ -269,7 +276,6 @@ ...@@ -269,7 +276,6 @@
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<!--<td>assertTextPresent</td>-->
<td>verifyTextPresent</td> <td>verifyTextPresent</td>
<td>Done.</td> <td>Done.</td>
<td></td> <td></td>
...@@ -316,4 +322,5 @@ ...@@ -316,4 +322,5 @@
</tr> </tr>
</tbody></table> </tbody></table>
</body> </body>
</html> </html>
\ 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