Commit 27159f37 authored by Boris Kocherov's avatar Boris Kocherov

[erp5_officejs_ui_test] spinner wait added for offline downloading

parent 6a82ab59
<tal:block xmlns:tal="http://xml.zope.org/namespaces/tal" <tal:block xmlns:tal="http://xml.zope.org/namespaces/tal"
xmlns:metal="http://xml.zope.org/namespaces/metal"> xmlns:metal="http://xml.zope.org/namespaces/metal">
<tal:block metal:define-macro="wait_spinner">
<tr>
<td>waitForElementPresent</td>
<td>//div[contains(@class, "ui-icon-spinner")]</td>
<td></td>
</tr>
<tr>
<td>waitForNotElementPresent</td>
<td>//div[contains(@class, "ui-icon-spinner")]</td>
<td></td>
</tr>
</tal:block>
<tal:block metal:define-macro="wait_install"> <tal:block metal:define-macro="wait_install">
<tr> <tr>
<td colspan="3"><b>Install web site</b></td> <td colspan="3"><b>Install web site</b></td>
...@@ -21,6 +34,7 @@ ...@@ -21,6 +34,7 @@
<td>selenium.browserbot.currentWindow.navigator.serviceWorker.controller !== null</td> <td>selenium.browserbot.currentWindow.navigator.serviceWorker.controller !== null</td>
<td>150000</td> <td>150000</td>
</tr> </tr>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForOfficejsUi/macros/wait_spinner" />
<tr> <tr>
<td>setTimeout</td> <td>setTimeout</td>
<td>90000</td> <td>90000</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