Skip to content

Remove QA selector props from audit logs and make them generic

What does this MR do?

This MR tidies up the QA selectors leftover from the migration of audit logs from HAML to a Vue app.

Initially, we kept the existing QA selectors so we could confirm the changes worked as before. Now all the audit logs go through the same code, we can remove the dynamic QA selectors (admin_, group_ and project_) and replace them with hardcoded equivalents.

This reduces the complexity of the Vue app's props and removes unnecessary reactivity.

Screenshots

No visual changes, this is purely a codebase tidy-up

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

The QA tests should pass

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • [-] Label as security and @ mention @gitlab-com/gl-security/appsec
  • [-] The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • [-] Security reports checked/validated by a reviewer from the AppSec team

Related #222268 (closed)

Edited by Robert Hunt

Merge request reports

Loading