summaryrefslogtreecommitdiff
path: root/features/steps/shared
diff options
context:
space:
mode:
authorSimon Knox <psimyn@gmail.com>2017-07-18 15:09:04 +1000
committerSimon Knox <psimyn@gmail.com>2017-08-10 09:37:25 +1000
commit8858ddaf83e57adc6c003e03e72929f6068a6bfa (patch)
treefa1994c3d75d72d511ca495842778aeb78880446 /features/steps/shared
parentcfcd1601522c52be96097956b0e3a56be3a3ffcb (diff)
downloadgitlab-ce-8858ddaf83e57adc6c003e03e72929f6068a6bfa.tar.gz
Diffstat (limited to 'features/steps/shared')
-rw-r--r--features/steps/shared/note.rb7
1 files changed, 2 insertions, 5 deletions
diff --git a/features/steps/shared/note.rb b/features/steps/shared/note.rb
index 80187b83fee..492da38355c 100644
--- a/features/steps/shared/note.rb
+++ b/features/steps/shared/note.rb
@@ -11,8 +11,8 @@ module SharedNote
note = find('.note')
note.hover
- note.find('.more-actions').click
- note.find('.more-actions .dropdown-menu li', match: :first)
+ find('.more-actions').click
+ find('.more-actions .dropdown-menu li', match: :first)
find(".js-note-delete").click
end
@@ -147,9 +147,6 @@ module SharedNote
note = find('.note')
note.hover
- note.find('.more-actions').click
- note.find('.more-actions .dropdown-menu li', match: :first)
-
note.find('.js-note-edit').click
end