Commit 5d01bf735d4664cc9927f15639ece8cd21579d11
1 parent
cd8db653
Exists in
master
and in
28 other branches
ActionItem463: tests for tinymce done (but dont fail on IE)
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@2059 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
2 changed files
with
5 additions
and
1 deletions
Show diff stats
test/selenium/tiny_mce_article.rsel
... | ... | @@ -3,7 +3,10 @@ include_partial 'login' |
3 | 3 | click_and_wait 'link=Manage Content' |
4 | 4 | click 'link=New article' |
5 | 5 | click_and_wait 'link=Text article with visual editor.' |
6 | +assert_editable 'id=article_name' | |
6 | 7 | type 'id=article_name', 'selenium test' |
7 | -type 'id=article_body', 'typing article with TinyMce...' | |
8 | +assert_editable 'id=article_body' | |
9 | +# for some reason command 'type' dont work for TinyMce textarea | |
10 | +store_eval 'selenium.browserbot.getCurrentWindow().tinyMCE.setContent("selenium body text...")', 'bli' | |
8 | 11 | |
9 | 12 | # vim: ft=ruby | ... | ... |