Bugzilla – Attachment 102530 Details for
Bug 24801
selenium/administration_tasks.t failing if too many categories/libraries displayed
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24801: (follow-up) Display all the libraries - Selenium fix
Bug-24801-follow-up-Display-all-the-libraries---Se.patch (text/plain), 1.22 KB, created by
Jonathan Druart
on 2020-04-08 06:48:30 UTC
(
hide
)
Description:
Bug 24801: (follow-up) Display all the libraries - Selenium fix
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2020-04-08 06:48:30 UTC
Size:
1.22 KB
patch
obsolete
>From a9d60c4e4852523e4e57cbcc5238a27f65e884cd Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 8 Apr 2020 08:47:49 +0200 >Subject: [PATCH] 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\"]"} >--- > t/db_dependent/selenium/administration_tasks.t | 3 +++ > 1 file changed, 3 insertions(+) > >diff --git a/t/db_dependent/selenium/administration_tasks.t b/t/db_dependent/selenium/administration_tasks.t >index b3c3bbf2c3..eb2ce504c9 100644 >--- a/t/db_dependent/selenium/administration_tasks.t >+++ b/t/db_dependent/selenium/administration_tasks.t >@@ -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, >-- >2.20.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 24801
:
100136
|
100137
|
101787
|
101796
| 102530