Commit 08f1ce90 authored by Clement Ho's avatar Clement Ho

Fix diff notes spec

parent c5f91476
......@@ -69,9 +69,10 @@ export default () => {
gl.diffNotesCompileComponents();
if (!hasVueMRDiscussionsCookie()) {
const resolveCountAppEl = document.querySelector('#resolve-count-app');
if (!hasVueMRDiscussionsCookie() && resolveCountAppEl) {
new Vue({
el: '#resolve-count-app',
el: resolveCountAppEl,
components: {
'resolve-count': ResolveCount
},
......
......@@ -639,6 +639,10 @@ ul.notes {
margin-left: -55px;
position: absolute;
z-index: 10;
.new & {
margin-top: -10px;
}
}
.discussion-body,
......
......@@ -10,6 +10,8 @@ feature 'Multi-file editor new directory', :js do
visit project_tree_path(project, :master)
live_debug
wait_for_requests
click_link('Web IDE')
......
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