Commit 9ba4dab0 authored by Tomáš Peterka's avatar Tomáš Peterka

[erp5_web_renderjs_ui_test] Remove "pause" command and improve test to count with responsiveness

parent 609a0764
......@@ -15,6 +15,16 @@
<td>${base_url}/web_site_module/renderjs_runner/#/foo_module/1?editable=1</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//a[text()='Views']</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>//a[text()='Views']</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//a[text()='Failing Edit']</td>
......@@ -52,12 +62,13 @@
<td>//div[@data-gadget-scope='header']//button[text()='Save' and @type='submit']</td>
<td></td>
</tr>
<!-- We wait for a notification to appear -->
<tr>
<td>pause</td>
<td>1000</td>
<td>waitForElementPresent</td>
<td>//div[@data-gadget-scope='notification']/button</td>
<td></td>
</tr>
<!-- Modified form data must stay -->
<!-- Modified form data must stay after the notification -->
<tr>
<td>verifyValue</td>
<td>//input[@name='field_my_title']</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