Commit 8642f29d authored by Romain Courteaud's avatar Romain Courteaud

[erp5_web_renderjs_ui_test] Workaround timing delay in gadget service

parent 0b29a1d4
...@@ -604,6 +604,13 @@ ...@@ -604,6 +604,13 @@
<td>//div[contains(@data-gadget-url, 'gadget_erp5_field_listbox.html')]//button[@data-i18n='Sort']</td> <td>//div[contains(@data-gadget-url, 'gadget_erp5_field_listbox.html')]//button[@data-i18n='Sort']</td>
<td></td> <td></td>
</tr> </tr>
<!-- renderJS event listener are started after the DOM element is added to the page
A real fix would be to disable button and only activate them when even listener are started -->
<tr>
<td>pause</td>
<td>1000</td>
<td></td>
</tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//div[contains(@data-gadget-url, 'gadget_erp5_field_listbox.html')]//button[@data-i18n='Sort']</td> <td>//div[contains(@data-gadget-url, 'gadget_erp5_field_listbox.html')]//button[@data-i18n='Sort']</td>
...@@ -766,6 +773,13 @@ ...@@ -766,6 +773,13 @@
<td>//div[contains(@data-gadget-url, 'gadget_erp5_field_listbox.html')]//button[@data-i18n='Configure']</td> <td>//div[contains(@data-gadget-url, 'gadget_erp5_field_listbox.html')]//button[@data-i18n='Configure']</td>
<td></td> <td></td>
</tr> </tr>
<!-- renderJS event listener are started after the DOM element is added to the page
A real fix would be to disable button and only activate them when even listener are started -->
<tr>
<td>pause</td>
<td>1000</td>
<td></td>
</tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//div[contains(@data-gadget-url, 'gadget_erp5_field_listbox.html')]//button[@data-i18n='Configure']</td> <td>//div[contains(@data-gadget-url, 'gadget_erp5_field_listbox.html')]//button[@data-i18n='Configure']</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