From 50faf2222404bd9d42e3367e22f547cdd45f26c8 Mon Sep 17 00:00:00 2001 From: Sanad Liaquat Date: Fri, 26 Apr 2019 18:18:42 +0500 Subject: Fix GitHub OAuth e2e spec --- qa/qa/vendor/github/page/login.rb | 4 +--- 1 file changed, 1 insertion(+), 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 -- cgit v1.2.1