Bugzilla – Attachment 168637 Details for
Bug 37283
t/db_dependent/selenium/authentication.t is failing
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 37283: Update expected error page title
Bug-37283-Update-expected-error-page-title.patch (text/plain), 1.56 KB, created by
Pedro Amorim
on 2024-07-09 09:49:53 UTC
(
hide
)
Description:
Bug 37283: Update expected error page title
Filename:
MIME Type:
Creator:
Pedro Amorim
Created:
2024-07-09 09:49:53 UTC
Size:
1.56 KB
patch
obsolete
>From a0ed03562110a482763afa09bba1192d4eedeaf5 Mon Sep 17 00:00:00 2001 >From: Pedro Amorim <pedro.amorim@ptfs-europe.com> >Date: Tue, 9 Jul 2024 09:48:09 +0000 >Subject: [PATCH] Bug 37283: Update expected error page title > >I dont know how this was working before, but if we do: >cat -n /usr/share/perl5/HTTP/Response.pm | grep Error > >We notice that error_as_HTML returns 'An Error Occurred' for page title and that is what we should be expecting? >--- > t/db_dependent/selenium/authentication.t | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/t/db_dependent/selenium/authentication.t b/t/db_dependent/selenium/authentication.t >index 77f96e3b73..b046ff9eb9 100755 >--- a/t/db_dependent/selenium/authentication.t >+++ b/t/db_dependent/selenium/authentication.t >@@ -132,7 +132,7 @@ SKIP: { > # Check with a script that is using check_cookie_auth, session must not be deleted! > $driver->get( $s->base_url . q|svc/checkouts| ); > #FIXME - 500 is the current behaviour, but it's not nice. It could be improved. >- like( $driver->get_title, qr(Error 500), 'Patron cannot access svc script where circulate permissions are required'); >+ like( $driver->get_title, qr(An Error Occurred), 'Patron cannot access svc script where circulate permissions are required'); > $driver->get( $s->base_url . q|catalogue/search.pl| ); > like( $driver->get_title, qr(Advanced search), 'Patron can reuse the cookie after a script that used check_cookie_auth' ); > $cookie = $driver->get_cookie_named('CGISESSID'); >-- >2.39.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 37283
:
168637
|
168639
|
168645