diff options
author | Jose Ivan Vargas <jvargas@gitlab.com> | 2017-09-26 10:30:26 -0500 |
---|---|---|
committer | Jose Ivan Vargas <jvargas@gitlab.com> | 2017-09-26 10:30:26 -0500 |
commit | 299213dd01b959b82952284194ea844c33b5a691 (patch) | |
tree | 6626130ce5061c697b7acc3eadd90c12e1260187 /spec/features/snippets | |
parent | bea18efad3f1ea0462d57f53984df8e98cdb4636 (diff) | |
download | gitlab-ce-299213dd01b959b82952284194ea844c33b5a691.tar.gz |
Replaced trigger calls for click, fixed click_on call
Diffstat (limited to 'spec/features/snippets')
-rw-r--r-- | spec/features/snippets/notes_on_personal_snippets_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/snippets/notes_on_personal_snippets_spec.rb b/spec/features/snippets/notes_on_personal_snippets_spec.rb index e842af39376..d089fb5b730 100644 --- a/spec/features/snippets/notes_on_personal_snippets_spec.rb +++ b/spec/features/snippets/notes_on_personal_snippets_spec.rb @@ -88,7 +88,7 @@ describe 'Comments on personal snippets', :js do context 'when editing a note' do it 'changes the text' do - find('.js-note-edit').trigger('click') + find('.js-note-edit').click page.within('.current-note-edit-form') do fill_in 'note[note]', with: 'new content' |