diff options
author | Stan Hu <stanhu@gmail.com> | 2017-08-16 10:48:48 +0300 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2017-08-16 10:48:48 +0300 |
commit | d3e81673827e5171133f58f01b7054e3b602db7a (patch) | |
tree | f34598bd9355c9b68138917a48f2156f46abead8 /spec/features/snippets/notes_on_personal_snippets_spec.rb | |
parent | 767dffcc34f5088ea472160380a84c093aa02c73 (diff) | |
parent | 441ba5f35bd3415cd26bf3eeaead509181313058 (diff) |
Merge branch 'master' into sh-headless-chrome-support
Diffstat (limited to 'spec/features/snippets/notes_on_personal_snippets_spec.rb')
-rw-r--r-- | spec/features/snippets/notes_on_personal_snippets_spec.rb | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/spec/features/snippets/notes_on_personal_snippets_spec.rb b/spec/features/snippets/notes_on_personal_snippets_spec.rb index b7245c1d92b..d089fb5b730 100644 --- a/spec/features/snippets/notes_on_personal_snippets_spec.rb +++ b/spec/features/snippets/notes_on_personal_snippets_spec.rb @@ -88,11 +88,7 @@ describe 'Comments on personal snippets', :js do context 'when editing a note' do it 'changes the text' do - open_more_actions_dropdown(snippet_notes[0]) - - page.within("#notes-list li#note_#{snippet_notes[0].id}") do - click_on 'Edit comment' - end + find('.js-note-edit').click page.within('.current-note-edit-form') do fill_in 'note[note]', with: 'new content' |