Failure in qa/specs/features/ee/browser_ui/1_manage/instance/instance_audit_logs_spec.rb - 500 Error
Summary
Seen on staging - https://ops.gitlab.net/gitlab-org/quality/staging/-/jobs/1279608
The same sort of failure has been happening for months:
We should identify the cause of the 500 error rather than just workaround it by changing the test again.
Stack trace
Failures:
1) Manage Instance Start and stop user impersonation behaves like audit event logs audit events for UI operations
Failure/Error: index.click_user(user.username)
Capybara::ElementNotFound:
Unable to find css "[data-qa-selector=\"user_row_content\"],.qa-user-row-content"
Shared Example Group: "audit event" called from ./qa/specs/features/ee/browser_ui/1_manage/instance/instance_audit_logs_spec.rb:114
# /usr/local/bundle/gems/capybara-3.29.0/lib/capybara/node/finders.rb:296: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'
# /usr/local/bundle/gems/capybara-3.29.0/lib/capybara/session.rb:749:in `block (2 levels) in <class:Session>'
# /usr/local/bundle/gems/capybara-3.29.0/lib/capybara/session.rb:340:in `within'
Screenshot / HTML page
Possible fixes
Edited by Mark Lapierre