Commit 2e1d8cc5 authored by Walmyr Lima e Silva Filho's avatar Walmyr Lima e Silva Filho

Merge branch '196521-wait-for-protect' into 'master'

Adds wait_for_requests to protect_branch call

Closes #196521

See merge request gitlab-org/gitlab!23251
parents 8042a13f 1e213732
...@@ -47,6 +47,7 @@ module QA ...@@ -47,6 +47,7 @@ module QA
def protect_branch def protect_branch
click_element(:protect_button, wait: QA::Support::Repeater::DEFAULT_MAX_WAIT_TIME) click_element(:protect_button, wait: QA::Support::Repeater::DEFAULT_MAX_WAIT_TIME)
wait_for_requests
end end
private private
......
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