test(combobox): increase wait time because component may be slow to render
Fix erreur type 'Unable to find css "li[role=\"option\"]' Ce problème peut-être reproduit en local, en diminuant le wait à 0.001 ; avec une plus grande valuer il disparaît.
This commit is contained in:
parent
9ebcbbbd67
commit
1601a18c34
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ module SystemHelpers
|
||||||
|
|
||||||
def select_combobox(libelle, fill_with, value, check: true)
|
def select_combobox(libelle, fill_with, value, check: true)
|
||||||
fill_in libelle, with: fill_with
|
fill_in libelle, with: fill_with
|
||||||
find('li[role="option"]', text: value).click
|
find('li[role="option"]', text: value, wait: 5).click
|
||||||
if check
|
if check
|
||||||
check_selected_value(libelle, with: value)
|
check_selected_value(libelle, with: value)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue