Commit 1ac10e56 authored by Will Meek's avatar Will Meek Committed by Phil Hughes

Remove file content QA selector from blob content

As per refactoring this is now duplicated with the simple viewer
parent 70c4632e
...@@ -54,12 +54,7 @@ export default { ...@@ -54,12 +54,7 @@ export default {
:file-name="fileName" :file-name="fileName"
:editor-options="{ readOnly: true }" :editor-options="{ readOnly: true }"
/> />
<div <div v-else class="file-content code js-syntax-highlight" :class="$options.userColorScheme">
v-else
class="file-content code js-syntax-highlight"
data-qa-selector="file_content"
:class="$options.userColorScheme"
>
<div class="line-numbers"> <div class="line-numbers">
<a <a
v-for="line in lineNumbers" v-for="line in lineNumbers"
......
...@@ -25,10 +25,6 @@ module QA ...@@ -25,10 +25,6 @@ module QA
element :file_title_content element :file_title_content
end end
base.view 'app/assets/javascripts/vue_shared/components/blob_viewers/simple_viewer.vue' do
element :file_content
end
base.view 'app/assets/javascripts/blob/components/blob_content.vue' do base.view 'app/assets/javascripts/blob/components/blob_content.vue' do
element :file_content element :file_content
end end
......
...@@ -4,7 +4,6 @@ exports[`Blob Simple Viewer component rendering matches the snapshot 1`] = ` ...@@ -4,7 +4,6 @@ exports[`Blob Simple Viewer component rendering matches the snapshot 1`] = `
<div> <div>
<div <div
class="file-content code js-syntax-highlight" class="file-content code js-syntax-highlight"
data-qa-selector="file_content"
> >
<div <div
class="line-numbers" class="line-numbers"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment