Bugzilla – Attachment 149392 Details for
Bug 29311
Do not allow editing of bibliographic information when entering suggestion from existing bibs
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 29311: (follow-up) Fix t/db_dependent/selenium/regressions.t
Bug-29311-follow-up-Fix-tdbdependentseleniumregres.patch (text/plain), 1.21 KB, created by
Katrin Fischer
on 2023-04-10 16:14:34 UTC
(
hide
)
Description:
Bug 29311: (follow-up) Fix t/db_dependent/selenium/regressions.t
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2023-04-10 16:14:34 UTC
Size:
1.21 KB
patch
obsolete
>From 2556a93ac8aa5b85c96a1a6fa63dee3cc3c4568a Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <katrin.fischer.83@web.de> >Date: Mon, 10 Apr 2023 16:13:04 +0000 >Subject: [PATCH] Bug 29311: (follow-up) Fix > t/db_dependent/selenium/regressions.t > >The test was checking for the value of an input field. >But with this patch set, there is no longer an input, but >a link element with the title. This adjusts the patch to look >for the correct element. >--- > t/db_dependent/selenium/regressions.t | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/t/db_dependent/selenium/regressions.t b/t/db_dependent/selenium/regressions.t >index 8b3e34646b..66d169c1eb 100755 >--- a/t/db_dependent/selenium/regressions.t >+++ b/t/db_dependent/selenium/regressions.t >@@ -355,7 +355,7 @@ subtest 'OPAC - Suggest for purchase' => sub { > $driver->get( $opac_base_url . "opac-detail.pl?biblionumber=$biblionumber" ); > > $s->click({ href => '/opac-suggestions.pl?op=add&biblionumber=' . $biblionumber }); >- is( $driver->find_element('//input[@id="title"]')->get_value(), >+ is( $driver->find_element('//a[@id="title"]')->get_text(), > $biblio->title, > "Suggestion's title correctly filled in with biblio's title" ); > >-- >2.30.2
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 29311
:
133120
|
134531
|
146849
|
148776
|
148922
|
148923
|
148924
|
149391
| 149392