Skip to content

Commit

Permalink
TEST: Search for items from a range of attribute values (see #573 ).
Browse files Browse the repository at this point in the history
Co-Authored-By: Florentin Farcy <[email protected]>
  • Loading branch information
ThibH2O and FloFAR committed Jun 9, 2022
1 parent 3f2855f commit 5d8ab3d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions features/step_definitions/event.rb
Original file line number Diff line number Diff line change
Expand Up @@ -123,3 +123,10 @@
end
end

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

0 comments on commit 5d8ab3d

Please sign in to comment.