Commit ede26d08 authored by Xiaowu Zhang's avatar Xiaowu Zhang

erp5_web_renderjs_ui_test: update test for relationfield

parent abb66a5f
...@@ -206,11 +206,43 @@ ...@@ -206,11 +206,43 @@
<td></td>\n <td></td>\n
</tr>\n </tr>\n
\n \n
<tr>\n
<td>pause</td>\n
<td>3000</td>\n
<td></td>\n
</tr>\n
\n
<tr>\n
<td>click</td>\n
<td>//a[@data-i18n="Tabs"]</td>\n
<td></td>\n
</tr>\n
\n
\n
<tr>\n
<td>waitForElementPresent</td>\n
<td>//a[@data-i18n=\'Relation Fields\']</td>\n
<td></td>\n
</tr>\n
\n
<tr>\n
<td>click</td>\n
<td>//a[@data-i18n=\'Relation Fields\']</td>\n
<td></td>\n
</tr>\n
\n
<tr>\n
<td>waitForElementPresent</td>\n
<td>//input[@name=\'field_my_successor_title\']</td>\n
<td></td>\n
</tr>\n
<!--\n
<tr>\n <tr>\n
<td>waitForElementPresent</td>\n <td>waitForElementPresent</td>\n
<td>//div[@data-gadget-scope=\'field_my_successor_title\']/a[@class=\'ui-btn ui-corner-all ui-btn-icon-notext ui-icon-plane ui-shadow-inset ui-btn-inline\']</td>\n <td>//div[@data-gadget-scope=\'field_my_successor_title\']/a[@class=\'ui-btn ui-corner-all ui-btn-icon-notext ui-icon-plane ui-shadow-inset ui-btn-inline\']</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
-->\n
\n \n
<tr>\n <tr>\n
<td>verifyValue</td>\n <td>verifyValue</td>\n
...@@ -224,6 +256,7 @@ ...@@ -224,6 +256,7 @@
<td>a1</td>\n <td>a1</td>\n
</tr>\n </tr>\n
\n \n
<!--\n
<tr>\n <tr>\n
<td>click</td>\n <td>click</td>\n
<td>//div[@data-gadget-scope=\'field_my_successor_title\']/a</td>\n <td>//div[@data-gadget-scope=\'field_my_successor_title\']/a</td>\n
...@@ -241,6 +274,7 @@ ...@@ -241,6 +274,7 @@
<td>//input[@name=\'field_my_title\']</td>\n <td>//input[@name=\'field_my_title\']</td>\n
<td>A new foo</td>\n <td>A new foo</td>\n
</tr>\n </tr>\n
-->\n
</tbody></table>\n </tbody></table>\n
</body>\n </body>\n
</html> </html>
......
...@@ -206,12 +206,44 @@ ...@@ -206,12 +206,44 @@
<td></td>\n <td></td>\n
</tr>\n </tr>\n
\n \n
<tr>\n
<td>pause</td>\n
<td>3000</td>\n
<td></td>\n
</tr>\n
\n
<tr>\n
<td>click</td>\n
<td>//a[@data-i18n="Tabs"]</td>\n
<td></td>\n
</tr>\n
\n
\n
<tr>\n <tr>\n
<td>waitForElementPresent</td>\n <td>waitForElementPresent</td>\n
<td>//div[@data-gadget-scope=\'field_my_successor_title\']/a[@class=\'ui-btn ui-corner-all ui-btn-icon-notext ui-icon-plane ui-shadow-inset ui-btn-inline\']</td>\n <td>//a[@data-i18n=\'Relation Fields\']</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
\n \n
<tr>\n
<td>click</td>\n
<td>//a[@data-i18n=\'Relation Fields\']</td>\n
<td></td>\n
</tr>\n
\n
<tr>\n
<td>waitForElementPresent</td>\n
<td>//input[@name=\'field_my_successor_title\']</td>\n
<td></td>\n
</tr>\n
\n
<!--\n
<tr>\n
<td>waitForElementPresent</td>\n
<td>//div[@data-gadget-scope=\'field_my_successor_title\']/a[@class=\'ui-btn ui-corner-all ui-btn-icon-notext ui-icon-plane ui-shadow-inset ui-btn-inline\']</td>\n
<td></td>\n
</tr>\n
-->\n
<tr>\n <tr>\n
<td>verifyValue</td>\n <td>verifyValue</td>\n
<td>//input[@name=\'field_my_successor_title\']</td>\n <td>//input[@name=\'field_my_successor_title\']</td>\n
...@@ -224,6 +256,7 @@ ...@@ -224,6 +256,7 @@
<td>a1</td>\n <td>a1</td>\n
</tr>\n </tr>\n
\n \n
<!--\n
<tr>\n <tr>\n
<td>click</td>\n <td>click</td>\n
<td>//div[@data-gadget-scope=\'field_my_successor_title\']/a</td>\n <td>//div[@data-gadget-scope=\'field_my_successor_title\']/a</td>\n
...@@ -241,6 +274,7 @@ ...@@ -241,6 +274,7 @@
<td>//input[@name=\'field_my_title\']</td>\n <td>//input[@name=\'field_my_title\']</td>\n
<td>azértï</td>\n <td>azértï</td>\n
</tr>\n </tr>\n
-->\n
</tbody></table>\n </tbody></table>\n
</body>\n </body>\n
</html> </html>
......
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