Commit 51894dbb authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix failing tests after merge from CE

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 95db3bd7
......@@ -10,7 +10,7 @@ class Spinach::Features::GroupActiveTab < Spinach::FeatureSteps
end
step 'the active main tab should be Settings' do
page.within '.nav-sidebar' do
page.within '.nav-secondary' 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-sidebar') do
page.within('.nav-secondary') do
click_link 'Members'
end
end
......@@ -53,7 +53,9 @@ class Spinach::Features::GroupsManagement < Spinach::FeatureSteps
step 'I go to project settings' do
@project = Project.find_by(name: "Open")
click_link 'Projects'
page.within('.nav-secondary') do
click_link 'Projects'
end
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