Skip to content
This repository was archived by the owner on Jul 14, 2025. It is now read-only.

Commit 0fa3dde

Browse files
committed
ensures bulk operation is done
1 parent e38b876 commit 0fa3dde

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

spec/system/bulk_assign_spec.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646

4747
# Click Confirm
4848
topic_list_header.click_bulk_topics_confirm
49+
expect(assign_modal).to be_closed
4950

5051
# Reload and check that topic is now assigned
5152
visit "/latest"
@@ -65,6 +66,7 @@
6566

6667
# Click Confirm
6768
topic_list_header.click_bulk_topics_confirm
69+
expect(assign_modal).to be_closed
6870

6971
# Reload and check that topic is now assigned
7072
visit "/latest"

spec/system/page_objects/components/topic_list.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ module PageObjects
44
module Components
55
class TopicList < PageObjects::Components::Base
66
def has_assigned_status?(topic)
7-
try_until_success { page.has_css?("#{topic_list_item_assigned(topic)}") }
7+
page.has_css?("#{topic_list_item_assigned(topic)}")
88
end
99

1010
def has_unassigned_status?(topic)
11-
try_until_success { page.has_no_css?("#{topic_list_item_assigned(topic)}") }
11+
page.has_no_css?("#{topic_list_item_assigned(topic)}")
1212
end
1313

1414
private

0 commit comments

Comments
 (0)