Commit 2116c02a authored by Alfredo Sumaran's avatar Alfredo Sumaran

Better selector to links

If we don’t do this the links are unclickable because the top bar is on top of them.
parent c7bcd243
......@@ -47,10 +47,10 @@ class Spinach::Features::GroupsManagement < Spinach::FeatureSteps
visit dashboard_groups_path
click_link 'Sourcing'
page.within '.layout-nav' do
click_link 'Settings'
find('a', text: 'Settings').trigger('click')
end
page.within '.sub-nav' do
click_link 'General'
find('a', text: 'General').trigger('click')
end
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