Commit cc07cceb authored by Will Meek's avatar Will Meek

Fix for add_batch_comments_in_merge_request_spec

Fix for the failure https://gitlab.com/gitlab-org/gitlab/-/issues/340533
of 2 tests in the add_batch_comments_in_merge_request_spec
parent cbc14bb5
......@@ -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