From e51c7a73c00b28d2e5091b021ced867fc5942b3b Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 21 Jul 2020 12:36:17 +0200 Subject: [PATCH] Bug 26033: Use pic.infini.fr instead of framapic https://framapic.org/ is closing """ Framapic will be closing its doors on Tuesday, January 12, 2021. You will find a similar service on this page. Uploading images is now disabled, but you can still retrieve your images on the My images page. """ https://framablog.org/2019/09/26/lets-de-frama-tify-the-internet/ https://framablog.org/2020/03/03/10-bonnes-raisons-de-fermer-certains-services-framasoft-la-5e-est-un-peu-bizarre/ (French) We can still use another service. However we may think about hosting the service ourself! Test plan: Modify a selenium script to make it fail (for instance modify the path for a find_element call) Run it Confirm that the screenshot has been uploaded correctly and that the link works Signed-off-by: Victor Grousset/tuxayo Signed-off-by: Jonathan Druart (cherry picked from commit 8aa907379eb54d360746c3e15051327a1e6cc1fe) Signed-off-by: Lucas Gass --- t/lib/Selenium.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/lib/Selenium.pm b/t/lib/Selenium.pm index 29f7ef4700..95a4ac1475 100644 --- a/t/lib/Selenium.pm +++ b/t/lib/Selenium.pm @@ -28,7 +28,7 @@ __PACKAGE__->mk_accessors(qw(login password base_url opac_base_url selenium_addr sub capture { my ( $class, $driver ) = @_; - my $lutim_server = q|https://framapic.org|; # Thanks Framasoft! + my $lutim_server = q|https://pic.infini.fr/|; # Thanks Infini! $driver->capture_screenshot('selenium_failure.png'); my $from_json = from_json qx{curl -s -F "format=json" -F "file=\@selenium_failure.png" -F "delete-day=1" $lutim_server}; if ( $from_json ) { -- 2.39.5