cucumber tests fail
I removed the test that failed with a TimeoutError.
$ bundle exec rake cucumber RAILS_ENV=production
Please install RDoc 2.4.2+ to generate documentation.
config.gem: Unpacked gem aruba-0.2.2 in vendor/gems has no specification file. Run 'rake gems:refresh_specs' to fix this.
/usr/bin/ruby1.8 -S bundle exec cucumber --profile default
Using the default profile...
NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01.
Gem.source_index called from /usr/lib/ruby/gems/1.8/gems/rails-2.3.14/lib/rails/gem_dependency.rb:21.
config.gem: Unpacked gem aruba-0.2.2 in vendor/gems has no specification file. Run 'rake gems:refresh_specs' to fix this.
.....................F----.........................................................F---......................................F----..............................................................................F--.....F--------..............F-.......................................F-----........F------..............................................F--......F-----------..------------......................---------......----------...F....----------......----------.F.F-------...F-----.....-------.........F--......F---.....F---....................................----.......F-..................................---.......------.............----........-------.....................................................................................................----..................................................................F.....................F--.........................................................................................................................................F----......F--........................................F..............................F-.....................F---......................................................F.................F------....................F-..........................................................................................................................F--...................................................F--.................................................F------...............................----.....-------.....---------.....--------.....---..........--------.---.....---.---........................-----....................---------......................--.................................--------.........F--.............................................-----....................................................................................................F-......................F--........F--..........................................................F--..................................................................................-----........-----....----........------...............................................................................------........................----....................---................................................................
(::) failed steps (::)
expected css "a#delete_context_1" not to return anything (Spec::Expectations::ExpectationNotMetError)
./features/step_definitions/context_list_steps.rb:11:in `/^I delete the context "([^\"]*)"$/'
features/context_list.feature:70:in `When I delete the context "@laptop"'
expected css "button#submit_context_1" to return something (Spec::Expectations::ExpectationNotMetError)
./features/step_definitions/context_list_steps.rb:16:in `/^I edit the context to rename it to "([^\"]*)"$/'
features/context_list.feature:79:in `And I edit the context to rename it to "@ipad"'
unknown error (Selenium::WebDriver::Error::JavascriptError)
./features/step_definitions/context_list_steps.rb:47:in `/^I drag context "([^"]*)" above context "([^"]*)"$/'
features/context_list.feature:115:in `When I drag context "@home" above context "@ipad"'
expected xpath "//div[@id='message_holder']/h4[@id='flash']" to return something (Spec::Expectations::ExpectationNotMetError)
./features/step_definitions/generic_steps.rb:20:in `/^I should see an error flash message saying "([^"]*)"$/'
features/dependencies.feature:124:in `Then I should see an error flash message saying "Cannot add this action as a dependency to a completed action!"'
Unable to find xpath "//div[@id='line_todo_2']/div/a[@class='show_successors']/img" (Capybara::ElementNotFound)
(eval):2:in `send'
(eval):2:in `find'
./features/step_definitions/dependencies_steps.rb:24:in `/^I expand the dependencies of "([^\"]*)"$/'
features/dependencies.feature:137:in `When I expand the dependencies of "test 2"'
Unable to find xpath "//div[@id='line_todo_2']/div/a[@class='show_successors']/img" (Capybara::ElementNotFound)
(eval):2:in `send'
(eval):2:in `find'
./features/step_definitions/dependencies_steps.rb:24:in `/^I expand the dependencies of "([^\"]*)"$/'
features/dependencies.feature:137:in `When I expand the dependencies of "test 2"'
expected xpath "//div[@id='tickler']//div[@id='line_todo_1']" to return something (Spec::Expectations::ExpectationNotMetError)
./features/step_definitions/container_steps.rb:75:in `/^I should see "([^"]*)" in the deferred container$/'
features/dependencies.feature:159:in `Then I should see "test 1" in the deferred container'
expected xpath "//div[@id='tickler']//div[@id='line_todo_1']" to return something (Spec::Expectations::ExpectationNotMetError)
./features/step_definitions/container_steps.rb:75:in `/^I should see "([^"]*)" in the deferred container$/'
features/dependencies.feature:159:in `Then I should see "test 1" in the deferred container'
expected visible? to return true, got false (Spec::Expectations::ExpectationNotMetError)
./features/step_definitions/todo_steps.rb:151:in `send'
./features/step_definitions/todo_steps.rb:151:in `/^I should (see|not see) empty message for (completed todos|todos) of home/'
features/edit_a_todo.feature:83:in `And I should see empty message for todos of <page type>'
expected css "div#no_todos_in_view" not to return anything (Spec::Expectations::ExpectationNotMetError)
./features/step_definitions/todo_tag_steps.rb:2:in `/^I should not see empty message for todos of tag$/'
features/edit_a_todo.feature:123:in `And I should not see empty message for todos of <page type>'
expected visible? to return true, got false (Spec::Expectations::ExpectationNotMetError)
./features/step_definitions/todo_steps.rb:151:in `send'
./features/step_definitions/todo_steps.rb:151:in `/^I should (see|not see) empty message for (completed todos|todos) of home/'
features/edit_a_todo.feature:121:in `And I should see empty message for completed todos of <page type>'
expected visible? to return false, got true (Spec::Expectations::ExpectationNotMetError)
./features/step_definitions/project_steps.rb:212:in `send'
./features/step_definitions/project_steps.rb:212:in `/^I should (see|not see) empty message for (todos|deferred todos|completed todos) of project/'
features/edit_a_todo.feature:138:in `And I should not see empty message for todos of <page type>'
expected xpath "//div[@id='completed_container']//a[@href='/todos/1.m']" to return something (Spec::Expectations::ExpectationNotMetError)
./features/step_definitions/todo_steps.rb:146:in `/^I should see "([^"]*)" in the completed section of the mobile site$/'
features/mobile_edit_a_todo.feature:32:in `Then I should see "changed action" in the completed section of the mobile site'
expected there to be content "There are no incomplete actions" in "TRACKS::Login\n\n\n The action 'test action' was deferred\n \n\n\n \n The action 'test action' was deferred\n \n\n Please log in to use Tracks:\n\n\n \n \n Login:\n \n Password:\n \n Stay logged in:\n \n \n \n \n \n\n\n\n \n\n\nMobile Tracks 2.1devel (2012-03-24 10:55:17 +0100): Email | Website | Contribute \n" (Spec::Expectations::ExpectationNotMetError)
./features/step_definitions/web_steps.rb:110
./features/step_definitions/web_steps.rb:14:in `with_scope'
./features/step_definitions/web_steps.rb:108:in `/^(?:|I )should see "([^"]*)"(?: within "([^"]*)")?$/'
features/mobile_edit_a_todo.feature:49:in `Then I should see "There are no incomplete actions"'
cannot fill in, no text field, text area or password field with id, name, or label 'value' found (Capybara::ElementNotFound)
(eval):2:in `send'
(eval):2:in `fill_in'
./features/step_definitions/project_steps.rb:152:in `/^I edit the project name in place to be "([^"]*)"$/'
features/project_edit.feature:30:in `And I edit the project name in place to be "release tracks 2.0"'
expected css "div#project_name>form>input" to return something (Spec::Expectations::ExpectationNotMetError)
./features/step_definitions/project_steps.rb:223:in `/^I should be able to change the project name in place$/'
features/project_edit.feature:41:in `Then I should be able to change the project name in place'
expected there to be content "Name already exists" in "2 Saturday, 24 March 2012\nToggle collapsed contexts | Toggle notes | Logout (testuser) \nHome\nStarred\nProjects\nTickler\nOrganize\nView\nAdmin\n?\nProject saved\n2 Last Active Projects\nSort \nAlphabetically\n | \nBy number of tasks\nmanage me (0 actions)\ntest (1 action)\n Hide form\nName:\n\nDescription (optional):\n\nDefault context (optional):\n\nDefault Tags (optional):\n\nAdd Project\nTake me to the new project page\nSend feedback on 2.1devel (2012-03-24 10:55:17 +0100): Bugs | Forum | Wiki | Email | Website | Contribute" (Spec::Expectations::ExpectationNotMetError)
./features/step_definitions/web_steps.rb:110
./features/step_definitions/web_steps.rb:14:in `with_scope'
./features/step_definitions/web_steps.rb:108:in `/^(?:|I )should see "([^"]*)"(?: within "([^"]*)")?$/'
features/project_edit.feature:88:in `Then I should see "Name already exists"'
expected there to be content "manage him" in "3 Saturday, 24 March 2012\nToggle collapsed contexts | Toggle notes | Logout (testuser) \nHome\nStarred\nProjects\nTickler\nOrganize\nView\nAdmin\n?\n3 Last Active Projects\nSort \nAlphabetically\n | \nBy number of tasks\nmanage me (0 actions)\nupgrade jquery (0 actions)\na project name starting with a (0 actions)\n Hide form\nName:\n\nDescription (optional):\n\nDefault Tags (optional):\n\nAdd Project\nTake me to the new project page\nSend feedback on 2.1devel (2012-03-24 10:55:17 +0100): Bugs | Forum | Wiki | Email | Website | Contribute" (Spec::Expectations::ExpectationNotMetError)
./features/step_definitions/web_steps.rb:110
./features/step_definitions/web_steps.rb:14:in `with_scope'
./features/step_definitions/web_steps.rb:108:in `/^(?:|I )should see "([^"]*)"(?: within "([^"]*)")?$/'
features/project_list.feature:31:in `Then I should see "manage him"'
expected there to be content "manage him" in "3 Last Active Projects\nSort \nAlphabetically\n | \nBy number of tasks\nmanage me (0 actions)\nupgrade jquery (0 actions)\na project name starting with a (0 actions)" (Spec::Expectations::ExpectationNotMetError)
./features/step_definitions/web_steps.rb:110
./features/step_definitions/web_steps.rb:14:in `with_scope'
./features/step_definitions/web_steps.rb:108:in `/^(?:|I )should see "([^"]*)"(?: within "([^"]*)")?$/'
features/project_list.feature:46:in `Then I should see a project named "manage him"'
unknown error (Selenium::WebDriver::Error::JavascriptError)
./features/step_definitions/project_list_steps.rb:22:in `/^I drag the project "([^"]*)" below "([^"]*)"$/'
features/project_list.feature:69:in `When I drag the project "manage me" below "upgrade jquery"'
Element is not currently visible and so may not be interacted with (Selenium::WebDriver::Error::ElementNotVisibleError)
[remote server] file:///tmp/webdriver-profile20120324-8486-bngevc/extensions/fxdriver@googlecode.com/components/command_processor.js:9509:in `unknown'
[remote server] file:///tmp/webdriver-profile20120324-8486-bngevc/extensions/fxdriver@googlecode.com/components/command_processor.js:10510:in `unknown'
[remote server] file:///tmp/webdriver-profile20120324-8486-bngevc/extensions/fxdriver@googlecode.com/components/command_processor.js:10529:in `unknown'
[remote server] file:///tmp/webdriver-profile20120324-8486-bngevc/extensions/fxdriver@googlecode.com/components/command_processor.js:10534:in `unknown'
[remote server] file:///tmp/webdriver-profile20120324-8486-bngevc/extensions/fxdriver@googlecode.com/components/command_processor.js:10482:in `unknown'
(eval):2:in `send'
(eval):2:in `fill_in'
./features/step_definitions/recurring_todo_steps.rb:47:in `/^I edit the name of the pattern "([^\"]*)" to "([^\"]*)"$/'
features/recurring_todos.feature:37:in `And I edit the name of the pattern "run tests" to "report test results"'
Failing Scenarios:
cucumber features/calendar.feature:27 # Scenario: Clearing the due date of a todo will remove it from the calendar
cucumber features/context_edit.feature:41 # Scenario: Editing the context of the last todo will remove the todo and show empty message
cucumber features/context_edit.feature:76 # Scenario: Moving the todo to the tickler will move todo to tickler container and update empty messages
cucumber features/context_list.feature:66 # Scenario: Delete context from context page right after an edit
cucumber features/context_list.feature:75 # Scenario: Edit context from context twice
cucumber features/context_list.feature:107 # Scenario: I can drag and drop to order the contexts
cucumber features/dependencies.feature:13 # Scenario: Adding dependency to dependency by drag and drop
cucumber features/dependencies.feature:27 # Scenario: I can edit a todo to add the todo as a dependency to another
cucumber features/dependencies.feature:96 # Scenario: Deleting a successor will update predecessor
cucumber features/dependencies.feature:115 # Scenario: Dragging an action to a completed action will not add it as a dependency
cucumber features/dependencies.feature:128 # Scenario: Marking a successor as complete will update predecessor
cucumber features/dependencies.feature:128 # Scenario: Marking a successor as complete will update predecessor
cucumber features/dependencies.feature:150 # Scenario: Marking a successor as active will update predecessor
cucumber features/dependencies.feature:150 # Scenario: Marking a successor as active will update predecessor
cucumber features/edit_a_todo.feature:53 # Scenario: Deleting the last todo in container will show empty message # only project, context, tag, not todo
cucumber features/edit_a_todo.feature:53 # Scenario: Deleting the last todo in container will show empty message # only project, context, tag, not todo
cucumber features/edit_a_todo.feature:53 # Scenario: Deleting the last todo in container will show empty message # only project, context, tag, not todo
cucumber features/edit_a_todo.feature:74 # Scenario: I can mark an active todo complete and it will update empty messages
cucumber features/edit_a_todo.feature:74 # Scenario: I can mark an active todo complete and it will update empty messages
cucumber features/edit_a_todo.feature:94 # Scenario: I can mark a deferred todo complete and it will update empty messages
cucumber features/edit_a_todo.feature:113 # Scenario: I can mark a completed todo active and it will update empty messages and context containers
cucumber features/edit_a_todo.feature:113 # Scenario: I can mark a completed todo active and it will update empty messages and context containers
cucumber features/edit_a_todo.feature:131 # Scenario: I can mark a completed todo active and it will update empty messages for pages without context containers
cucumber features/edit_a_todo.feature:146 # Scenario: I can edit a todo to change its description
cucumber features/edit_a_todo.feature:146 # Scenario: I can edit a todo to change its description
cucumber features/edit_a_todo.feature:146 # Scenario: I can edit a todo to change its description
cucumber features/edit_a_todo.feature:162 # Scenario: I can edit a todo to move it to another context
cucumber features/edit_a_todo.feature:180 # Scenario: I can edit a todo to move it to another context in tickler page
cucumber features/edit_a_todo.feature:193 # Scenario: I can edit a todo to move it to another project
cucumber features/edit_a_todo.feature:203 # Scenario: I can edit a todo to move it to the tickler
cucumber features/edit_a_todo.feature:270 # Scenario: Editing the context of a todo to a new context will show new context
cucumber features/edit_a_todo.feature:282 # Scenario: Editing the context of a todo in the tickler to a new context will show new context
cucumber features/mobile_edit_a_todo.feature:18 # Scenario: I can edit an action on the mobile page
cucumber features/mobile_edit_a_todo.feature:43 # Scenario: I can defer an action on the mobile page
cucumber features/project_edit.feature:27 # Scenario: I can edit the project name in place
cucumber features/project_edit.feature:37 # Scenario: I cannot edit the project name in two places at once
cucumber features/project_edit.feature:83 # Scenario: I cannot change the name of a project in the project list view to the name of another existing project
cucumber features/project_edit.feature:113 # Scenario: Cancelling editing a project will restore project settings
cucumber features/project_edit.feature:136 # Scenario: Moving the todo out of the tickler will move todo to active container and update empty messages
cucumber features/project_list.feature:28 # Scenario: Editing a project name will update the list
cucumber features/project_list.feature:42 # Scenario: Deleting a project after a edit will remove it from the list
cucumber features/project_list.feature:66 # Scenario: Dragging a project to change list order of projects
cucumber features/recurring_todos.feature:35 # Scenario: I can edit a repeat pattern
cucumber features/recurring_todos.feature:82 # Scenario: Deleting a recurring todo with active pattern will show new todo
cucumber features/search.feature:28 # Scenario: I can edit found todos
cucumber features/shared_add_new_todo.feature:101 # Scenario: I can add multiple todos from several pages
cucumber features/shared_add_new_todo.feature:101 # Scenario: I can add multiple todos from several pages
cucumber features/shared_add_new_todo.feature:101 # Scenario: I can add multiple todos from several pages
cucumber features/shared_add_new_todo.feature:159 # Scenario: Adding a todo to a hidden project does not show the todo
cucumber features/shared_add_new_todo.feature:212 # Scenario: Adding a dependency to a todo updates the successor
cucumber features/shared_add_new_todo.feature:212 # Scenario: Adding a dependency to a todo updates the successor
cucumber features/shared_add_new_todo.feature:228 # Scenario: Adding a dependency to a todo in another project
cucumber features/tagging_todos.feature:19 # Scenario: I can remove a tag from a todo from the tag view and the todo will be removed
cucumber features/tagging_todos.feature:39 # Scenario: I can move a tagged todo in tag view to a hidden project and it will move the todo on the page to the hidden container
cucumber features/tagging_todos.feature:49 # Scenario: I can move a tagged todo in tag view to a hidden context and it will move the todo on the page to the hidden container
cucumber features/tickler.feature:33 # Scenario: Editing the context of a todo moves it to the new context
340 scenarios (56 failed, 284 passed)
3234 steps (56 failed, 151 skipped, 3027 passed)
21m58.714s
rake aborted!
Command failed with status (1): [/usr/bin/ruby1.8 -S bundle exec cucumber ...]
(See full trace by running task with --trace)
$
Leave a comment