Commit 619a7928 authored by Stan Hu's avatar Stan Hu

Add Capybara DSL for JavaScript specs to get page helper

parent aac1e818
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment