Click until item is unmarked

This commit is contained in:
Alfredo Sumaran 2016-06-16 17:59:20 -05:00
parent 8d08478ee2
commit 968b022faf

View file

@ -191,7 +191,7 @@ feature 'Issues > Labels bulk assignment', feature: true do
if unmark if unmark
items.map do |item| items.map do |item|
# Make sure we are unmarking the item no matter the state it has currently # Make sure we are unmarking the item no matter the state it has currently
click_link item while find('a', text: item)[:class] == 'label-item' click_link item until find('a', text: item)[:class] == 'label-item'
end end
end end
end end