summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Sumaran <alfredo@gitlab.com>2016-06-16 17:59:20 -0500
committerAlfredo Sumaran <alfredo@gitlab.com>2016-06-16 17:59:20 -0500
commit968b022faf4bf3c7b351e7f36f721cd5a623c7a9 (patch)
tree6875588fcfb2077e36f5b3b8a9e2fb338b0766ea
parent8d08478ee2c8e92a29086ad3f34c2d33fd3b6acb (diff)
downloadgitlab-ce-18714_bulk_assign_labels_icon.tar.gz
Click until item is unmarked18714_bulk_assign_labels_icon
-rw-r--r--spec/features/issues/bulk_assignment_labels_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/issues/bulk_assignment_labels_spec.rb b/spec/features/issues/bulk_assignment_labels_spec.rb
index 309d2435e28..7143d0e40f3 100644
--- a/spec/features/issues/bulk_assignment_labels_spec.rb
+++ b/spec/features/issues/bulk_assignment_labels_spec.rb
@@ -191,7 +191,7 @@ feature 'Issues > Labels bulk assignment', feature: true do
if unmark
items.map do |item|
# 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