Commit 968b022f authored by Alfredo Sumaran's avatar Alfredo Sumaran

Click until item is unmarked

parent 8d08478e
...@@ -191,7 +191,7 @@ feature 'Issues > Labels bulk assignment', feature: true do ...@@ -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
......
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