Bug 24801: (follow-up) Display all the libraries - Selenium fix
We have it failing now for the delete link.. 14:26:50 selenium_1 | 05:26:50.451 WARN - Exception: Unable to locate element: {"method":"xpath","selector":"//*[@id=\"delete_library_UT_BC\"]"} Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
2633796e1f
commit
bad8c7089a
1 changed files with 3 additions and 0 deletions
|
@ -136,6 +136,9 @@ SKIP: {
|
|||
); # Edit
|
||||
$s->fill_form( { branchname => 'another branchname' } );
|
||||
$s->submit_form;
|
||||
|
||||
# Select "Show all" in the datatable "Show x entries" dropdown list to make sure our library is not hidden
|
||||
$driver->find_element('//select[@name="libraries_length"]/option[@value="-1"]')->click;
|
||||
$s->click(
|
||||
{
|
||||
id => 'delete_library_'.$branchcode,
|
||||
|
|
Loading…
Reference in a new issue