Fix flaky end-to-end OCR test (#29244)

This commit is contained in:
Claire authored and GitHub committed 2024-02-16 16:57:23 +00:00
1 parent cfadb87077
commit 96ddf1d482
1 file changed
+1 -1
+1 -1
View File
@@ -28,6 +28,6 @@ describe 'OCR', :paperclip_processing, :sidekiq_inline do
click_on('Detect text from picture')
expect(page).to have_css('#upload-modal__description', text: 'Hello Mastodon')
expect(page).to have_css('#upload-modal__description', text: /Hello Mastodon\s*/, wait: 10)
end
end