summaryrefslogtreecommitdiff
path: root/spec/features/projects/branches_spec.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-12-07 18:09:16 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2022-12-07 18:09:16 +0000
commit38e6d9291369e346f33f52a5ab656b787ce0a2c0 (patch)
treec5137121d6cc0ff5d9372252569c10a05164b794 /spec/features/projects/branches_spec.rb
parent2a501f63df96252295df7efe53880c5e78fa22b5 (diff)
downloadgitlab-ce-38e6d9291369e346f33f52a5ab656b787ce0a2c0.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/features/projects/branches_spec.rb')
-rw-r--r--spec/features/projects/branches_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/projects/branches_spec.rb b/spec/features/projects/branches_spec.rb
index aa2683a885c..fc7833809b3 100644
--- a/spec/features/projects/branches_spec.rb
+++ b/spec/features/projects/branches_spec.rb
@@ -143,7 +143,7 @@ RSpec.describe 'Branches', feature_category: :projects do
click_button "Updated date" # Open sorting dropdown
within '[data-testid="branches-dropdown"]' do
- find('p', text: 'Name').click
+ first('span', text: 'Name').click
end
expect(page).to have_content(sorted_branches(repository, count: 20, sort_by: :name))
@@ -154,7 +154,7 @@ RSpec.describe 'Branches', feature_category: :projects do
click_button "Updated date" # Open sorting dropdown
within '[data-testid="branches-dropdown"]' do
- find('p', text: 'Oldest updated').click
+ first('span', text: 'Oldest updated').click
end
expect(page).to have_content(sorted_branches(repository, count: 20, sort_by: :updated_asc))