summaryrefslogtreecommitdiff
path: root/features/steps/shared
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2017-08-13 15:55:36 -0700
committerStan Hu <stanhu@gmail.com>2017-08-13 15:55:36 -0700
commit247138d4f6335f9d1dc92cdedab305e8db28ed25 (patch)
tree5c182df5456fdbaf32c1da31ca7614bf66a5ccba /features/steps/shared
parenta2cd32b75c3b9492dfe0b8c2219bf45552ed0600 (diff)
downloadgitlab-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.rb2
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