Skip to content

Add admin mode shared examples to users spec

What does this MR do and why?

In this MR I am adding the admin mode shared examples to the users specs.

The first commit primarily includes refactoring and clean-up changes, while the second commit adds a shared example. Additionally, the second commit also includes a few clean-up changes that were missed in the first commit.

spec/support/shared_examples/requests/admin_mode_shared_examples.rb

issue for context

Read this to understand how the shared examples work and where I think it should be added in tests.

🛠 with at Siemens

How to set up and validate locally

  • Run the test individually
  • Run pipeline

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports

Loading