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,7 +16,6 @@ Feature: Repository modules tree | ||
16 | And I ask for the module result of the given processing | 16 | And I ask for the module result of the given processing |
17 | When I visit the repository show page | 17 | When I visit the repository show page |
18 | And I click the "Modules Tree" h3 | 18 | And I click the "Modules Tree" h3 |
19 | - And I wait for "5" seconds | ||
20 | Then I should see the given module result | 19 | Then I should see the given module result |
21 | 20 | ||
22 | @kalibro_configuration_restart @kalibro_processor_restart @javascript | 21 | @kalibro_configuration_restart @kalibro_processor_restart @javascript |
@@ -32,7 +31,6 @@ Feature: Repository modules tree | @@ -32,7 +31,6 @@ Feature: Repository modules tree | ||
32 | And I ask for the module result of the given processing | 31 | And I ask for the module result of the given processing |
33 | When I visit the repository show page | 32 | When I visit the repository show page |
34 | And I click the "Modules Tree" h3 | 33 | And I click the "Modules Tree" h3 |
35 | - And I wait for "5" seconds | ||
36 | Then I should see a sample child's name | 34 | Then I should see a sample child's name |
37 | And I should see "Name" | 35 | And I should see "Name" |
38 | And I should see "Granularity" | 36 | And I should see "Granularity" |
@@ -53,7 +51,6 @@ Feature: Repository modules tree | @@ -53,7 +51,6 @@ Feature: Repository modules tree | ||
53 | When I visit the repository show page | 51 | When I visit the repository show page |
54 | And I click the "Modules Tree" h3 | 52 | And I click the "Modules Tree" h3 |
55 | And I click on the sample child's name | 53 | And I click on the sample child's name |
56 | - And I wait for "5" seconds | ||
57 | Then I should see a sample child's name | 54 | Then I should see a sample child's name |
58 | 55 | ||
59 | @kalibro_configuration_restart @kalibro_processor_restart @javascript @wip | 56 | @kalibro_configuration_restart @kalibro_processor_restart @javascript @wip |
@@ -69,5 +66,4 @@ Feature: Repository modules tree | @@ -69,5 +66,4 @@ Feature: Repository modules tree | ||
69 | And I ask for the module result of the given processing | 66 | And I ask for the module result of the given processing |
70 | When I visit the repository show page | 67 | When I visit the repository show page |
71 | And I click the "Modules Tree" h3 | 68 | And I click the "Modules Tree" h3 |
72 | - And I wait for "5" seconds | ||
73 | Then I should see the given module result | 69 | Then I should see the given module result |
features/support/env.rb
@@ -24,6 +24,7 @@ require 'cucumber/rails' | @@ -24,6 +24,7 @@ require 'cucumber/rails' | ||
24 | require 'capybara/poltergeist' | 24 | require 'capybara/poltergeist' |
25 | #Capybara.default_driver = :poltergeist | 25 | #Capybara.default_driver = :poltergeist |
26 | Capybara.javascript_driver = :poltergeist | 26 | Capybara.javascript_driver = :poltergeist |
27 | +Capybara.default_wait_time = 5 # default is 2 seconds | ||
27 | 28 | ||
28 | #require 'kalibro_gem/kalibro_cucumber_helpers/hooks' | 29 | #require 'kalibro_gem/kalibro_cucumber_helpers/hooks' |
29 | 30 |