Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-08-30 16:40:07 +0300
committerPhil Hughes <me@iamphill.com>2017-08-30 16:40:07 +0300
commit25a3b7fab905d09f6f064108f457a4e20c8915ff (patch)
tree52ba272a0a36fcb4a0d59b29a2842b6befed8129 /features/steps
parentaab5d55090a55caebf9c3c4a52ae92036713e8ae (diff)
more navigation spec fixes
Diffstat (limited to 'features/steps')
-rw-r--r--features/steps/explore/projects.rb4
-rw-r--r--features/steps/project/active_tab.rb6
2 files changed, 5 insertions, 5 deletions
diff --git a/features/steps/explore/projects.rb b/features/steps/explore/projects.rb
index f1288c15084..8fb2ac34c32 100644
--- a/features/steps/explore/projects.rb
+++ b/features/steps/explore/projects.rb
@@ -36,13 +36,13 @@ class Spinach::Features::ExploreProjects < Spinach::FeatureSteps
end
step 'I should see project "Community" home page' do
- page.within '.navbar-gitlab .title' do
+ page.within '.breadcrumbs .title' do
expect(page).to have_content 'Community'
end
end
step 'I should see project "Internal" home page' do
- page.within '.navbar-gitlab .title' do
+ page.within '.breadcrumbs .title' do
expect(page).to have_content 'Internal'
end
end
diff --git a/features/steps/project/active_tab.rb b/features/steps/project/active_tab.rb
index 4e0d85f6730..1a18f1d7065 100644
--- a/features/steps/project/active_tab.rb
+++ b/features/steps/project/active_tab.rb
@@ -34,13 +34,13 @@ class Spinach::Features::ProjectActiveTab < Spinach::FeatureSteps
end
step 'I click the "Repository" tab' do
- page.within '.nav-sidebar' do
+ page.within '.sidebar-top-level-items > .active' do
click_link('Repository')
end
end
step 'I click the "Activity" tab' do
- page.within '.nav-sidebar' do
+ page.within '.sidebar-top-level-items > .active' do
click_link('Activity')
end
end
@@ -82,7 +82,7 @@ class Spinach::Features::ProjectActiveTab < Spinach::FeatureSteps
end
step 'I click the "Charts" tab' do
- page.within '.nav-sidebar' do
+ page.within('.sidebar-top-level-items > .active') do
click_link('Charts')
end
end