migrate selenium script for integrations page and enhance the story

This commit is contained in:
Reinier Balt 2010-05-05 19:09:51 +02:00
parent 44c61d942a
commit d6e20a76c2
6 changed files with 74 additions and 15 deletions

View file

@ -1,14 +0,0 @@
setup :fixtures => :users, :clear_tables => [:projects, :contexts, :todos]
login :as => 'admin'
open "/integrations"
wait_for_element_present "no_context_msg"
open "/contexts"
type "context_name", "my first context"
click "context_new_submit"
# wait for new context to appear before navigating away from project page to
# make sure that the changes have been saved
wait_for_text_present 'DRAG'
open "/integrations"
wait_for_element_present "applescript1-contexts"