summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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