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.
This commit is contained in:
Alan Guo Xiang Tan
2025-10-02 23:31:32 +08:00
committed by GitHub
parent 8a2e7fbbdf
commit dd7a67d0e2
+1 -1
View File
@@ -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