Bugzilla – Attachment 148601 Details for
Bug 23102
404 errors on page causes SCI user to be logged out
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23102: Fix tests
Bug-23102-Fix-tests.patch (text/plain), 1.22 KB, created by
Jonathan Druart
on 2023-03-23 10:42:35 UTC
(
hide
)
Description:
Bug 23102: Fix tests
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2023-03-23 10:42:35 UTC
Size:
1.22 KB
patch
obsolete
>From bff4d2d64f58e3405d88f455587ff5c42d7f0c40 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 23 Mar 2023 11:39:23 +0100 >Subject: [PATCH] Bug 23102: Fix tests > > # Failed test 'No tests run for subtest "SCI can load error pages"' > # at t/db_dependent/selenium/regressions.t line 86. > Too many forms are displayed. Cannot submit. at /kohadevbox/koha/t/lib/Selenium.pm line 140. >--- > t/db_dependent/selenium/regressions.t | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > >diff --git a/t/db_dependent/selenium/regressions.t b/t/db_dependent/selenium/regressions.t >index 7e12ea81c2c..2b18ec8fa79 100755 >--- a/t/db_dependent/selenium/regressions.t >+++ b/t/db_dependent/selenium/regressions.t >@@ -76,8 +76,7 @@ subtest 'SCI can load error pages' => sub { > my $sci_module = $s->opac_base_url . qq|sci/sci-main.pl|; > $driver->get($sci_module); > $s->fill_form( { userid => $patron->userid, password => $password } ); >- $s->submit_form(); >- $driver->get($sci_module); >+ $s->driver->find_element('//form[@id="auth"]//input[@type="submit"]')->click; > like( $driver->get_title(), qr(Self check-in), ); > > C4::Context->set_preference('SelfCheckInUserJS',$sci_js); >-- >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 23102
:
90528
|
97581
|
98977
|
98978
|
148423
|
148424
|
148425
|
148426
|
148601
|
148767
|
148768
|
154691
|
154692
|
163358
|
163359
|
164591
|
164592
|
164593
|
164819