Bugzilla – Attachment 188038 Details for
Bug 30724
Add ability for administrator to reset a users 2FA
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 30724: Fix selenium tests - wording
Bug-30724-Fix-selenium-tests---wording.patch (text/plain), 3.50 KB, created by
Nick Clemens (kidclamp)
on 2025-10-16 19:46:07 UTC
(
hide
)
Description:
Bug 30724: Fix selenium tests - wording
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2025-10-16 19:46:07 UTC
Size:
3.50 KB
patch
obsolete
>From a21f202b886bd9c1e6b1fabb7ab7c50a0a3776f0 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 16 Oct 2025 10:29:40 +0200 >Subject: [PATCH] Bug 30724: Fix selenium tests - wording > >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> >--- > t/db_dependent/selenium/authentication_2fa.t | 16 ++++++++-------- > 1 file changed, 8 insertions(+), 8 deletions(-) > >diff --git a/t/db_dependent/selenium/authentication_2fa.t b/t/db_dependent/selenium/authentication_2fa.t >index 3c97e4f6edd..c250a25717f 100755 >--- a/t/db_dependent/selenium/authentication_2fa.t >+++ b/t/db_dependent/selenium/authentication_2fa.t >@@ -75,14 +75,14 @@ SKIP: { > is( > $driver->find_element( > '//div[@id="registration-status-disabled"]/div[@class="alert alert-info two-factor-status"]')->get_text, >- 'Status: Disabled', >+ "Two-factor authentication: Disabled\nYour account is not protected with two-factor authentication.", > '2FA is disabled' > ); > > is( > $driver->find_element( > '//div[@id="registration-status-enabled"]/div[@class="alert alert-info two-factor-status"]')->get_text, >- '', # 'Status: Enabled' is not shown >+ '', # 'Two-factor authentication: Enabled' is not shown > '2FA is disabled' > ); > >@@ -110,14 +110,14 @@ SKIP: { > is( > $driver->find_element( > '//div[@id="registration-status-disabled"]/div[@class="alert alert-info two-factor-status"]')->get_text, >- '', # 'Status: Disabled' is not shown >+ '', # 'Two-factor authentication: Disabled' is not shown > '2FA is enabled' > ); > > is( > $driver->find_element( > '//div[@id="registration-status-enabled"]/div[@class="alert alert-info two-factor-status"]')->get_text, >- 'Status: Enabled', >+ "Two-factor authentication: Enabled\nYour account is protected with two-factor authentication.", > '2FA is enabled' > ); > >@@ -323,14 +323,14 @@ SKIP: { > is( > $driver->find_element( > '//div[@id="registration-status-disabled"]/div[@class="alert alert-info two-factor-status"]')->get_text, >- '', # 'Status: Disabled' is not shown >+ '', # 'Two-factor authentication: Disabled' is not shown > '2FA is enabled' > ); > > is( > $driver->find_element( > '//div[@id="registration-status-enabled"]/div[@class="alert alert-info two-factor-status"]')->get_text, >- 'Status: Enabled', >+ "Two-factor authentication: Enabled\nYour account is protected with two-factor authentication.", > '2FA is enabled' > ); > >@@ -339,14 +339,14 @@ SKIP: { > is( > $driver->find_element( > '//div[@id="registration-status-disabled"]/div[@class="alert alert-info two-factor-status"]')->get_text, >- 'Status: Disabled', >+ "Two-factor authentication: Disabled\nYour account is not protected with two-factor authentication.", > '2FA is disabled' > ); > > is( > $driver->find_element( > '//div[@id="registration-status-enabled"]/div[@class="alert alert-info two-factor-status"]')->get_text, >- '', # 'Status: Enabled' is not shown >+ '', # 'Two-factor authentication: Enabled' is not shown > '2FA is disabled' > ); > >-- >2.39.5
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 30724
:
184938
|
184939
|
186235
|
186236
|
186237
|
186251
|
186252
|
186253
|
187962
|
187963
|
187964
|
188037
| 188038 |
188039