diff options
author | Stan Hu <stanhu@gmail.com> | 2017-06-16 03:30:46 +0300 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2017-06-16 03:30:46 +0300 |
commit | 619a792861fdd974bc4966ce8702bedbbd0d4a94 (patch) | |
tree | 8ad4fc91a65b8085f657bc1a7dd1716889557347 | |
parent | aac1e8181cb2e33d16c7bb91af3fc69d4e847b91 (diff) |
Add Capybara DSL for JavaScript specs to get page helper
-rw-r--r-- | features/support/env.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/features/support/env.rb b/features/support/env.rb index 1690465d9b2..b46667cfc22 100644 --- a/features/support/env.rb +++ b/features/support/env.rb @@ -32,6 +32,7 @@ end Spinach.hooks.after_scenario do |scenario_data, step_definitions| if scenario_data.tags.include?('javascript') + include Capybara::DSL include WaitForRequests block_and_wait_for_requests_complete end |