From 968b022faf4bf3c7b351e7f36f721cd5a623c7a9 Mon Sep 17 00:00:00 2001 From: Alfredo Sumaran Date: Thu, 16 Jun 2016 17:59:20 -0500 Subject: Click until item is unmarked --- spec/features/issues/bulk_assignment_labels_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec/features/issues/bulk_assignment_labels_spec.rb') 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 -- cgit v1.2.3