Skip to content

QA failure in `qa/specs/features/browser_ui/1_manage/login/login_via_oauth_spec.rb:6` / `Unable to find field "otp" that is not disabled`

As seen in https://gitlab.com/gitlab-org/quality/nightly/-/jobs/400646091 and https://gitlab.com/gitlab-org/quality/nightly/-/jobs/400646067:

8404   1) Manage OAuth login User logs in to GitLab with GitHub OAuth
8405      Failure/Error: Vendor::Github::Page::Login.perform(&:login)
8406      
8407      Capybara::ElementNotFound:
8408        Unable to find field "otp" that is not disabled
8409      # /usr/local/bundle/gems/capybara-3.29.0/lib/capybara/node/finders.rb:296:in `block in synced_resolve'
8410      # /usr/local/bundle/gems/capybara-3.29.0/lib/capybara/node/base.rb:83:in `synchronize'
8411      # /usr/local/bundle/gems/capybara-3.29.0/lib/capybara/node/finders.rb:287:in `synced_resolve'
8412      # /usr/local/bundle/gems/capybara-3.29.0/lib/capybara/node/finders.rb:52:in `find'
8413      # /usr/local/bundle/gems/capybara-3.29.0/lib/capybara/node/actions.rb:91:in `fill_in'
8414      # /usr/local/bundle/gems/capybara-3.29.0/lib/capybara/session.rb:749:in `block (2 levels) in <class:Session>'
8415      # /usr/local/bundle/gems/capybara-3.29.0/lib/capybara/dsl.rb:51:in `block (2 levels) in <module:DSL>'
8416      # ./qa/vendor/github/page/login.rb:25:in `block in login'
8417      # ./qa/support/retrier.rb:56:in `block in retry_until'
8418      # ./qa/support/repeater.rb:21:in `repeat_until'
8419      # ./qa/support/retrier.rb:48:in `retry_until'
8420      # ./qa/vendor/github/page/login.rb:16:in `login'
8421      # ./qa/scenario/actable.rb:16:in `perform'
8422      # ./qa/specs/features/browser_ui/1_manage/login/login_via_oauth_spec.rb:10:in `block (3 levels) in <module:QA>'
8423      # /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:123:in `block in run'
8424      # /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `loop'
8425      # /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `run'
8426      # /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
8427      # ./spec/spec_helper.rb:68:in `block (2 levels) in <top (required)>'
8428      # /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:123:in `block in run'
8429      # /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `loop'
8430      # /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `run'
8431      # /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
8432      # /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:37:in `block (2 levels) in setup'
8433      # ./qa/specs/runner.rb:69:in `perform'
8434      # ./qa/scenario/template.rb:10:in `block in perform'
8435      # ./qa/scenario/template.rb:8:in `tap'
8436      # ./qa/scenario/template.rb:8:in `perform'
8437      # ./qa/scenario/template.rb:33:in `perform'
8438      # ./qa/scenario/template.rb:10:in `block in perform'
8439      # ./qa/scenario/template.rb:8:in `tap'
8440      # ./qa/scenario/template.rb:8:in `perform'
8441      # ./qa/scenario/bootable.rb:28:in `launch!'
8442 Top 1 slowest examples (77.99 seconds, 100.0% of total time):
8443   Manage OAuth login User logs in to GitLab with GitHub OAuth
8444     77.99 seconds ./qa/specs/features/browser_ui/1_manage/login/login_via_oauth_spec.rb:6
8445 Finished in 1 minute 18.01 seconds (files took 31.9 seconds to load)
8446 1 example, 1 failure
8447 Failed examples:
8448 rspec ./qa/specs/features/browser_ui/1_manage/login/login_via_oauth_spec.rb:6 # Manage OAuth login User logs in to GitLab with GitHub OAuth

login_via_oauth_spec.rb_2020-01-13-04-27-41.547login_via_oauth_spec.rb_2020-01-13-04-27-41.547.html

Edited by Rémy Coutable