Skip to content
Snippets Groups Projects
Commit 676b89f5 authored by asoborov's avatar asoborov
Browse files

Removed string literal from labels block selector

parent 966f1529
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -98,7 +98,7 @@
= icon('spinner spin', class: 'hidden block-loading', 'aria-hidden': 'true')
- if can_edit_issuable
= link_to _('Edit'), '#', class: 'js-sidebar-dropdown-toggle edit-link float-right'
.value.issuable-show-labels.dont-hide.hide-collapsed{ class: ("has-labels" if selected_labels.any?) }
.value.issuable-show-labels.dont-hide.hide-collapsed.qa-labels-block{ class: ("has-labels" if selected_labels.any?) }
- if selected_labels.any?
- selected_labels.each do |label|
= link_to_label(label, subject: issuable.project, type: issuable.to_ability_name)
Loading
Loading
Loading
Loading
@@ -24,7 +24,7 @@ module QA
end
 
view 'app/views/shared/issuable/_sidebar.html.haml' do
element :labels_block, ".issuable-show-labels"
element :labels_block
end
 
def fast_forward_possible?
Loading
Loading
@@ -69,7 +69,7 @@ module QA
end
 
def has_label?(label)
page.within('.issuable-show-labels') do
page.within(element_selector_css(:labels_block)) do
element = find('span', text: label)
!element.nil?
end
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment