Bugzilla – Attachment 183790 Details for
Bug 40129
Always show the "Not finding what you're looking for" links in opac-results.tt
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 40129: Fix selenium tests
Bug-40129-Fix-selenium-tests.patch (text/plain), 1.81 KB, created by
Jonathan Druart
on 2025-07-04 10:52:13 UTC
(
hide
)
Description:
Bug 40129: Fix selenium tests
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2025-07-04 10:52:13 UTC
Size:
1.81 KB
patch
obsolete
>From 3ad17448aea3ff77ed454a013de615227c558ea0 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Fri, 4 Jul 2025 12:51:41 +0200 >Subject: [PATCH] Bug 40129: Fix selenium tests > >--- > t/db_dependent/selenium/opac_ill_requests.t | 9 +++++---- > 1 file changed, 5 insertions(+), 4 deletions(-) > >diff --git a/t/db_dependent/selenium/opac_ill_requests.t b/t/db_dependent/selenium/opac_ill_requests.t >index 5f022dbe9bd..20f1d49b3d3 100755 >--- a/t/db_dependent/selenium/opac_ill_requests.t >+++ b/t/db_dependent/selenium/opac_ill_requests.t >@@ -53,14 +53,15 @@ SKIP: { > 'Correctly in search results page' > ); > >+ # Get the second li, the first one is "Make a purchase suggestion" > is( >- $driver->find_element('//div[@class="suggestion"]/ul/li')->get_text, >+ $driver->find_element('//div[@class="suggestion"]/ul/li[2]')->get_text, > 'Make an interlibrary loan request', > 'Placing an ILL request through the OPAC is allowed', > ); > > # Clicking on the search results page link works >- $driver->find_element('//div[@class="suggestion"]/ul/li/a')->click; >+ $driver->find_element('//div[@class="suggestion"]/ul/li[2]/a')->click; > is( > $driver->find_element('(//nav[@id="breadcrumbs"]/ol/li)[last()]')->get_text, > 'New interlibrary loan request', >@@ -94,8 +95,8 @@ SKIP: { > > is( > scalar @{$link_exists}, >- 0, >- 'Search page - Place ILL request link should be absent. ' >+ 2, >+ 'Search page - Place ILL request link should be present. ' > ); > > # Visiting the create request page directly does not work >-- >2.34.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 40129
:
183191
|
183446
| 183790