Bugzilla – Attachment 182173 Details for
Bug 39237
HTML title in head tag doesn't correspond to page title of the "Your summary" page in OPAC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 39237: (follow-up) Fix selenium tests
Bug-39237-follow-up-Fix-selenium-tests.patch (text/plain), 2.46 KB, created by
Martin Renvoize (ashimema)
on 2025-05-09 13:25:40 UTC
(
hide
)
Description:
Bug 39237: (follow-up) Fix selenium tests
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2025-05-09 13:25:40 UTC
Size:
2.46 KB
patch
obsolete
>From 312c5f1b92b9e77a9850e66c1c70d6aa6d3a12b6 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@openfifth.co.uk> >Date: Fri, 9 May 2025 14:24:54 +0100 >Subject: [PATCH] Bug 39237: (follow-up) Fix selenium tests > >We change the page title in the templates, but didn't update the >corrseponding selenium test > >Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk> >--- > t/db_dependent/selenium/authentication.t | 10 +++++----- > 1 file changed, 5 insertions(+), 5 deletions(-) > >diff --git a/t/db_dependent/selenium/authentication.t b/t/db_dependent/selenium/authentication.t >index 96315668fd9..2d613ed6c2e 100755 >--- a/t/db_dependent/selenium/authentication.t >+++ b/t/db_dependent/selenium/authentication.t >@@ -205,7 +205,7 @@ SKIP: { > ); > $driver->find_element('//div[@id="userdetails"]'); > like( >- $driver->get_title, qr(Your library home), >+ $driver->get_title, qr(Your summary), > 'Patron without permissions should be able to login to the OPAC using the modal' > ); > >@@ -257,7 +257,7 @@ SKIP: { > $s->submit_form; > $driver->find_element('//div[@id="userdetails"]'); > like( >- $driver->get_title, qr(Your library home), >+ $driver->get_title, qr(Your summary), > 'Patron without permissions should be able to login to the OPAC using the form on the right' > ); > >@@ -270,7 +270,7 @@ SKIP: { > $s->submit_form; > $driver->find_element('//div[@id="userdetails"]'); > like( >- $driver->get_title, qr(Your library home), >+ $driver->get_title, qr(Your summary), > 'Patron with catalogue permission should be able to login to the OPAC' > ); > >@@ -283,7 +283,7 @@ SKIP: { > $s->submit_form; > $driver->find_element('//div[@id="userdetails"]'); > like( >- $driver->get_title, qr(Your library home), >+ $driver->get_title, qr(Your summary), > 'Patron with superlibrarian permission should be able to login to the OPAC' > ); > >@@ -311,7 +311,7 @@ SKIP: { > $s->submit_form; > > # After logged in, the same cookie is reused >- like( $driver->get_title, qr(Your library home) ); >+ like( $driver->get_title, qr(Your summary) ); > $cookie = $driver->get_cookie_named('CGISESSID'); > is( $cookie->{value}, $first_sessionID, ); > $driver->get( $s->opac_base_url . q|opac-search.pl| ); >-- >2.49.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 39237
:
178918
|
179363
|
182173
|
182174