summaryrefslogtreecommitdiff
path: root/features
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
parentcfcd1601522c52be96097956b0e3a56be3a3ffcb (diff)
downloadgitlab-ce-8858ddaf83e57adc6c003e03e72929f6068a6bfa.tar.gz
Diffstat (limited to 'features')
-rw-r--r--features/steps/project/merge_requests.rb3
-rw-r--r--features/steps/shared/note.rb7
2 files changed, 2 insertions, 8 deletions
diff --git a/features/steps/project/merge_requests.rb b/features/steps/project/merge_requests.rb
index 810cd75591b..7254fbc2e4e 100644
--- a/features/steps/project/merge_requests.rb
+++ b/features/steps/project/merge_requests.rb
@@ -299,9 +299,6 @@ class Spinach::Features::ProjectMergeRequests < Spinach::FeatureSteps
step 'I change the comment "Line is wrong" to "Typo, please fix" on diff' do
page.within('.diff-file:nth-of-type(5) .note') do
- find('.more-actions').click
- find('.more-actions .dropdown-menu li', match: :first)
-
find('.js-note-edit').click
page.within('.current-note-edit-form', visible: true) do
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