Commit 75e343ff authored by Jérome Perrin's avatar Jérome Perrin

knowledge_pad_ui_test: replace waitForCondition by equivalent builtin commands

parent 6edd92c8
...@@ -19,9 +19,9 @@ ...@@ -19,9 +19,9 @@
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>waitForCondition</td> <td>waitForTextPresent</td>
<td>selenium.isTextPresent("Your tab is empty.")</td> <td>Your tab is empty</td>
<td>30000</td> <td></td>
</tr> </tr>
<!-- add "Feed Reader" gadget to front--> <!-- add "Feed Reader" gadget to front-->
...@@ -52,9 +52,9 @@ ...@@ -52,9 +52,9 @@
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>waitForCondition</td> <td>waitForTextPresent</td>
<td>selenium.isTextPresent("Please enter a valid Rss or Atom url in the preference form")</td> <td>Please enter a valid Rss or Atom url in the preference form</td>
<td>30000</td> <td></td>
</tr> </tr>
<!-- Set an URL of ERP5 so test do not depend on external RSS provider (http://www.lemonde.fr/rss/une.xml) --> <!-- Set an URL of ERP5 so test do not depend on external RSS provider (http://www.lemonde.fr/rss/une.xml) -->
<tr> <tr>
...@@ -78,20 +78,20 @@ ...@@ -78,20 +78,20 @@
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>waitForCondition</td> <td>waitForTextPresent</td>
<td>selenium.isTextPresent("Le Monde.fr")</td> <td>Le Monde.fr</td>
<td>30000</td> <td></td>
</tr> </tr>
<!-- listbox-container gadget-rss-reader-logo--> <!-- listbox-container gadget-rss-reader-logo-->
<tr> <tr>
<td>waitForCondition</td> <td>waitForElementPresent</td>
<td>selenium.isElementPresent('//div[@class="listbox-container"]')</td> <td>//div[@class="listbox-container"]</td>
<td>30000</td> <td></td>
</tr> </tr>
<tr> <tr>
<td>waitForCondition</td> <td>waitForElementPresent</td>
<td>selenium.isElementPresent('//img[@class="hidden_label gadget-rss-reader-logo"]')</td> <td>//img[@class="hidden_label gadget-rss-reader-logo"]</td>
<td>30000</td> <td></td>
</tr> </tr>
</tbody></table> </tbody></table>
......
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