diff options
author | Stan Hu <stanhu@gmail.com> | 2017-08-16 00:48:48 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2017-08-16 00:48:48 -0700 |
commit | d3e81673827e5171133f58f01b7054e3b602db7a (patch) | |
tree | f34598bd9355c9b68138917a48f2156f46abead8 /features/steps/shared/note.rb | |
parent | 767dffcc34f5088ea472160380a84c093aa02c73 (diff) | |
parent | 441ba5f35bd3415cd26bf3eeaead509181313058 (diff) | |
download | gitlab-ce-d3e81673827e5171133f58f01b7054e3b602db7a.tar.gz |
Merge branch 'master' into sh-headless-chrome-support
Diffstat (limited to 'features/steps/shared/note.rb')
-rw-r--r-- | features/steps/shared/note.rb | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/features/steps/shared/note.rb b/features/steps/shared/note.rb index 9de6a3ce771..92f442db646 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) accept_confirm { 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 |