From dd7a67d0e26850ad050bf01f57e0f5be70bf3c59 Mon Sep 17 00:00:00 2001 From: Alan Guo Xiang Tan Date: Thu, 2 Oct 2025 23:31:32 +0800 Subject: [PATCH] DEV: Connecting to external URLs causes tests to hang (#96) Using an external URL was causing the browser to actually attempt to connect to it. Sometimes, a response from the external URL will take more than 30 seconds to return a response causing the page to never fire the load event before playwright's timeout is reached. --- spec/system/image_signatures_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/system/image_signatures_spec.rb b/spec/system/image_signatures_spec.rb index 0c6500d..55147f2 100644 --- a/spec/system/image_signatures_spec.rb +++ b/spec/system/image_signatures_spec.rb @@ -4,7 +4,7 @@ RSpec.describe "Image signatures", type: :system do fab!(:user) fab!(:topic) { Fabricate(:topic, category: Fabricate(:category)) } fab!(:post) { Fabricate(:post, topic:) } - let(:signature_image_url) { "https://example.com/signature.png" } + let(:signature_image_url) { "data:abcdef," } context "when signatures plugin is enabled" do before do