Commit e4ab18bc authored by Tomáš Peterka's avatar Tomáš Peterka Committed by Tomáš Peterka

[renderjs_ui] testSortItemAutoBuild counts with strict sort editor and does...

[renderjs_ui] testSortItemAutoBuild counts with strict sort editor and does not fail on fast computer
parent 08dfb23b
...@@ -73,10 +73,10 @@ ...@@ -73,10 +73,10 @@
<td></td> <td></td>
</tr> </tr>
<!-- Wait for the Add Sort button because no default sort is correctly specified -->
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']/div[1]</td> <td>//button[@class='plus ui-btn-c ui-override-theme ui-btn ui-icon-plus ui-btn-icon-left ui-corner-all']</td>
<td></td> <td></td>
</tr> </tr>
...@@ -93,18 +93,20 @@ ...@@ -93,18 +93,20 @@
<td></td> <td></td>
</tr> </tr>
<!-- Every new Sort Editor Item is by default (ID, ascending) because those are
the first values in both selects. -->
<tr> <tr>
<td>select</td> <td>select</td>
<td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']/div[1]//select[2]</td> <td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']/div[2]//select[1]</td>
<td>index=0</td> <td>index=1</td><!-- select Title in the second Sort Item -->
</tr> </tr>
<tr> <tr>
<td>select</td> <td>select</td>
<td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']/div[2]//select[1]</td> <td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']/div[2]//select[2]</td>
<td>index=1</td> <td>index=1</td><!-- select descending in the second Sort Item -->
</tr> </tr>
<tr> <tr>
...@@ -113,17 +115,8 @@ ...@@ -113,17 +115,8 @@
<td></td> <td></td>
</tr> </tr>
<tr> <!-- Wait for the Filters to be applied -->
<td>waitForElementNotPresent</td> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded" />
<td>link=Title 9</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>link=Title 0</td>
<td></td>
</tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
...@@ -139,7 +132,7 @@ ...@@ -139,7 +132,7 @@
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']/div</td> <td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']//select</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