Commit 35c1028089be3e539692312d500695ce3d484642
1 parent
19a9adef
Exists in
colab
and in
4 other branches
Increased Capybara wait time removing explicit waits on the steps
Showing
2 changed files
with
1 additions
and
4 deletions
Show diff stats
features/repository/show/modules_tree.feature
| ... | ... | @@ -16,7 +16,6 @@ Feature: Repository modules tree |
| 16 | 16 | And I ask for the module result of the given processing |
| 17 | 17 | When I visit the repository show page |
| 18 | 18 | And I click the "Modules Tree" h3 |
| 19 | - And I wait for "5" seconds | |
| 20 | 19 | Then I should see the given module result |
| 21 | 20 | |
| 22 | 21 | @kalibro_configuration_restart @kalibro_processor_restart @javascript |
| ... | ... | @@ -32,7 +31,6 @@ Feature: Repository modules tree |
| 32 | 31 | And I ask for the module result of the given processing |
| 33 | 32 | When I visit the repository show page |
| 34 | 33 | And I click the "Modules Tree" h3 |
| 35 | - And I wait for "5" seconds | |
| 36 | 34 | Then I should see a sample child's name |
| 37 | 35 | And I should see "Name" |
| 38 | 36 | And I should see "Granularity" |
| ... | ... | @@ -53,7 +51,6 @@ Feature: Repository modules tree |
| 53 | 51 | When I visit the repository show page |
| 54 | 52 | And I click the "Modules Tree" h3 |
| 55 | 53 | And I click on the sample child's name |
| 56 | - And I wait for "5" seconds | |
| 57 | 54 | Then I should see a sample child's name |
| 58 | 55 | |
| 59 | 56 | @kalibro_configuration_restart @kalibro_processor_restart @javascript @wip |
| ... | ... | @@ -69,5 +66,4 @@ Feature: Repository modules tree |
| 69 | 66 | And I ask for the module result of the given processing |
| 70 | 67 | When I visit the repository show page |
| 71 | 68 | And I click the "Modules Tree" h3 |
| 72 | - And I wait for "5" seconds | |
| 73 | 69 | Then I should see the given module result | ... | ... |
features/support/env.rb
| ... | ... | @@ -24,6 +24,7 @@ require 'cucumber/rails' |
| 24 | 24 | require 'capybara/poltergeist' |
| 25 | 25 | #Capybara.default_driver = :poltergeist |
| 26 | 26 | Capybara.javascript_driver = :poltergeist |
| 27 | +Capybara.default_wait_time = 5 # default is 2 seconds | |
| 27 | 28 | |
| 28 | 29 | #require 'kalibro_gem/kalibro_cucumber_helpers/hooks' |
| 29 | 30 | ... | ... |