Skip to content

Commit dd9de35

Browse files
TEST: Search for a pattern in topics, attributes and attribute values Hypertopic#562
Co-authored-by: Thomond5 <[email protected]>
1 parent b4a21ab commit dd9de35

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

features/step_definitions/event.rb

+5
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,11 @@
5151
click_link(attribute, href: nil)
5252
end
5353

54+
Quand("l'utilisateur recherche {string}") do |pattern|
55+
search_bar = find('input[type="search"]')
56+
search_bar.set("#{pattern}\n")
57+
end
58+
5459
Quand("l'utilisateur choisit l'item {string} dans le bloc Items ayant le même nom") do |item|
5560
within '.Item' do
5661
click_on item

0 commit comments

Comments
 (0)