summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelipe Artur <felipefac@gmail.com>2017-10-06 18:22:24 -0300
committerFelipe Artur <felipefac@gmail.com>2017-10-06 18:22:24 -0300
commitbd41a59259fd1da3d9af11dcae1c772fba573963 (patch)
tree177633fefde94209b3f0856f9cc15e36ebf04bf8
parent7e52d3cfeaa6771da898d19753d8fa07dfe6d68e (diff)
downloadgitlab-ce-bd41a59259fd1da3d9af11dcae1c772fba573963.tar.gz
[SKIP CI] Undo feature spec changes
-rw-r--r--spec/features/merge_requests/user_posts_diff_notes_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/merge_requests/user_posts_diff_notes_spec.rb b/spec/features/merge_requests/user_posts_diff_notes_spec.rb
index 1c7dc688c1a..7a773fb2baa 100644
--- a/spec/features/merge_requests/user_posts_diff_notes_spec.rb
+++ b/spec/features/merge_requests/user_posts_diff_notes_spec.rb
@@ -228,6 +228,8 @@ feature 'Merge requests > User posts diff notes', :js do
click_button 'Comment'
+ wait_for_requests
+
assert_comment_persistence(line_holder, asset_form_reset: asset_form_reset)
end
@@ -258,8 +260,6 @@ feature 'Merge requests > User posts diff notes', :js do
def assert_comment_persistence(line_holder, asset_form_reset:)
notes_holder_saved = line_holder.find(:xpath, notes_holder_input_xpath)
- sleep 3
-
expect(notes_holder_saved[:class]).not_to include(notes_holder_input_class)
expect(notes_holder_saved).to have_content test_note_comment