Commit 8e575364 authored by Mark Lapierre's avatar Mark Lapierre

Wait for approval before continuing

After clicking the approve button, this waits for the button to
change to revoke approval. This ensures that in subsequent steps
approval is not still in process (which caused a test to be flaky)

See https://gitlab.com/gitlab-org/gitlab/issues/35525
parent 037dd58e
......@@ -79,6 +79,8 @@ module QA
def click_approve
click_element :approve_button
find_element :approve_button, text: "Revoke approval"
end
def start_review
......
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