Bugzilla – Attachment 188039 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 - info => success class
Bug-30724-Fix-selenium-tests---info--success-class.patch (text/plain), 2.59 KB, created by
Nick Clemens (kidclamp)
on 2025-10-16 19:46:10 UTC
(
hide
)
Description:
Bug 30724: Fix selenium tests - info => success class
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2025-10-16 19:46:10 UTC
Size:
2.59 KB
patch
obsolete
>From eecdab01f7cdb33670a5aef8d5fa6f241989c1a9 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 16 Oct 2025 10:31:46 +0200 >Subject: [PATCH] Bug 30724: Fix selenium tests - info => success class > >I don't think this is correct. We only want success after we enabled 2FA > >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> >--- > t/db_dependent/selenium/authentication_2fa.t | 12 ++++++++---- > 1 file changed, 8 insertions(+), 4 deletions(-) > >diff --git a/t/db_dependent/selenium/authentication_2fa.t b/t/db_dependent/selenium/authentication_2fa.t >index c250a25717f..90be296070b 100755 >--- a/t/db_dependent/selenium/authentication_2fa.t >+++ b/t/db_dependent/selenium/authentication_2fa.t >@@ -81,7 +81,8 @@ SKIP: { > > is( > $driver->find_element( >- '//div[@id="registration-status-enabled"]/div[@class="alert alert-info two-factor-status"]')->get_text, >+ '//div[@id="registration-status-enabled"]/div[@class="alert alert-success two-factor-status"]') >+ ->get_text, > '', # 'Two-factor authentication: Enabled' is not shown > '2FA is disabled' > ); >@@ -116,7 +117,8 @@ SKIP: { > > is( > $driver->find_element( >- '//div[@id="registration-status-enabled"]/div[@class="alert alert-info two-factor-status"]')->get_text, >+ '//div[@id="registration-status-enabled"]/div[@class="alert alert-success two-factor-status"]') >+ ->get_text, > "Two-factor authentication: Enabled\nYour account is protected with two-factor authentication.", > '2FA is enabled' > ); >@@ -329,7 +331,8 @@ SKIP: { > > is( > $driver->find_element( >- '//div[@id="registration-status-enabled"]/div[@class="alert alert-info two-factor-status"]')->get_text, >+ '//div[@id="registration-status-enabled"]/div[@class="alert alert-success two-factor-status"]') >+ ->get_text, > "Two-factor authentication: Enabled\nYour account is protected with two-factor authentication.", > '2FA is enabled' > ); >@@ -345,7 +348,8 @@ SKIP: { > > is( > $driver->find_element( >- '//div[@id="registration-status-enabled"]/div[@class="alert alert-info two-factor-status"]')->get_text, >+ '//div[@id="registration-status-enabled"]/div[@class="alert alert-success two-factor-status"]') >+ ->get_text, > '', # '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