Commit e585bfc0 authored by Tomáš Peterka's avatar Tomáš Peterka Committed by Romain Courteaud

[renderjs_ui_test] Replace verify with waitFor because test node is suprisingly fast sometimes

parent 174ca2d8
...@@ -68,7 +68,7 @@ ...@@ -68,7 +68,7 @@
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded" /> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded" />
<tr> <tr>
<td>verifyElementPresent</td> <td>waitForElementPresent</td><!-- verification -->
<td>//th[@class='ui-icon ui-icon-arrow-down']/a[@data-i18n='ID']</td> <td>//th[@class='ui-icon ui-icon-arrow-down']/a[@data-i18n='ID']</td>
<td></td> <td></td>
</tr> </tr>
...@@ -83,7 +83,7 @@ ...@@ -83,7 +83,7 @@
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded" /> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded" />
<tr> <tr>
<td>verifyElementPresent</td> <td>waitForElementPresent</td><!-- verification -->
<td>//th[@class='ui-icon ui-icon-arrow-up']/a[@data-i18n='ID']</td> <td>//th[@class='ui-icon ui-icon-arrow-up']/a[@data-i18n='ID']</td>
<td></td> <td></td>
</tr> </tr>
...@@ -130,7 +130,7 @@ ...@@ -130,7 +130,7 @@
<!-- Test that the first sort is DESC --> <!-- Test that the first sort is DESC -->
<tr> <tr>
<td>verifyElementPresent</td> <td>waitForElementPresent</td><!-- verification -->
<td>//th[@class='ui-icon ui-icon-arrow-down']/a[@data-i18n='Title']</td> <td>//th[@class='ui-icon ui-icon-arrow-down']/a[@data-i18n='Title']</td>
<td></td> <td></td>
</tr> </tr>
...@@ -200,7 +200,7 @@ Test whether search query stays if we change the sort order ...@@ -200,7 +200,7 @@ Test whether search query stays if we change the sort order
<!-- That the last sort stayed --> <!-- That the last sort stayed -->
<tr> <tr>
<td>verifyElementPresent</td> <td>waitForElementPresent</td><!-- verification -->
<td>//th[@class='ui-icon ui-icon-arrow-down']/a[@data-i18n='Title']</td> <td>//th[@class='ui-icon ui-icon-arrow-down']/a[@data-i18n='Title']</td>
<td></td> <td></td>
</tr> </tr>
......
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