Need even more grace to ensure success

This commit is contained in:
David Heinemeier Hansson
2025-11-02 13:56:31 +01:00
parent 7052d6ecec
commit b1c8dc1e64
+2 -2
View File
@@ -61,8 +61,8 @@ class SmokeTest < ApplicationSystemTestCase
def assert_image_figure_attachment(content_type: "image/png", caption:)
assert_figure_attachment(content_type: content_type) do
assert_selector "img[src*='/rails/active_storage']", wait: 5
assert_selector "figcaption input[placeholder='#{caption}']", wait: 5
assert_selector "img[src*='/rails/active_storage']", wait: 10
assert_selector "figcaption input[placeholder='#{caption}']", wait: 10
end
end
end