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
This commit is contained in:
Sanad Liaquat 2019-04-29 10:30:01 +00:00
commit 08e0dbe675

View file

@ -12,9 +12,7 @@ module QA
fill_in 'password', with: QA::Runtime::Env.github_password
click_on 'Sign in'
unless has_no_text?("Authorize GitLab-OAuth")
click_on 'Authorize gitlab-qa' if has_button?('Authorize gitlab-qa')
end
click_on 'Authorize gitlab-qa' if has_button?('Authorize gitlab-qa')
end
end
end