Bug 19185: Fix language selection
'en' is in an optgroup Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
cfccfcab02
commit
f02a58da9e
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ sub fill_form {
|
||||||
if ( $tag eq 'input' ) {
|
if ( $tag eq 'input' ) {
|
||||||
$self->driver->find_element('//input[@id="'.$id.'"]')->send_keys($value);
|
$self->driver->find_element('//input[@id="'.$id.'"]')->send_keys($value);
|
||||||
} elsif ( $tag eq 'select' ) {
|
} elsif ( $tag eq 'select' ) {
|
||||||
$self->driver->find_element('//select[@id="'.$id.'"]/option[@value="'.$value.'"]')->click;
|
$self->driver->find_element('//select[@id="'.$id.'"]//option[@value="'.$value.'"]')->click;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue