Commit 8c6e9c7b authored by Gabriel Monnerat's avatar Gabriel Monnerat

- don't use pause

- add asserts

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@45674 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c63df18d
......@@ -60,9 +60,9 @@
<td></td>\n
</tr>\n
<tr>\n
<td>pause</td>\n
<td>2000</td>\n
<td></td>\n
<td>waitForCondition</td>\n
<td>selenium.isElementPresent("//input[@name=\'field_my_preferred_text_editor\']")</td>\n
<td>3000</td>\n
</tr>\n
<tr>\n
<td>verifyTextPresent</td>\n
......@@ -74,6 +74,86 @@
<td>FCK Editor</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>check</td>\n
<td>//input[@value=\'fck_editor\']</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>check</td>\n
<td>//input[@value=\'text/html\']</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>clickAndWait</td>\n
<td>//html/body/div[3]/div[11]/div/button[1]</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>click</td>\n
<td>//a[@id="settings"]</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>waitForCondition</td>\n
<td>selenium.isElementPresent("//input[@name=\'field_my_preferred_text_editor\']")</td>\n
<td>3000</td>\n
</tr>\n
<tr>\n
<td>verifyAttribute</td>\n
<td>//input[@value=\'fck_editor\']@checked</td>\n
<td>checked</td>\n
</tr>\n
<tr>\n
<td>verifyAttribute</td>\n
<td>//input[@value=\'text/html\']@checked</td>\n
<td>checked</td>\n
</tr>\n
<tr>\n
<td>click</td>\n
<td>//a[@id="settings"]</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>waitForCondition</td>\n
<td>selenium.isElementPresent("//input[@name=\'field_my_preferred_text_editor\']")</td>\n
<td>3000</td>\n
</tr>\n
<tr>\n
<td>check</td>\n
<td>//input[@value=\'text_area\']</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>check</td>\n
<td>//input[@value=\'text/plain\']</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>clickAndWait</td>\n
<td>//html/body/div[3]/div[11]/div/button[1]</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>click</td>\n
<td>//a[@id="settings"]</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>waitForCondition</td>\n
<td>selenium.isElementPresent("//input[@name=\'field_my_preferred_text_editor\']")</td>\n
<td>3000</td>\n
</tr>\n
<tr>\n
<td>verifyAttribute</td>\n
<td>//input[@value=\'text/plain\']@checked</td>\n
<td>checked</td>\n
</tr>\n
<tr>\n
<td>verifyAttribute</td>\n
<td>//input[@value=\'text_area\']@checked</td>\n
<td>checked</td>\n
</tr>\n
</tbody>\n
</table>\n
</body>\n
......
58
\ No newline at end of file
59
\ No newline at end of file
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