Failure in qa/specs/features/browser_ui/3_create/snippet/create_snippet_spec.rb

Found in an unrelated MR: !17669 (merged)

https://gitlab.com/gitlab-org/gitlab-qa/-/jobs/307311999

1) Create Snippet creation User creates a snippet
     Failure/Error: Page::Main::Menu.perform(&:click_snippets_link)
     
     Capybara::ElementNotFound:
       Unable to find visible css "[data-qa-selector=\"snippets_link\"],.qa-snippets-link"
     # /usr/local/bundle/gems/capybara-2.16.1/lib/capybara/node/finders.rb:314:in `block in synced_resolve'
     # /usr/local/bundle/gems/capybara-2.16.1/lib/capybara/node/base.rb:85:in `synchronize'
     # /usr/local/bundle/gems/capybara-2.16.1/lib/capybara/node/finders.rb:302:in `synced_resolve'
     # /usr/local/bundle/gems/capybara-2.16.1/lib/capybara/node/finders.rb:37:in `find'
     # /usr/local/bundle/gems/capybara-2.16.1/lib/capybara/session.rb:810:in `block (2 levels) in <class:Session>'
     # /usr/local/bundle/gems/capybara-2.16.1/lib/capybara/dsl.rb:50:in `block (2 levels) in <module:DSL>'
     # ./qa/page/base.rb:77:in `find_element'
     # ./qa/support/page/logging.rb:45:in `find_element'
     # ./qa/page/base.rb:98:in `click_element'
     # ./qa/support/page/logging.rb:69:in `click_element'
     # ./qa/page/main/menu.rb:84:in `click_snippets_link'
     # ./qa/scenario/actable.rb:16:in `perform'
     # ./qa/specs/features/browser_ui/3_create/snippet/create_snippet_spec.rb:10:in `block (3 levels) in <module:QA>'

Screenshot shows that the Snippet link in the navbar isn't visible. It was moved behind the More menu in !17529 (merged)

snippets

This is likely to fail in the nightly tests and in staging/canary (if !17529 (merged) gets to those environments before I get a fix merged)

Assignee Loading
Time tracking Loading