Commit d2297a30 authored by Jose Ivan Vargas's avatar Jose Ivan Vargas

Fixed groups_management test failures

parent 53ad9970
...@@ -46,7 +46,12 @@ class Spinach::Features::GroupsManagement < Spinach::FeatureSteps ...@@ -46,7 +46,12 @@ class Spinach::Features::GroupsManagement < Spinach::FeatureSteps
step 'I go to group settings page' do step 'I go to group settings page' do
visit dashboard_groups_path visit dashboard_groups_path
click_link 'Sourcing' click_link 'Sourcing'
click_link 'Edit Group' page.within '.layout-nav' do
click_link 'Settings'
end
page.within '.sub-nav' do
click_link 'Edit Group'
end
end end
step 'I enable membership lock' do step 'I enable membership lock' do
...@@ -56,7 +61,7 @@ class Spinach::Features::GroupsManagement < Spinach::FeatureSteps ...@@ -56,7 +61,7 @@ class Spinach::Features::GroupsManagement < Spinach::FeatureSteps
step 'I go to project settings' do step 'I go to project settings' do
@project = Project.find_by(name: "Open") @project = Project.find_by(name: "Open")
page.within '.layout-nav' do page.within '.sub-nav' do
click_link 'Projects' click_link 'Projects'
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