diff options
Diffstat (limited to 'spec/features/issues/user_sorts_issue_comments_spec.rb')
-rw-r--r-- | spec/features/issues/user_sorts_issue_comments_spec.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/features/issues/user_sorts_issue_comments_spec.rb b/spec/features/issues/user_sorts_issue_comments_spec.rb index 555f8827374..4b38ce329b8 100644 --- a/spec/features/issues/user_sorts_issue_comments_spec.rb +++ b/spec/features/issues/user_sorts_issue_comments_spec.rb @@ -16,7 +16,9 @@ RSpec.describe 'Comment sort direction' do it 'saves sort order' do # open dropdown, and select 'Newest first' page.within('.issuable-details') do + find('#discussion-preferences-dropdown').click click_button('Oldest first') + find('#discussion-preferences-dropdown').click click_button('Newest first') end |