update cucumber, capybara and mini-profiler

let capybara find hidden elements (2.0 behavior)
This commit is contained in:
Reinier Balt 2013-04-11 10:52:32 +02:00
parent 4ece8bf7ab
commit 783d4dd774
3 changed files with 12 additions and 12 deletions

View file

@ -8,6 +8,7 @@ require 'capybara/session'
Capybara.default_wait_time = 5
Capybara.javascript_driver = ENV["JS_DRIVER"] ? ENV["JS_DRIVER"].to_sym : :selenium
Capybara.ignore_hidden_elements = false # make find(css) find hidden elements
if Capybara.javascript_driver == :webkit
# require 'capybara/webkit'

View file

@ -38,7 +38,7 @@ Feature: Toggle the containers
And I should not see the todo "test 2"
And I should not see the todo "test 3"
@javascript @wip
@javascript
Scenario: I can toggle a project container
Given I have the following contexts
| context | hide |
@ -87,7 +87,7 @@ Feature: Toggle the containers
And I should not see the context container for "@boss"
And I should not see the context container for "@ipad"
@javascript @wip
@javascript
Scenario: I can hide all collapsed project containers
Given I have the following contexts
| context | hide |