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:
Diffstat (limited to 'spec/features/projects/commits/user_browses_commits_spec.rb')
-rw-r--r--spec/features/projects/commits/user_browses_commits_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/projects/commits/user_browses_commits_spec.rb b/spec/features/projects/commits/user_browses_commits_spec.rb
index 3513e249b63..5a0b70532aa 100644
--- a/spec/features/projects/commits/user_browses_commits_spec.rb
+++ b/spec/features/projects/commits/user_browses_commits_spec.rb
@@ -42,8 +42,8 @@ RSpec.describe 'User browses commits', feature_category: :source_code_management
it 'renders breadcrumbs on specific commit path' do
visit project_commits_path(project, project.repository.root_ref + '/files/ruby/regex.rb', limit: 5)
- expect(page).to have_selector('ul.breadcrumb')
- .and have_selector('ul.breadcrumb a', count: 4)
+ expect(page).to have_selector('#content-body ul.breadcrumb')
+ .and have_selector('#content-body ul.breadcrumb a', count: 4)
end
it 'renders diff links to both the previous and current image', :js do