Follow up: fix sso_trial_flow_company_creating_project_spec.rb
Failed job
https://jihulab.com/gitlab-cn/gitlab/-/jobs/7733869
1) Trial flow for user picking company and creating a project registers the user and creates a group and project reaching onboarding
Failure/Error: super
Capybara::ElementNotFound:
Unable to find link "oauth-login-google_oauth2"
Timeout (30s) reached while running a waiting Capybara finder.
Consider using a non-waiting finder.
See https://www.cloudbees.com/blog/faster-rails-tests
Why
Jihu does not support google_oauth2
, while Upstream uses google_oauth2
as the default parameter during testing.
How to fix
Change default parameter in spec from google_oauth2
to gitlab
.
由 路志远 编辑于