Fix GitHub OAuth e2e spec

This commit is contained in:
Sanad Liaquat 2019-04-26 18:18:42 +05:00
parent 696698d34b
commit 50faf22224

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