Skip to content

Blob refactor: Update/fix blob refactor specs

Jacques Erasmus requested to merge blob-refactor-specs into master

What does this MR do and why?

Up until now we've globally disabled the :refactor_blob_viewer feature flag in the ruby specs so that we could refactor the blob viewer frontend without the majority of our specs failing.

As we're getting ready to rollout the blob refactor we need to ensure that all specs pass with the :refactor_blob_viewer enabled. This MR enables the feature flag on the majority of the specs and fixes the breaking specs accordingly.

Screenshots or screen recordings

Screenshot_2022-01-17_at_14.50.42

How to set up and validate locally

To test the frontend, you need to enable the :refactor_blob_viewer feature flag.

  1. Enable the Blob Viewer Refactor feature flag
Feature.enable(:refactor_blob_viewer)
  1. Open a source file

MR acceptance checklist

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

Edited by Jacques Erasmus

Merge request reports

Loading