Unverified Commit ccaf6ea5 authored by Rémy Coutable's avatar Rémy Coutable
Browse files

Wait for AJAX after steps defined in SharedActiveTab


Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 908e775c0d27
module SharedActiveTab
include Spinach::DSL
include WaitForAjax
after do
wait_for_ajax if javascript_test?
end
def ensure_active_main_tab(content)
expect(find('.layout-nav li.active')).to have_content(content)
......
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