Bugzilla – Attachment 76414 Details for
Bug 20921
Expose borrowernumber and branch when user is logged in to OPAC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20921: Fix opac_auth for selenium
Bug-20921-Fix-opacauth-for-selenium.patch (text/plain), 1010 bytes, created by
Jonathan Druart
on 2018-06-25 19:57:16 UTC
(
hide
)
Description:
Bug 20921: Fix opac_auth for selenium
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2018-06-25 19:57:16 UTC
Size:
1010 bytes
patch
obsolete
>From 0fc8dbdfecca5ad8e275d22777c1899b6b7295ae Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 25 Jun 2018 16:48:21 -0300 >Subject: [PATCH] Bug 20921: Fix opac_auth for selenium > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > t/lib/Selenium.pm | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) > >diff --git a/t/lib/Selenium.pm b/t/lib/Selenium.pm >index 645cd8dd35..26c9a27a17 100644 >--- a/t/lib/Selenium.pm >+++ b/t/lib/Selenium.pm >@@ -79,12 +79,11 @@ sub opac_auth { > > $login ||= $self->login; > $password ||= $self->password; >- my $mainpage = $self->base_url . 'opac-main.pl'; >+ my $mainpage = $self->opac_base_url . 'opac-main.pl'; > > $self->driver->get($mainpage); > $self->fill_form( { userid => $login, password => $password } ); >- my $login_button = $self->driver->find_element('//input[@id="submit"]'); >- $login_button->submit(); >+ $self->submit_form; > } > > sub fill_form { >-- >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 20921
:
76005
|
76200
|
76310
|
76413
| 76414 |
76415