Commit e230414e authored by Vincent Bechu's avatar Vincent Bechu

[erp5_officejs_ui_test] Use renderjs macro to remove pause.

parent 72aa9dd4
...@@ -198,13 +198,9 @@ ...@@ -198,13 +198,9 @@
<td>//div[@role='main']//div[@data-gadget-scope='erp5_searchfield']//button[@type='submit']</td> <td>//div[@role='main']//div[@data-gadget-scope='erp5_searchfield']//button[@type='submit']</td>
<td></td> <td></td>
</tr> </tr>
<tr> <!-- Poor cats ... find another way --> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded_in_menu_page" />
<td>pause</td>
<td>2000</td>
<td></td>
</tr>
<tr> <tr>
<td>verifyElementPresent</td> <td>waitForElementPresent</td>
<td>link=${title_2}</td> <td>link=${title_2}</td>
<td></td> <td></td>
</tr> </tr>
......
...@@ -193,28 +193,11 @@ ...@@ -193,28 +193,11 @@
<td>//a[@data-i18n='Document']</td> <td>//a[@data-i18n='Document']</td>
<td></td> <td></td>
</tr> </tr>
<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>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//div[@role='main']//div[@data-gadget-scope='erp5_searchfield']//input[@name='search']</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>//div[@role='main']//div[@data-gadget-scope='erp5_searchfield']//input[@name='search']</td>
<td>${title}</td>
</tr>
<tr>
<td>click</td>
<td>//div[@role='main']//div[@data-gadget-scope='erp5_searchfield']//button[@type='submit']</td>
<td></td>
</tr>
<tr> <!-- Poor cats ... find another way -->
<td>pause</td>
<td>2000</td>
<td></td>
</tr>
<tr>
<td>verifyElementPresent</td>
<td>link=${title}</td> <td>link=${title}</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