Commit 7245ef22 authored by Romain Courteaud's avatar Romain Courteaud

[erp5_web_renderjs_ui_test] waitForElementPresent is less error prone than assertElementPresent

parent d6c2acdb
...@@ -135,7 +135,7 @@ ...@@ -135,7 +135,7 @@
\n \n
<!-- Header has a link to the previous document in selection -->\n <!-- Header has a link to the previous document in selection -->\n
<tr>\n <tr>\n
<td>assertElementPresent</td>\n <td>waitForElementPresent</td>\n
<td>//div[@data-gadget-scope=\'header\']//a[text()=\'Next\' and contains(@href, \'#!selection_next\') and contains(@href, \'p.selection_index=0\')]</td>\n <td>//div[@data-gadget-scope=\'header\']//a[text()=\'Next\' and contains(@href, \'#!selection_next\') and contains(@href, \'p.selection_index=0\')]</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
...@@ -154,7 +154,7 @@ ...@@ -154,7 +154,7 @@
\n \n
<!-- Header has a link to the previous document in selection -->\n <!-- Header has a link to the previous document in selection -->\n
<tr>\n <tr>\n
<td>assertElementPresent</td>\n <td>waitForElementPresent</td>\n
<td>//div[@data-gadget-scope=\'header\']//a[text()=\'Next\' and contains(@href, \'#!selection_next\') and contains(@href, \'p.selection_index=1\')]</td>\n <td>//div[@data-gadget-scope=\'header\']//a[text()=\'Next\' and contains(@href, \'#!selection_next\') and contains(@href, \'p.selection_index=1\')]</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\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