Commit 04bc1346 authored by Yorick Peterse's avatar Yorick Peterse

Fix sidebar links now that the old sidebar is back

This is the inverse of 51894dbb.
parent b66eb9d2
......@@ -10,7 +10,7 @@ class Spinach::Features::GroupActiveTab < Spinach::FeatureSteps
end
step 'the active main tab should be Settings' do
page.within '.nav-secondary' do
page.within '.nav-sidebar' do
expect(page).to have_content('Go to group')
end
end
......
......@@ -35,7 +35,7 @@ class Spinach::Features::GroupsManagement < Spinach::FeatureSteps
step 'I reload "Open" project members page' do
visit root_path
click_link 'Sourcing / Open'
page.within('.nav-secondary') do
page.within('.nav-sidebar') do
click_link 'Members'
end
end
......@@ -53,9 +53,7 @@ class Spinach::Features::GroupsManagement < Spinach::FeatureSteps
step 'I go to project settings' do
@project = Project.find_by(name: "Open")
page.within('.nav-secondary') do
click_link 'Projects'
end
click_link 'Projects'
link = "/#{@project.path_with_namespace}/project_members"
find(:xpath, "//a[@href=\"#{link}\"]").click
......
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