Bugzilla – Attachment 144338 Details for
Bug 32376
selenium/authentication_2fa.t produces artefact
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32376: Remove creation of selenium_failure_2.png
Bug-32376-Remove-creation-of-seleniumfailure2png.patch (text/plain), 1.17 KB, created by
Jonathan Druart
on 2022-11-30 07:33:46 UTC
(
hide
)
Description:
Bug 32376: Remove creation of selenium_failure_2.png
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2022-11-30 07:33:46 UTC
Size:
1.17 KB
patch
obsolete
>From a9d9790b1a9ae0adcb346c5cc61ccec39bad4c74 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 30 Nov 2022 08:32:20 +0100 >Subject: [PATCH] Bug 32376: Remove creation of selenium_failure_2.png > >This was for debugging purpose. > >Test plan: >Run the tests and confirm that the screenshot is not generated when the >patch is applied >--- > t/db_dependent/selenium/authentication_2fa.t | 1 - > 1 file changed, 1 deletion(-) > >diff --git a/t/db_dependent/selenium/authentication_2fa.t b/t/db_dependent/selenium/authentication_2fa.t >index 8c9979be5d4..053b47343d3 100755 >--- a/t/db_dependent/selenium/authentication_2fa.t >+++ b/t/db_dependent/selenium/authentication_2fa.t >@@ -94,7 +94,6 @@ SKIP: { > $driver->find_element('//*[@id="register-2FA"]')->click; > # Wait for the response then go to the page, don't wait for the redirect > $s->wait_for_ajax; >- $driver->capture_screenshot('selenium_failure_2.png'); > $driver->get($s->base_url . q|members/two_factor_auth.pl|); > is( > $driver->find_element( '//div[@id="registration-status-disabled"]/div[@class="two-factor-status"]' )->get_text, >-- >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 32376
:
144338
|
144417
|
145516