Bugzilla – Attachment 99251 Details for
Bug 24669
Editing circulation rule breaks holds when total holds unlimited
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24669: Fix selenium test
Bug-24669-Fix-selenium-test.patch (text/plain), 1.22 KB, created by
Jonathan Druart
on 2020-02-19 14:02:50 UTC
(
hide
)
Description:
Bug 24669: Fix selenium test
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2020-02-19 14:02:50 UTC
Size:
1.22 KB
patch
obsolete
>From d7f5a41056fbc0dc95f189b7f27b459a2dde7cf6 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 19 Feb 2020 15:02:11 +0100 >Subject: [PATCH] Bug 24669: Fix selenium test > >There is one more "Unlimited" on the circ rules now. >--- > t/db_dependent/selenium/administration_tasks.t | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/t/db_dependent/selenium/administration_tasks.t b/t/db_dependent/selenium/administration_tasks.t >index bb887d55ea..241f1393b9 100644 >--- a/t/db_dependent/selenium/administration_tasks.t >+++ b/t/db_dependent/selenium/administration_tasks.t >@@ -82,7 +82,7 @@ SKIP: { > $elt = $driver->find_element('//tr[@id="edit_row"]/td[@class="actions"]/button[@type="submit"]'); > $elt->click(); > $elt = $driver->find_elements('//table[@id="default-circulation-rules"]/tbody/tr/td[contains(text(),"'.$itype->description.'")]/following-sibling::td/span[text() = "Unlimited"]'); >- is( @$elt, 4, "We have unlimited checkouts and holds" ); >+ is( @$elt, 5, "We have unlimited checkouts and holds" ); > #Clean up > Koha::CirculationRules->search( { itemtype => $itype->itemtype } )->delete; > $itype->delete; >-- >2.11.0
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 24669
:
99079
|
99080
|
99171
|
99172
|
99216
|
99217
| 99251