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