Bugzilla – Attachment 126984 Details for
Bug 19185
Web installer and onboarding tool selenium test
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19185: Make sure user is logged in before adding records to the cart
Bug-19185-Make-sure-user-is-logged-in-before-addin.patch (text/plain), 1.26 KB, created by
Jonathan Druart
on 2021-10-27 12:32:37 UTC
(
hide
)
Description:
Bug 19185: Make sure user is logged in before adding records to the cart
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2021-10-27 12:32:37 UTC
Size:
1.26 KB
patch
obsolete
>From d98c018b6a1063f4d027795cafc20422336484eb Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 27 Oct 2021 14:31:12 +0200 >Subject: [PATCH] Bug 19185: Make sure user is logged in before adding records > to the cart > >--- > t/db_dependent/selenium/remove_from_cart.t | 8 ++++++++ > 1 file changed, 8 insertions(+) > >diff --git a/t/db_dependent/selenium/remove_from_cart.t b/t/db_dependent/selenium/remove_from_cart.t >index 02ce186b399..71c8f936769 100755 >--- a/t/db_dependent/selenium/remove_from_cart.t >+++ b/t/db_dependent/selenium/remove_from_cart.t >@@ -71,6 +71,14 @@ subtest 'OPAC - Remove from cart' => sub { > > my $batch_id = $mock_zebra->load_records($file); > >+ my $patron = $builder->build_object( >+ { class => 'Koha::Patrons', value => { flags => 1 } } ); >+ my $password = Koha::AuthUtils::generate_password($patron->category); >+ t::lib::Mocks::mock_preference( 'RequireStrongPassword', 0 ); >+ $patron->set_password({ password => $password }); >+ >+ $s->opac_auth( $patron->userid, $password ); >+ > # We need to prevent scrolling to prevent the floating toolbar from overlapping buttons we are testing > my $window_size = $driver->get_window_size(); > $driver->set_window_size(1920,10800); >-- >2.25.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 19185
:
66508
|
68830
|
75088
|
75089
|
75090
|
81913
|
81914
|
81915
|
103406
|
103407
|
103408
|
103416
|
105796
|
105797
|
105798
|
105799
|
120273
|
126646
|
126647
|
126648
|
126649
|
126650
|
126651
|
126652
|
126819
|
126901
|
126918
| 126984