summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorWalmyr Lima e Silva Filho <walmyr@gitlab.com>2019-09-09 22:06:39 +0000
committerWalmyr Lima e Silva Filho <walmyr@gitlab.com>2019-09-09 22:06:39 +0000
commit8ce331c206dd97bbfc672a554afb8bc0f8039983 (patch)
treef5b13cce17836e1f2fcf90448bf2265142175959 /app
parent71e44e7ce3e2b0359b13d417162cb5a483e27242 (diff)
parent404950f1cd40339ff732a2e8ba007ff52adb5be2 (diff)
downloadgitlab-ce-8ce331c206dd97bbfc672a554afb8bc0f8039983.tar.gz
Merge branch 'qa/e2e-tests-for-issue-weights' into 'master'
Backport of end-to-end test for visualizing issue weight on different pages See merge request gitlab-org/gitlab-ce!32766
Diffstat (limited to 'app')
-rw-r--r--app/views/shared/issuable/_sidebar.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/issuable/_sidebar.html.haml b/app/views/shared/issuable/_sidebar.html.haml
index 837707707a9..3b26b8df8a1 100644
--- a/app/views/shared/issuable/_sidebar.html.haml
+++ b/app/views/shared/issuable/_sidebar.html.haml
@@ -41,7 +41,7 @@
= link_to _('Edit'), '#', class: 'js-sidebar-dropdown-toggle edit-link float-right', data: { track_label: "right_sidebar", track_property: "milestone", track_event: "click_edit_button", track_value: "" }
.value.hide-collapsed
- if milestone.present?
- = link_to milestone[:title], milestone[:web_url], class: "bold has-tooltip", title: sidebar_milestone_remaining_days(milestone), data: { container: "body", html: 'true', boundary: 'viewport' }
+ = link_to milestone[:title], milestone[:web_url], class: "bold has-tooltip", title: sidebar_milestone_remaining_days(milestone), data: { container: "body", html: 'true', boundary: 'viewport', qa_selector: 'milestone_link' }
- else
%span.no-value
= _('None')