diff options
author | Stan Hu <stanhu@gmail.com> | 2017-08-13 15:55:36 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2017-08-13 15:55:36 -0700 |
commit | 247138d4f6335f9d1dc92cdedab305e8db28ed25 (patch) | |
tree | 5c182df5456fdbaf32c1da31ca7614bf66a5ccba /features/steps/shared | |
parent | a2cd32b75c3b9492dfe0b8c2219bf45552ed0600 (diff) | |
download | gitlab-ce-247138d4f6335f9d1dc92cdedab305e8db28ed25.tar.gz |
Accept the confirm modal to make comment on commit spec to pass
Diffstat (limited to 'features/steps/shared')
-rw-r--r-- | features/steps/shared/note.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/features/steps/shared/note.rb b/features/steps/shared/note.rb index 80187b83fee..9de6a3ce771 100644 --- a/features/steps/shared/note.rb +++ b/features/steps/shared/note.rb @@ -14,7 +14,7 @@ module SharedNote note.find('.more-actions').click note.find('.more-actions .dropdown-menu li', match: :first) - find(".js-note-delete").click + accept_confirm { find(".js-note-delete").click } end end |