summaryrefslogtreecommitdiff
path: root/features/steps/shared/diff_note.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-01-15 14:28:04 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-01-15 14:28:04 +0200
commit953db8477e301d6cbd9ddf560264da708cd92aba (patch)
tree498f1cbeaf1529a718f06b337f34e6ec29af1236 /features/steps/shared/diff_note.rb
parent211c06e4191395d7c23a9a523ef232506d786ab6 (diff)
downloadgitlab-ce-953db8477e301d6cbd9ddf560264da708cd92aba.tar.gz
More fixes for test
Diffstat (limited to 'features/steps/shared/diff_note.rb')
-rw-r--r--features/steps/shared/diff_note.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/features/steps/shared/diff_note.rb b/features/steps/shared/diff_note.rb
index 431ef022d0b..2ae0f1241b8 100644
--- a/features/steps/shared/diff_note.rb
+++ b/features/steps/shared/diff_note.rb
@@ -8,6 +8,7 @@ module SharedDiffNote
end
Given 'I delete a diff comment' do
+ sleep 1
within(".diff_file") do
first(".js-note-delete").trigger("click")
end
@@ -25,6 +26,7 @@ module SharedDiffNote
fill_in "note[note]", with: "Typo, please fix"
#click_button("Add Comment")
find(".js-comment-button").trigger("click")
+ sleep 0.05
end
end