summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSanad Liaquat <sliaquat@gitlab.com>2019-04-29 10:30:01 +0000
committerSanad Liaquat <sliaquat@gitlab.com>2019-04-29 10:30:01 +0000
commit08e0dbe6754711604952313b01d7159d7fa8f946 (patch)
tree5c803ac7c1717c7117b37671eefe9e37297fd589
parentbead65a9d324542cde464ecc6da2393c30f67769 (diff)
parent50faf2222404bd9d42e3367e22f547cdd45f26c8 (diff)
downloadgitlab-ce-08e0dbe6754711604952313b01d7159d7fa8f946.tar.gz
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
-rw-r--r--qa/qa/vendor/github/page/login.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/qa/qa/vendor/github/page/login.rb b/qa/qa/vendor/github/page/login.rb
index 6d8f9aa7c12..120ba6e6c06 100644
--- a/qa/qa/vendor/github/page/login.rb
+++ b/qa/qa/vendor/github/page/login.rb
@@ -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