Decouple QA framework unit tests from main spec_helper
What does this MR do and why?
Describe in detail what your merge request does and why.
Current implementation of QA framework unit tests loads the main e2e test spec_helper which means it will perform all the e2e test specific configurations and execute all global hooks specific only to e2e specs. It also makes running unit tests dependent on everything that is required for e2e specs.
This mr fixes that by decoupling unit tests of the framework itself by loading separate spec_helper with plain class loader.
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
From qa folder run following:
$ bundle exec rspec -O .rspec_internal
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Closes: #357816 (closed) Closes: #358617 (closed)