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

Commit 81f21d1

Browse files
committed
FIX: allows for target topic to be out of viewport
Sometimes the target topic can be out of the viewport and this was causing failing specs.
1 parent 6f3e8e3 commit 81f21d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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-
page.has_css?("#{topic_list_item_assigned(topic)}")
7+
page.has_css?("#{topic_list_item_assigned(topic)}", visible: :all)
88
end
99

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

1414
private

0 commit comments

Comments
 (0)