Commit 8f660002 authored by Romain Courteaud's avatar Romain Courteaud

[erp5_web_renderjs_ui_test] Loader notification is not reliable for test.

Try to rely on listbox content instead
parent d30bc589
......@@ -61,6 +61,11 @@
<td>//div[@data-gadget-url=\'${base_url}/web_site_module/renderjs_runner/gadget_erp5_pt_form_list.html\']</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>waitForTextPresent</td>\n
<td>Title 1</td>\n
<td></td>\n
</tr>\n
\n
<!-- Enter a search query to create a selection parameter -->\n
<tr>\n
......@@ -73,12 +78,12 @@
<td>//div[@data-gadget-scope=\'erp5_searchfield\']//input[@value=\'header-submit\' and @type=\'submit\']</td>\n
<td></td>\n
</tr>\n
\n
<tr>\n
<td>pause</td>\n
<td>1000</td>\n
<td>waitForTextNotPresent</td>\n
<td>Title 1</td>\n
<td></td>\n
</tr>\n
\n
<tr>\n
<td>waitForTextPresent</td>\n
<td>Title 1</td>\n
......
......@@ -61,6 +61,11 @@
<td>//div[@data-gadget-url=\'${base_url}/web_site_module/renderjs_runner/gadget_erp5_pt_form_list.html\']</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>waitForTextPresent</td>\n
<td>Title 1</td>\n
<td></td>\n
</tr>\n
\n
<!-- Enter a search query to create a selection parameter -->\n
<tr>\n
......@@ -73,17 +78,12 @@
<td>//div[@data-gadget-scope=\'erp5_searchfield\']//input[@value=\'header-submit\' and @type=\'submit\']</td>\n
<td></td>\n
</tr>\n
\n
<tr>\n
<td>waitForElementPresent</td>\n
<td>//div[@data-gadget-scope=\'header\']//a[text()=\'Loading\' and contains(@class, \'ui-icon-spinner\')]</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>waitForElementNotPresent</td>\n
<td>//div[@data-gadget-scope=\'header\']//a[text()=\'Loading\' and contains(@class, \'ui-icon-spinner\')]</td>\n
<td>waitForTextNotPresent</td>\n
<td>Title 1</td>\n
<td></td>\n
</tr>\n
\n
<tr>\n
<td>waitForTextPresent</td>\n
<td>Title 1</td>\n
......
......@@ -61,6 +61,11 @@
<td>//div[@data-gadget-url=\'${base_url}/web_site_module/renderjs_runner/gadget_erp5_pt_form_list.html\']</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>waitForTextPresent</td>\n
<td>Title 1</td>\n
<td></td>\n
</tr>\n
\n
<!-- Enter a search query to create a selection parameter -->\n
<tr>\n
......@@ -74,16 +79,10 @@
<td></td>\n
</tr>\n
<tr>\n
<td>waitForElementPresent</td>\n
<td>//div[@data-gadget-scope=\'header\']//a[text()=\'Loading\' and contains(@class, \'ui-icon-spinner\')]</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>waitForElementNotPresent</td>\n
<td>//div[@data-gadget-scope=\'header\']//a[text()=\'Loading\' and contains(@class, \'ui-icon-spinner\')]</td>\n
<td>waitForTextNotPresent</td>\n
<td>Title 1</td>\n
<td></td>\n
</tr>\n
\n
<tr>\n
<td>waitForTextPresent</td>\n
<td>Title 1</td>\n
......
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