Failure in `qa/specs/features/browser_ui/6_release/deploy_key/add_deploy_key_spec.rb` / `Ambiguous match, found 2 elements matching visible css "[data-qa-selector=\"key_fingerprint\"],.qa-key-fingerprint"`
https://gitlab.com/gitlab-org/gitlab-qa/-/jobs/401864980
1) Release Deploy key creation user adds a deploy key
Failure/Error: expect(deploy_key.fingerprint).to eq key.fingerprint
Capybara::Ambiguous:
Ambiguous match, found 2 elements matching visible css "[data-qa-selector=\"key_fingerprint\"],.qa-key-fingerprint" within #<Capybara::Node::Element tag="div" path="/HTML/BODY[1]/DIV[1]/DIV[2]/DIV[3]/DIV[1]/SECTION[4]/DIV[2]/DIV[1]/DIV[2]/DIV[2]/DIV[1]/DIV[2]">
# /usr/local/bundle/gems/capybara-3.29.0/lib/capybara/node/finders.rb:295:in `block in synced_resolve'
# /usr/local/bundle/gems/capybara-3.29.0/lib/capybara/node/base.rb:83:in `synchronize'
# /usr/local/bundle/gems/capybara-3.29.0/lib/capybara/node/finders.rb:287:in `synced_resolve'
# /usr/local/bundle/gems/capybara-3.29.0/lib/capybara/node/finders.rb:52:in `find'
# ./qa/page/project/settings/deploy_keys.rb:39:in `block in find_fingerprint'
# ./qa/page/project/settings/deploy_keys.rb:70:in `block in within_project_deploy_keys'
# ./qa/page/base.rb:234:in `block in within_element'
# /usr/local/bundle/gems/capybara-3.29.0/lib/capybara/session.rb:343:in `within'
# ./qa/page/base.rb:233:in `within_element'
# ./qa/support/page/logging.rb:150:in `within_element'
# ./qa/page/project/settings/deploy_keys.rb:69:in `within_project_deploy_keys'
# ./qa/page/project/settings/deploy_keys.rb:37:in `find_fingerprint'
# ./qa/resource/deploy_key.rb:11:in `block (3 levels) in <class:DeployKey>'
# ./qa/scenario/actable.rb:16:in `perform'
# ./qa/page/project/settings/repository.rb:24:in `block in expand_deploy_keys'
# ./qa/page/settings/common.rb:20:in `block in expand_section'
# ./qa/page/base.rb:234:in `block in within_element'
# /usr/local/bundle/gems/capybara-3.29.0/lib/capybara/session.rb:343:in `within'
# ./qa/page/base.rb:233:in `within_element'
# ./qa/support/page/logging.rb:150:in `within_element'
# ./qa/page/settings/common.rb:11:in `expand_section'
# ./qa/page/project/settings/repository.rb:23:in `expand_deploy_keys'
# ./qa/resource/deploy_key.rb:10:in `block (2 levels) in <class:DeployKey>'
# ./qa/scenario/actable.rb:16:in `perform'
# ./qa/resource/deploy_key.rb:9:in `block in <class:DeployKey>'
# ./qa/resource/base.rb:108:in `instance_exec'
# ./qa/resource/base.rb:108:in `attribute_value'
# ./qa/resource/base.rb:94:in `populate_attribute'
# ./qa/resource/base.rb:161:in `block (2 levels) in attribute'
# ./qa/specs/features/browser_ui/6_release/deploy_key/add_deploy_key_spec.rb:18:in `block (3 levels) in <module:QA>'
Edited by Rémy Coutable