mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-18 00:00:12 +01:00
Removed superfluous 'tracks' directory at the root of the repository.
Testing commits to github.
This commit is contained in:
parent
6a42901514
commit
4cbf5a34d3
2269 changed files with 0 additions and 0 deletions
27
test/selenium/home/create_todo_in_hidden_project.rsel
Normal file
27
test/selenium/home/create_todo_in_hidden_project.rsel
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
setup :fixtures => :all
|
||||
login :as => 'admin'
|
||||
|
||||
# set project to hidden state
|
||||
open "/projects/2"
|
||||
click 'project_state_hidden'
|
||||
# wait for flash before navigating away from project page to make sure that
|
||||
# the changes have been saved
|
||||
wait_for_visible "flash"
|
||||
|
||||
# monitor badge count on home page. It should be 7 at the start
|
||||
open "/"
|
||||
assert_text 'badge_count', '7'
|
||||
|
||||
# add todo to hidden project
|
||||
type "todo_description", "should be hidden"
|
||||
type "todo_project_name", "Make more money than Billy Gates"
|
||||
type "todo_context_name", "agenda"
|
||||
click "css=#todo-form-new-action .submit_box button"
|
||||
|
||||
# wait for flash to (dis)appear
|
||||
wait_for_visible "flash"
|
||||
|
||||
verify_text_not_present 'should be hidden'
|
||||
|
||||
# badge count should still be same
|
||||
assert_text 'badge_count', '7'
|
||||
Loading…
Add table
Add a link
Reference in a new issue