mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-13 07:49:29 +00:00
Fix flaky end-to-end OCR test (#29244)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user