From aa6d1ca0c7959298e9c12f7255148d245aae1937 Mon Sep 17 00:00:00 2001 From: Jonathan Druart 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 Signed-off-by: David Nind Signed-off-by: Kyle M Hall Signed-off-by: Tomas Cohen Arazi --- 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 8c9979be5d..053b47343d 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.39.5