Commit b732b179 authored by Sanad Liaquat's avatar Sanad Liaquat

Merge branch 'wm-340533-batch-mr-spec-fix' into 'master'

Fix for add_batch_comments_in_merge_request_spec

See merge request gitlab-org/gitlab!70065
parents e74e4b88 cc07cceb
......@@ -136,14 +136,14 @@ module QA
end
def submit_pending_reviews
has_element?(:submit_review_button)
within_element(:review_bar_content) do
click_element(:review_preview_dropdown)
click_element(:submit_review_button)
# After clicking the button, wait for it to disappear
# before moving on to the next part of the test
has_no_element?(:submit_review_button)
end
# After clicking the button, wait for it to disappear
# before moving on to the next part of the test
has_no_element?(:submit_review_button)
end
def add_comment_to_diff(text)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment