Commit a0553cf5 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_jio_ui_test: Wait for form finish to render

   This also ensure all events are loaded also
parent bf25ed91
...@@ -46,7 +46,18 @@ ...@@ -46,7 +46,18 @@
'gadget_erp5_page_slap_parameter_form.html')]//select[@name="software_type"]</td> 'gadget_erp5_page_slap_parameter_form.html')]//select[@name="software_type"]</td>
<td>Required Example</td> <td>Required Example</td>
</tr> </tr>
<tr>
<td>waitForElementPresent</td>
<td>//div[contains(@data-gadget-url,
'gadget_erp5_page_slap_parameter_form.html')]//button[contains(@class, "ui-icon-spinner")]</td>
<td></td>
</tr>
<tr>
<td>waitForElementNotPresent</td>
<td>//div[contains(@data-gadget-url,
'gadget_erp5_page_slap_parameter_form.html')]//button[contains(@class, "ui-icon-spinner")]</td>
<td></td>
</tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//input[@name="//simple-string" and @type="text"]</td> <td>//input[@name="//simple-string" and @type="text"]</td>
...@@ -77,6 +88,12 @@ ...@@ -77,6 +88,12 @@
<td>//select[@name="//simple-string-with-enum"]</td> <td>//select[@name="//simple-string-with-enum"]</td>
<td>simple string B</td> <td>simple string B</td>
</tr> </tr>
<tr>
<td>fireEvent</td>
<td>//input[@name="//simple-string" and @type="text"]</td>
<td>change</td>
</tr>
<tr> <tr>
<td>type</td> <td>type</td>
<td>//input[@name="//simple-string" and @type="text"]</td> <td>//input[@name="//simple-string" and @type="text"]</td>
...@@ -87,6 +104,11 @@ ...@@ -87,6 +104,11 @@
<td>//select[@name="//simple-string-with-enum"]</td> <td>//select[@name="//simple-string-with-enum"]</td>
<td></td> <td></td>
</tr> </tr>
<tr>
<td>fireEvent</td>
<td>//input[@name="//simple-string" and @type="text"]</td>
<td>change</td>
</tr>
<tr> <tr>
<td>fireEvent</td> <td>fireEvent</td>
<td>//input[@name="//simple-string" and @type="text"]</td> <td>//input[@name="//simple-string" and @type="text"]</td>
......
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