diff options
Diffstat (limited to 'spec/features/dashboard/milestones_spec.rb')
-rw-r--r-- | spec/features/dashboard/milestones_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/dashboard/milestones_spec.rb b/spec/features/dashboard/milestones_spec.rb index 992ed2f2ce6..1ba16bf879a 100644 --- a/spec/features/dashboard/milestones_spec.rb +++ b/spec/features/dashboard/milestones_spec.rb @@ -35,7 +35,7 @@ RSpec.describe 'Dashboard > Milestones' do describe 'new milestones dropdown', :js do it 'takes user to a new milestone page', :js do - find('.new-project-item-select-button').click + click_button 'Toggle project select' page.within('.select2-results') do first('.select2-result-label').click |