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