Failure in browser_ui/1_manage/login/login_via_oauth_and_oidc_with_gitlab_as_idp_spec.rb | Manage OAuth behaves like Instance OAuth Application creates oauth application and uses it to login
Summary
During a series of other 500 failures, this spec failed with a popup error on login:
Could not authenticate you from GitLab because "Undefined method 'endpoint id for action' for gitlab::requestforgeryprotection::controller:class".
Failing job(s):
- https://gitlab.com/gitlab-org/gitlab/-/jobs/5130818005
- https://gitlab.com/gitlab-org/gitlab/-/jobs/5130817981
- https://gitlab.com/gitlab-org/gitlab/-/jobs/5130818032
- https://gitlab.com/gitlab-org/gitlab/-/jobs/5130818068
Failing spec(s):
- qa/specs/features/browser_ui/1_manage/login/login_via_oauth_and_oidc_with_gitlab_as_idp_spec.rb
Corresponding test case(s):
Stack trace
Manage OAuth behaves like Instance OAuth Application creates oauth application and uses it to login
Failure/Error: expect(page.driver.current_url).to include(Runtime::Scenario.gitlab_address)
expected "http://gitlab-oauth-consumer.test/users/sign_in" to include "http://gitlab-ee-f25b5815.test"
Shared Example Group: "Instance OAuth Application" called from ./qa/specs/features/browser_ui/1_manage/login/login_via_oauth_and_oidc_with_gitlab_as_idp_spec.rb:151
Screenshot / HTML page
Possible fixes
Reports (6)
- 2023-09-20: https://gitlab.com/gitlab-org/gitlab/-/jobs/5132327861 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1011476310)
- 2023-09-20: https://gitlab.com/gitlab-org/gitlab/-/jobs/5132327875 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1011476310)
- 2023-09-20: https://gitlab.com/gitlab-org/gitlab/-/jobs/5132327847 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1011476310)
- 2023-09-20: https://gitlab.com/gitlab-org/gitlab/-/jobs/5133030001 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1011563471)
- 2023-09-20: https://gitlab.com/gitlab-org/gitlab/-/jobs/5133030017 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1011563471)
- 2023-09-20: https://gitlab.com/gitlab-org/gitlab/-/jobs/5133030009 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1011563471)
Edited by Ghost User