RSpec shared contexts don't support feature flags
As part of the work in !104888 (comment 1217686383) we observed that the RSpec shared contexts don't support feature flags.
The shared contexts are loaded in spec_helper.rb
before the feature flags are activated, so at the point the shared contexts are loaded the feature flags are all in the state defined by their respective yml files. In the case of a feature flag that is disable by default, the feature flag will always be disabled when the shared contexts are loaded. Changes to the ordering in spec_helper.rb
could be a solution to this issue, but the impact of those changes would need to be tested.
The purpose of this issue is to capture any discussion around those changes and any related follow up work.