Geo: project snippet files not rendering on Geo secondary site

Summary

This fix addressed a previous issue with showing snippet files on Geo secondaries. However the Geo test (qa/specs/features/ee/browser_ui/geo/geo_replication_project_snippets_spec.rb) remained in quarantine until we could confirm that it was passing consistently in the nightly test pipeline.

The snippet show view has changed (for example, there are now options to display source or rendered file), and now when the test is run on staging it fails because the file does not render as expected on the secondary site. If you toggle to the "source" view and then back to the (default) "rendered" view, it still does not look correct. Screenshots are attached.

Steps to reproduce

On a GitLab deployment with Geo, create a project and project snippet and upload a markdown file. Make sure that project is synced to the Geo secondary.

Visit the Geo secondary site and navigate to the project snippet show page.

What is the current bug behavior?

Markdown snippet file is not rendered on the Geo secondary when "rendered" view is selected

What is the expected correct behavior?

The snippet file should be rendered as it is on the Geo primary site

Relevant logs and/or screenshots

On primary:

Screen_Shot_2020-10-28_at_1.03.28_PM

On secondary:

Screen_Shot_2020-10-28_at_1.05.32_PM

On secondary after toggling between 'source' and 'rendered' views:

Screen_Shot_2020-10-28_at_1.06.27_PM

Edited by Jennifer Louie