Commit 9f78c372 authored by Miguel Rincon's avatar Miguel Rincon

Merge branch 'ss/issuable-list-spec-ff' into 'master'

Fix issuable_list_spec by removing FF for vue_issuables_list

See merge request gitlab-org/gitlab!36859
parents c36d3e09 293d7566
......@@ -153,6 +153,7 @@ export default {
value: this.issuable.merge_requests_count,
title: __('Related merge requests'),
dataTestId: 'merge-requests',
class: 'js-merge-requests icon-merge-request-unmerged',
icon: 'merge-request',
},
{
......@@ -161,6 +162,7 @@ export default {
value: this.issuable.upvotes,
title: __('Upvotes'),
dataTestId: 'upvotes',
class: 'js-upvotes issuable-upvotes',
icon: 'thumb-up',
},
{
......@@ -169,6 +171,7 @@ export default {
value: this.issuable.downvotes,
title: __('Downvotes'),
dataTestId: 'downvotes',
class: 'js-downvotes issuable-downvotes',
icon: 'thumb-down',
},
{
......@@ -187,7 +190,7 @@ export default {
title: __('Comments'),
dataTestId: 'notes-count',
href: `${this.issuable.web_url}#notes`,
class: !this.issuable.user_notes_count ? 'no-comments' : '',
class: { 'no-comments': !this.issuable.user_notes_count, 'issuable-comments': true },
icon: 'comments',
},
];
......@@ -274,9 +277,8 @@ export default {
<span
v-if="issuable.has_tasks"
class="gl-ml-2 task-status gl-display-none d-sm-inline-block"
>{{ issuable.task_status }}</span
>
{{ issuable.task_status }}
</span>
</div>
<div class="issuable-info">
......@@ -304,9 +306,8 @@ export default {
v-bind="popoverDataAttrs"
:href="issuableAuthor.web_url"
:target="linkTarget"
>{{ issuableAuthor.name }}</gl-link
>
{{ issuableAuthor.name }}
</gl-link>
</template>
</gl-sprintf>
</span>
......
......@@ -9,8 +9,6 @@ RSpec.describe 'issuable list', :js do
issuable_types = [:issue, :merge_request]
before do
stub_feature_flags(vue_issuables_list: false)
# something is going on
project.add_user(user, :developer)
sign_in(user)
issuable_types.each { |type| create_issuables(type) }
......
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