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 <florentin.farcy@utt.fr>
  • Loading branch information
ThibH2O and FloFAR committed May 19, 2022
1 parent 20545f5 commit 2ca17ac
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 @@ -96,3 +96,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 2ca17ac

Please sign in to comment.