mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-23 09:16:10 +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
|
|
@ -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