Commit 6dad9f33 authored by Romain Courteaud's avatar Romain Courteaud

erp5_web_renderjs_ui_test: stabilize tests

parent 19837e1d
...@@ -248,21 +248,41 @@ ...@@ -248,21 +248,41 @@
<tr> <tr>
<td colspan="3"><b>Check multi relation field display</b></td> <td colspan="3"><b>Check multi relation field display</b></td>
</tr> </tr>
<tr>
<td>waitForElementPresent</td>
<td>//div[@data-gadget-scope='field_my_bar_category_title_list']//fieldset[3]//input</td>
<td></td>
</tr>
<tr>
<td>assertValue</td>
<td>//div[@data-gadget-scope='field_my_bar_category_title_list']//fieldset[3]//input</td>
<td></td>
</tr>
<tr> <tr>
<td>assertValue</td> <td>assertValue</td>
<td>//div[@data-gadget-scope='field_my_bar_category_title_list']//fieldset[1]//input</td> <td>//div[@data-gadget-scope='field_my_bar_category_title_list']//fieldset[1]//input</td>
<td>A New Foo</td> <td>A New Foo</td>
</tr> </tr>
<tr> <tr>
<td>assertValue</td> <td>waitForElementPresent</td>
<td>//div[@data-gadget-scope='field_my_bar_category_title_list']//fieldset[2]//input</td> <td>//div[@data-gadget-scope='field_my_bar_category_title_list']//fieldset[2]//a</td>
<td>2</td> <td></td>
</tr> </tr>
<tr> <tr>
<td>assertValue</td> <td>assertElementPresent</td>
<td>//div[@data-gadget-scope='field_my_bar_category_title_list']//fieldset[3]//input</td> <td>//div[@data-gadget-scope='field_my_bar_category_title_list']//fieldset[2]//a</td>
<td></td> <td></td>
</tr> </tr>
<tr>
<td>pause</td>
<td>100</td>
<td></td>
</tr>
<tr>
<td>assertValue</td>
<td>//div[@data-gadget-scope='field_my_bar_category_title_list']//fieldset[2]//input</td>
<td>2</td>
</tr>
<tr> <tr>
<td>assertElementNotPresent</td> <td>assertElementNotPresent</td>
<td>//div[@data-gadget-scope='field_my_bar_category_title_list']//fieldset[4]</td> <td>//div[@data-gadget-scope='field_my_bar_category_title_list']//fieldset[4]</td>
......
...@@ -249,28 +249,43 @@ ...@@ -249,28 +249,43 @@
<td></td> <td></td>
</tr> </tr>
<tr>
<td>waitForElementPresent</td>
<td>//div[@data-gadget-scope='field_my_bar_category_title_list']//fieldset[3]//input</td>
<td></td>
</tr>
<tr>
<td>assertValue</td>
<td>//div[@data-gadget-scope='field_my_bar_category_title_list']//fieldset[3]//input</td>
<td></td>
</tr>
<tr> <tr>
<td>assertValue</td> <td>assertValue</td>
<td>//div[@data-gadget-scope='field_my_bar_category_title_list']//fieldset[1]//input</td> <td>//div[@data-gadget-scope='field_my_bar_category_title_list']//fieldset[1]//input</td>
<td>A New Foo</td> <td>A New Foo</td>
</tr> </tr>
<tr> <tr>
<td>assertValue</td> <td>waitForElementPresent</td>
<td>//div[@data-gadget-scope='field_my_bar_category_title_list']//fieldset[2]//input</td> <td>//div[@data-gadget-scope='field_my_bar_category_title_list']//fieldset[2]//a</td>
<td>2</td> <td></td>
</tr> </tr>
<tr> <tr>
<td>assertElementPresent</td> <td>assertElementPresent</td>
<td>//div[@data-gadget-scope='field_my_bar_category_title_list']//fieldset[3]</td> <td>//div[@data-gadget-scope='field_my_bar_category_title_list']//fieldset[2]//a</td>
<td></td>
</tr>
<tr>
<td>pause</td>
<td>100</td>
<td></td> <td></td>
</tr> </tr>
<tr>
<td>assertValue</td>
<td>//div[@data-gadget-scope='field_my_bar_category_title_list']//fieldset[2]//input</td>
<td>2</td>
</tr>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/save" /> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/save" />
......
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