mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-01 23:08:49 +01:00
Caught a couple of things that I had to fix plus a handful of broken tests. This is the first time in forever that we have a fully successful selenium suite.
13 lines
331 B
Text
13 lines
331 B
Text
setup :fixtures => :all
|
|
login :as => 'admin'
|
|
open "/projects/1"
|
|
|
|
click "project_name"
|
|
wait_for_element_present "css=#project_name form input"
|
|
type "css=#project_name form input", "Test Foo"
|
|
click "css=#project_name form button"
|
|
wait_for_text "project_name", "Test Foo"
|
|
|
|
|
|
open "/projects/1"
|
|
wait_for_text "project_name", "Test Foo"
|