summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSanad Liaquat <sliaquat@gitlab.com>2019-04-26 18:18:42 +0500
committerSanad Liaquat <sliaquat@gitlab.com>2019-04-26 18:18:42 +0500
commit50faf2222404bd9d42e3367e22f547cdd45f26c8 (patch)
tree69555ee34a94d8eb6d03d610b14f212246a34383
parent696698d34b34bc60bc7819859fed1ba6ec06256b (diff)
downloadgitlab-ce-50faf2222404bd9d42e3367e22f547cdd45f26c8.tar.gz
Fix GitHub OAuth e2e spec
-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