mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-24 03:00:12 +01:00
update cucumber, capybara and mini-profiler
let capybara find hidden elements (2.0 behavior)
This commit is contained in:
parent
4ece8bf7ab
commit
783d4dd774
3 changed files with 12 additions and 12 deletions
19
Gemfile.lock
19
Gemfile.lock
|
|
@ -43,13 +43,12 @@ GEM
|
|||
uniform_notifier
|
||||
cache_digests (0.2.0)
|
||||
actionpack (>= 3.2)
|
||||
capybara (2.0.3)
|
||||
capybara (2.1.0)
|
||||
mime-types (>= 1.16)
|
||||
nokogiri (>= 1.3.3)
|
||||
rack (>= 1.0.0)
|
||||
rack-test (>= 0.5.4)
|
||||
selenium-webdriver (~> 2.0)
|
||||
xpath (~> 1.0.0)
|
||||
xpath (~> 2.0)
|
||||
childprocess (0.3.9)
|
||||
ffi (~> 1.0, >= 1.0.11)
|
||||
coffee-rails (3.2.2)
|
||||
|
|
@ -59,7 +58,7 @@ GEM
|
|||
coffee-script-source
|
||||
execjs
|
||||
coffee-script-source (1.6.2)
|
||||
cucumber (1.2.4)
|
||||
cucumber (1.2.5)
|
||||
builder (>= 2.1.2)
|
||||
diff-lcs (>= 1.1.3)
|
||||
gherkin (~> 2.11.7)
|
||||
|
|
@ -80,9 +79,9 @@ GEM
|
|||
factory_girl (~> 4.2.0)
|
||||
railties (>= 3.0.0)
|
||||
ffi (1.6.0)
|
||||
gherkin (2.11.7)
|
||||
gherkin (2.11.8)
|
||||
multi_json (~> 1.3)
|
||||
hike (1.2.1)
|
||||
hike (1.2.2)
|
||||
htmlentities (4.3.1)
|
||||
i18n (0.6.1)
|
||||
journey (1.0.4)
|
||||
|
|
@ -106,7 +105,7 @@ GEM
|
|||
rack (1.4.5)
|
||||
rack-cache (1.2)
|
||||
rack (>= 0.4)
|
||||
rack-mini-profiler (0.1.25)
|
||||
rack-mini-profiler (0.1.26)
|
||||
rack (>= 1.1.3)
|
||||
rack-ssl (1.3.3)
|
||||
rack
|
||||
|
|
@ -144,7 +143,7 @@ GEM
|
|||
railties (~> 3.2.0)
|
||||
sass (>= 3.1.10)
|
||||
tilt (~> 1.3)
|
||||
selenium-webdriver (2.31.0)
|
||||
selenium-webdriver (2.32.0)
|
||||
childprocess (>= 0.2.5)
|
||||
multi_json (~> 1.0)
|
||||
rubyzip
|
||||
|
|
@ -166,7 +165,7 @@ GEM
|
|||
libv8 (~> 3.11.8.12)
|
||||
ref
|
||||
thor (0.18.1)
|
||||
tilt (1.3.6)
|
||||
tilt (1.3.7)
|
||||
timecop (0.6.1)
|
||||
tolk (1.3.9)
|
||||
safe_yaml (~> 0.8)
|
||||
|
|
@ -181,7 +180,7 @@ GEM
|
|||
uniform_notifier (1.2.0)
|
||||
websocket (1.0.7)
|
||||
will_paginate (3.0.4)
|
||||
xpath (1.0.0)
|
||||
xpath (2.0.0)
|
||||
nokogiri (~> 1.3)
|
||||
yard (0.8.5.2)
|
||||
|
||||
|
|
|
|||
|
|
@ -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'
|
||||
|
|
|
|||
|
|
@ -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 |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue