Commit 3ca67328 authored by Sanad Liaquat's avatar Sanad Liaquat

Use prefer_exact match type

parent 35660a22
......@@ -3,7 +3,7 @@ module QA
module Component
module Select2
def select_item(item_text)
find('.select2-result-label', text: item_text).click
find('.select2-result-label', text: item_text, match: :prefer_exact).click
end
def clear_current_selection_if_present
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment