Commit 08e0dbe6 authored by Sanad Liaquat's avatar Sanad Liaquat

Merge branch 'qa-nightly-98-fix-oauth-spec' into 'master'

Fix GitHub oAuth test

Closes gitlab-org/quality/nightly#98

See merge request gitlab-org/gitlab-ce!27736
parents bead65a9 50faf222
...@@ -12,12 +12,10 @@ module QA ...@@ -12,12 +12,10 @@ module QA
fill_in 'password', with: QA::Runtime::Env.github_password fill_in 'password', with: QA::Runtime::Env.github_password
click_on 'Sign in' click_on 'Sign in'
unless has_no_text?("Authorize GitLab-OAuth")
click_on 'Authorize gitlab-qa' if has_button?('Authorize gitlab-qa') click_on 'Authorize gitlab-qa' if has_button?('Authorize gitlab-qa')
end end
end end
end end
end end
end end
end
end end
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