Related #1768 (closed) Add e2e tests for file/content view.
Migrated from D1645 (view on Phabricator)