Commit c6e88d58 authored by Ramya Authappan's avatar Ramya Authappan

Merge branch 'license_compliance_fix' into 'master'

Add a fix for license_compliance_spec

Closes #234068

See merge request gitlab-org/gitlab!38930
parents 331c5d85 123b64c2
......@@ -51,16 +51,16 @@ module QA
end
def approve_license(name)
click_license(name)
wait_until(reload: false) do
wait_until(reload: true) do
click_license(name)
has_element?(:approve_license_button, wait: 1)
end
click_element(:approve_license_button)
end
def deny_license(name)
click_license(name)
wait_until(reload: false) do
wait_until(reload: true) do
click_license(name)
has_element?(:deny_license_button, wait: 1)
end
click_element(:deny_license_button)
......
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