mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-24 03:00:12 +01:00
migrate selenium script for integrations page and enhance the story
This commit is contained in:
parent
44c61d942a
commit
d6e20a76c2
6 changed files with 74 additions and 15 deletions
|
|
@ -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"
|
||||
Loading…
Add table
Add a link
Reference in a new issue