Skip to content
Snippets Groups Projects
Commit ebccceae authored by Sean McGivern's avatar Sean McGivern
Browse files

Merge branch '31439-fix-transient-spinach-failures' into 'master'

Wait for AJAX after steps defined in SharedActiveTab

Closes #31439

See merge request !10935
parents f8f49cf5 ccaf6ea5
No related branches found
No related tags found
1 merge request!10935Wait for AJAX after steps defined in SharedActiveTab
Pipeline #
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)
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment