Skip to content

Commit 5d8ab3d

Browse files
ThibH2OFloFAR
andcommitted
TEST: Search for items from a range of attribute values (see #573 ).
Co-Authored-By: Florentin Farcy <[email protected]>
1 parent 3f2855f commit 5d8ab3d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

features/step_definitions/event.rb

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,3 +123,10 @@
123123
end
124124
end
125125

126+
Quand("l'utilisateur sélectionne un intervalle entre {int} et {int} pour l'attribut {string}") do |min, max, attribute|
127+
within '.' + attribute do
128+
find_all('input[type="range"]')[0].set(min)
129+
find_all('input[type="range"]')[1].set(max)
130+
end
131+
end
132+

0 commit comments

Comments
 (0)